llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpx3ov68c8.c'
source_filename = "/tmp/tmpx3ov68c8.c"
target datalayout = "e-m:e-p270: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.SetPinDirt.GPIO_addr = private unnamed_addr constant [50 x i8] c"/sys/class/gpio/gpio\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"/direction\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Direction failed to open\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SetPinDirt(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [15 x i8], align 1
%7 = alloca [50 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.SetPinDirt.GPIO_addr, i64 50, i1 false)
%8 = getelementptr inbounds [15 x i8], ptr %6, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9)
%11 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0
%12 = getelementptr inbounds [15 x i8], ptr %6, i64 0, i64 0
%13 = call ptr @strcat(ptr noundef %12, ptr noundef @.str.1)
%14 = call ptr @strcat(ptr noundef %11, ptr noundef %13)
%15 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.2)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %2
%20 = call i32 @printf(ptr noundef @.str.3)
br label %21
21: ; preds = %19, %2
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr @SEEK_SET, align 4
%24 = call i32 @fseek(ptr noundef %22, i32 noundef 0, i32 noundef %23)
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %4, align 8
%27 = call i32 @fprintf(ptr noundef %25, ptr noundef @.str.4, ptr noundef %26)
%28 = load ptr, ptr %5, align 8
%29 = call i32 @fflush(ptr noundef %28)
%30 = load ptr, ptr %5, align 8
%31 = call i32 @fclose(ptr noundef %30)
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 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2
declare ptr @strcat(ptr noundef, ptr noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef) #2
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @fflush(ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx3ov68c8.c"
target datalayout = "e-m:e-p270: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.SetPinDirt.GPIO_addr = private unnamed_addr constant [50 x i8] c"/sys/class/gpio/gpio\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"/direction\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"Direction failed to open\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SetPinDirt(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [15 x i8], align 1
%7 = alloca [50 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.SetPinDirt.GPIO_addr, i64 50, i1 false)
%8 = getelementptr inbounds [15 x i8], ptr %6, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9)
%11 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0
%12 = getelementptr inbounds [15 x i8], ptr %6, i64 0, i64 0
%13 = call ptr @strcat(ptr noundef %12, ptr noundef @.str.1)
%14 = call ptr @strcat(ptr noundef %11, ptr noundef %13)
%15 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.2)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %2
%20 = call i32 @printf(ptr noundef @.str.3)
br label %21
21: ; preds = %19, %2
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr @SEEK_SET, align 4
%24 = call i32 @fseek(ptr noundef %22, i32 noundef 0, i32 noundef %23)
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %4, align 8
%27 = call i32 @fprintf(ptr noundef %25, ptr noundef @.str.4, ptr noundef %26)
%28 = load ptr, ptr %5, align 8
%29 = call i32 @fflush(ptr noundef %28)
%30 = load ptr, ptr %5, align 8
%31 = call i32 @fclose(ptr noundef %30)
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 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2
declare ptr @strcat(ptr noundef, ptr noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef) #2
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @fflush(ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7iq56gny.c'
source_filename = "/tmp/tmp7iq56gny.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"a is %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"after a is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 9, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 4
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
br label %10
9: ; preds = %0
store i32 5, ptr %2, align 4
br label %10
10: ; preds = %9, %6
%11 = load i32, ptr %2, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11)
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/tmp7iq56gny.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"a is %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"after a is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 9, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 4
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
br label %10
9: ; preds = %0
store i32 5, ptr %2, align 4
br label %10
10: ; preds = %9, %6
%11 = load i32, ptr %2, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11)
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/tmprjqmp8eb.c'
source_filename = "/tmp/tmprjqmp8eb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"processor\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_and_return_processor(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strstr(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call ptr @strtok(ptr noundef %9, ptr noundef @.str.1)
%11 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2)
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @atoi(ptr noundef %12)
store i32 %13, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 -1, ptr %2, align 4
br label %15
15: ; preds = %14, %8
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprjqmp8eb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"processor\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_and_return_processor(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strstr(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call ptr @strtok(ptr noundef %9, ptr noundef @.str.1)
%11 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2)
store ptr %11, ptr %4, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @atoi(ptr noundef %12)
store i32 %13, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 -1, ptr %2, align 4
br label %15
15: ; preds = %14, %8
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuelyyj9g.c'
source_filename = "/tmp/tmpuelyyj9g.c"
target datalayout = "e-m:e-p270: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_UNIX = 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/tmpuelyyj9g.c"
target datalayout = "e-m:e-p270: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_UNIX = 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/tmpnwkld87x.c'
source_filename = "/tmp/tmpnwkld87x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @execveat(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i32, ptr %10, align 4
%16 = call i32 @syscall(i32 noundef 322, i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15)
ret i32 %16
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnwkld87x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @execveat(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i32, ptr %10, align 4
%16 = call i32 @syscall(i32 noundef 322, i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15)
ret i32 %16
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpecoxvwck.c'
source_filename = "/tmp/tmpecoxvwck.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @get_max_line()
ret i32 0
}
declare i32 @get_max_line(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpecoxvwck.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @get_max_line()
ret i32 0
}
declare i32 @get_max_line(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppebfzhve.c'
source_filename = "/tmp/tmppebfzhve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Knapsack(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%15 = load i32, ptr %8, align 4
%16 = add nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = mul i64 4, %17
%19 = load i32, ptr %9, align 4
%20 = add nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = mul i64 %18, %21
%23 = trunc i64 %22 to i32
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %11, align 8
store i32 0, ptr %12, align 4
br label %26
26: ; preds = %39, %5
%27 = load i32, ptr %12, align 4
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %30, 1
%32 = mul nsw i32 %29, %31
%33 = icmp slt i32 %27, %32
br i1 %33, label %34, label %42
34: ; preds = %26
%35 = load ptr, ptr %11, align 8
%36 = load i32, ptr %12, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
store i32 0, ptr %38, align 4
br label %39
39: ; preds = %34
%40 = load i32, ptr %12, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %12, align 4
br label %26, !llvm.loop !6
42: ; preds = %26
store i32 1, ptr %12, align 4
br label %43
43: ; preds = %138, %42
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
%47 = icmp slt i32 %44, %46
br i1 %47, label %48, label %141
48: ; preds = %43
store i32 1, ptr %13, align 4
br label %49
49: ; preds = %134, %48
%50 = load i32, ptr %13, align 4
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 1
%53 = icmp slt i32 %50, %52
br i1 %53, label %54, label %137
54: ; preds = %49
%55 = load ptr, ptr %11, align 8
%56 = load i32, ptr %12, align 4
%57 = sub nsw i32 %56, 1
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %58, 1
%60 = mul nsw i32 %57, %59
%61 = load i32, ptr %13, align 4
%62 = add nsw i32 %60, %61
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %55, i64 %63
%65 = load i32, ptr %64, align 4
%66 = load ptr, ptr %11, align 8
%67 = load i32, ptr %12, align 4
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, 1
%70 = mul nsw i32 %67, %69
%71 = load i32, ptr %13, align 4
%72 = add nsw i32 %70, %71
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %66, i64 %73
store i32 %65, ptr %74, align 4
%75 = load i32, ptr %13, align 4
%76 = load ptr, ptr %7, align 8
%77 = load i32, ptr %12, align 4
%78 = sub nsw i32 %77, 1
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %76, i64 %79
%81 = load i32, ptr %80, align 4
%82 = icmp sge i32 %75, %81
br i1 %82, label %83, label %133
83: ; preds = %54
%84 = load ptr, ptr %11, align 8
%85 = load i32, ptr %12, align 4
%86 = sub nsw i32 %85, 1
%87 = load i32, ptr %9, align 4
%88 = add nsw i32 %87, 1
%89 = mul nsw i32 %86, %88
%90 = load i32, ptr %13, align 4
%91 = load ptr, ptr %7, align 8
%92 = load i32, ptr %12, align 4
%93 = sub nsw i32 %92, 1
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %91, i64 %94
%96 = load i32, ptr %95, align 4
%97 = sub nsw i32 %90, %96
%98 = add nsw i32 %89, %97
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %84, i64 %99
%101 = load i32, ptr %100, align 4
%102 = load ptr, ptr %6, align 8
%103 = load i32, ptr %12, align 4
%104 = sub nsw i32 %103, 1
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %102, i64 %105
%107 = load i32, ptr %106, align 4
%108 = add nsw i32 %101, %107
store i32 %108, ptr %14, align 4
%109 = load i32, ptr %14, align 4
%110 = load ptr, ptr %11, align 8
%111 = load i32, ptr %12, align 4
%112 = load i32, ptr %9, align 4
%113 = add nsw i32 %112, 1
%114 = mul nsw i32 %111, %113
%115 = load i32, ptr %13, align 4
%116 = add nsw i32 %114, %115
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i32, ptr %110, i64 %117
%119 = load i32, ptr %118, align 4
%120 = icmp sgt i32 %109, %119
br i1 %120, label %121, label %132
121: ; preds = %83
%122 = load i32, ptr %14, align 4
%123 = load ptr, ptr %11, align 8
%124 = load i32, ptr %12, align 4
%125 = load i32, ptr %9, align 4
%126 = add nsw i32 %125, 1
%127 = mul nsw i32 %124, %126
%128 = load i32, ptr %13, align 4
%129 = add nsw i32 %127, %128
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i32, ptr %123, i64 %130
store i32 %122, ptr %131, align 4
br label %132
132: ; preds = %121, %83
br label %133
133: ; preds = %132, %54
br label %134
134: ; preds = %133
%135 = load i32, ptr %13, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %13, align 4
br label %49, !llvm.loop !8
137: ; preds = %49
br label %138
138: ; preds = %137
%139 = load i32, ptr %12, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %12, align 4
br label %43, !llvm.loop !9
141: ; preds = %43
%142 = load ptr, ptr %11, align 8
%143 = load ptr, ptr %10, align 8
store ptr %142, ptr %143, align 8
%144 = load ptr, ptr %11, align 8
%145 = load i32, ptr %8, align 4
%146 = add nsw i32 %145, 1
%147 = load i32, ptr %9, align 4
%148 = add nsw i32 %147, 1
%149 = mul nsw i32 %146, %148
%150 = sub nsw i32 %149, 1
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i32, ptr %144, i64 %151
%153 = load i32, ptr %152, align 4
ret i32 %153
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppebfzhve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Knapsack(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%15 = load i32, ptr %8, align 4
%16 = add nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = mul i64 4, %17
%19 = load i32, ptr %9, align 4
%20 = add nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = mul i64 %18, %21
%23 = trunc i64 %22 to i32
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %11, align 8
store i32 0, ptr %12, align 4
%26 = load i32, ptr %12, align 4
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, 1
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %29, 1
%31 = mul nsw i32 %28, %30
%32 = icmp slt i32 %26, %31
br i1 %32, label %.lr.ph, label %48
.lr.ph: ; preds = %5
br label %33
33: ; preds = %.lr.ph, %38
%34 = load ptr, ptr %11, align 8
%35 = load i32, ptr %12, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
store i32 0, ptr %37, align 4
br label %38
38: ; preds = %33
%39 = load i32, ptr %12, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %12, align 4
%41 = load i32, ptr %12, align 4
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %44, 1
%46 = mul nsw i32 %43, %45
%47 = icmp slt i32 %41, %46
br i1 %47, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %48
48: ; preds = %._crit_edge, %5
store i32 1, ptr %12, align 4
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
%52 = icmp slt i32 %49, %51
br i1 %52, label %.lr.ph5, label %153
.lr.ph5: ; preds = %48
br label %53
53: ; preds = %.lr.ph5, %146
store i32 1, ptr %13, align 4
%54 = load i32, ptr %13, align 4
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, 1
%57 = icmp slt i32 %54, %56
br i1 %57, label %.lr.ph2, label %145
.lr.ph2: ; preds = %53
br label %58
58: ; preds = %.lr.ph2, %138
%59 = load ptr, ptr %11, align 8
%60 = load i32, ptr %12, align 4
%61 = sub nsw i32 %60, 1
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
%64 = mul nsw i32 %61, %63
%65 = load i32, ptr %13, align 4
%66 = add nsw i32 %64, %65
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %59, i64 %67
%69 = load i32, ptr %68, align 4
%70 = load ptr, ptr %11, align 8
%71 = load i32, ptr %12, align 4
%72 = load i32, ptr %9, align 4
%73 = add nsw i32 %72, 1
%74 = mul nsw i32 %71, %73
%75 = load i32, ptr %13, align 4
%76 = add nsw i32 %74, %75
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %70, i64 %77
store i32 %69, ptr %78, align 4
%79 = load i32, ptr %13, align 4
%80 = load ptr, ptr %7, align 8
%81 = load i32, ptr %12, align 4
%82 = sub nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %80, i64 %83
%85 = load i32, ptr %84, align 4
%86 = icmp sge i32 %79, %85
br i1 %86, label %87, label %137
87: ; preds = %58
%88 = load ptr, ptr %11, align 8
%89 = load i32, ptr %12, align 4
%90 = sub nsw i32 %89, 1
%91 = load i32, ptr %9, align 4
%92 = add nsw i32 %91, 1
%93 = mul nsw i32 %90, %92
%94 = load i32, ptr %13, align 4
%95 = load ptr, ptr %7, align 8
%96 = load i32, ptr %12, align 4
%97 = sub nsw i32 %96, 1
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i32, ptr %95, i64 %98
%100 = load i32, ptr %99, align 4
%101 = sub nsw i32 %94, %100
%102 = add nsw i32 %93, %101
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, ptr %88, i64 %103
%105 = load i32, ptr %104, align 4
%106 = load ptr, ptr %6, align 8
%107 = load i32, ptr %12, align 4
%108 = sub nsw i32 %107, 1
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, ptr %106, i64 %109
%111 = load i32, ptr %110, align 4
%112 = add nsw i32 %105, %111
store i32 %112, ptr %14, align 4
%113 = load i32, ptr %14, align 4
%114 = load ptr, ptr %11, align 8
%115 = load i32, ptr %12, align 4
%116 = load i32, ptr %9, align 4
%117 = add nsw i32 %116, 1
%118 = mul nsw i32 %115, %117
%119 = load i32, ptr %13, align 4
%120 = add nsw i32 %118, %119
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, ptr %114, i64 %121
%123 = load i32, ptr %122, align 4
%124 = icmp sgt i32 %113, %123
br i1 %124, label %125, label %136
125: ; preds = %87
%126 = load i32, ptr %14, align 4
%127 = load ptr, ptr %11, align 8
%128 = load i32, ptr %12, align 4
%129 = load i32, ptr %9, align 4
%130 = add nsw i32 %129, 1
%131 = mul nsw i32 %128, %130
%132 = load i32, ptr %13, align 4
%133 = add nsw i32 %131, %132
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i32, ptr %127, i64 %134
store i32 %126, ptr %135, align 4
br label %136
136: ; preds = %125, %87
br label %137
137: ; preds = %136, %58
br label %138
138: ; preds = %137
%139 = load i32, ptr %13, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %13, align 4
%141 = load i32, ptr %13, align 4
%142 = load i32, ptr %9, align 4
%143 = add nsw i32 %142, 1
%144 = icmp slt i32 %141, %143
br i1 %144, label %58, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %138
br label %145
145: ; preds = %._crit_edge3, %53
br label %146
146: ; preds = %145
%147 = load i32, ptr %12, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %12, align 4
%149 = load i32, ptr %12, align 4
%150 = load i32, ptr %8, align 4
%151 = add nsw i32 %150, 1
%152 = icmp slt i32 %149, %151
br i1 %152, label %53, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %146
br label %153
153: ; preds = %._crit_edge6, %48
%154 = load ptr, ptr %11, align 8
%155 = load ptr, ptr %10, align 8
store ptr %154, ptr %155, align 8
%156 = load ptr, ptr %11, align 8
%157 = load i32, ptr %8, align 4
%158 = add nsw i32 %157, 1
%159 = load i32, ptr %9, align 4
%160 = add nsw i32 %159, 1
%161 = mul nsw i32 %158, %160
%162 = sub nsw i32 %161, 1
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds i32, ptr %156, i64 %163
%165 = load i32, ptr %164, align 4
ret i32 %165
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp828e_wph.c'
source_filename = "/tmp/tmp828e_wph.c"
target datalayout = "e-m:e-p270: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/tmp828e_wph.c"
target datalayout = "e-m:e-p270: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/tmpok7nwv4b.c'
source_filename = "/tmp/tmpok7nwv4b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 1000, i1 false)
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %0, %58
%5 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%8 = load i8, ptr %7, align 16
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 83
br i1 %10, label %11, label %27
11: ; preds = %4
%12 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 1
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 84
br i1 %15, label %16, label %27
16: ; preds = %11
%17 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 2
%18 = load i8, ptr %17, align 2
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 79
br i1 %20, label %21, label %27
21: ; preds = %16
%22 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 3
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 80
br i1 %25, label %26, label %27
26: ; preds = %21
br label %61
27: ; preds = %21, %16, %11, %4
br label %28
28: ; preds = %55, %27
%29 = load i32, ptr %3, align 4
%30 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%31 = call i32 @strlen(ptr noundef %30)
%32 = icmp slt i32 %29, %31
br i1 %32, label %33, label %58
33: ; preds = %28
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp sge i32 %38, 97
br i1 %39, label %40, label %55
40: ; preds = %33
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp sle i32 %45, 122
br i1 %46, label %47, label %55
47: ; preds = %40
%48 = load i32, ptr %3, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = sub nsw i32 %52, 32
%54 = trunc i32 %53 to i8
store i8 %54, ptr %50, align 1
br label %55
55: ; preds = %47, %40, %33
%56 = load i32, ptr %3, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %3, align 4
br label %28, !llvm.loop !6
58: ; preds = %28
store i32 0, ptr %3, align 4
%59 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%60 = call i32 @printf(ptr noundef @.str.1, ptr noundef %59)
br label %4
61: ; preds = %26
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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpok7nwv4b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 1000, i1 false)
store i32 0, ptr %3, align 4
%4 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 3
br label %5
5: ; preds = %60, %0
%6 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%8 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%9 = load i8, ptr %8, align 16
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 83
br i1 %11, label %12, label %27
12: ; preds = %5
%13 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 1
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 84
br i1 %16, label %17, label %27
17: ; preds = %12
%18 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 2
%19 = load i8, ptr %18, align 2
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 79
br i1 %21, label %22, label %27
22: ; preds = %17
%23 = load i8, ptr %4, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 80
br i1 %25, label %26, label %27
26: ; preds = %22
br label %63
27: ; preds = %22, %17, %12, %5
%28 = load i32, ptr %3, align 4
%29 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = icmp slt i32 %28, %30
br i1 %31, label %.lr.ph, label %60
.lr.ph: ; preds = %27
br label %32
32: ; preds = %.lr.ph, %54
%33 = load i32, ptr %3, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp sge i32 %37, 97
br i1 %38, label %39, label %54
39: ; preds = %32
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp sle i32 %44, 122
br i1 %45, label %46, label %54
46: ; preds = %39
%47 = load i32, ptr %3, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = sub nsw i32 %51, 32
%53 = trunc i32 %52 to i8
store i8 %53, ptr %49, align 1
br label %54
54: ; preds = %46, %39, %32
%55 = load i32, ptr %3, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %3, align 4
%57 = load i32, ptr %3, align 4
%58 = call i32 @strlen(ptr noundef %29)
%59 = icmp slt i32 %57, %58
br i1 %59, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %27
store i32 0, ptr %3, align 4
%61 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%62 = call i32 @printf(ptr noundef @.str.1, ptr noundef %61)
br label %5
63: ; preds = %26
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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqri7cpwo.c'
source_filename = "/tmp/tmpqri7cpwo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @process_binaries(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %28, %4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %9, 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 = icmp ne i32 %16, 0
br i1 %17, label %18, label %26
18: ; preds = %10
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 124
br label %26
26: ; preds = %18, %10
%27 = phi i1 [ false, %10 ], [ %25, %18 ]
br i1 %27, label %28, label %31
28: ; preds = %26
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %9, align 4
br label %10, !llvm.loop !6
31: ; preds = %26
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 124
br i1 %38, label %39, label %43
39: ; preds = %31
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %6, align 8
%42 = call i32 @execute_binary_with_pipe(ptr noundef %40, ptr noundef %41)
br label %49
43: ; preds = %31
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %6, align 8
%46 = load ptr, ptr %7, align 8
%47 = load ptr, ptr %8, align 8
%48 = call i32 @execute_script(ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47)
br label %49
49: ; preds = %43, %39
ret i32 0
}
declare i32 @execute_binary_with_pipe(ptr noundef, ptr noundef) #1
declare i32 @execute_script(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqri7cpwo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @process_binaries(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %28, %4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %9, 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 = icmp ne i32 %16, 0
br i1 %17, label %18, label %26
18: ; preds = %10
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 124
br label %26
26: ; preds = %18, %10
%27 = phi i1 [ false, %10 ], [ %25, %18 ]
br i1 %27, label %28, label %31
28: ; preds = %26
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %9, align 4
br label %10, !llvm.loop !6
31: ; preds = %26
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 124
br i1 %38, label %39, label %43
39: ; preds = %31
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %6, align 8
%42 = call i32 @execute_binary_with_pipe(ptr noundef %40, ptr noundef %41)
br label %49
43: ; preds = %31
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %6, align 8
%46 = load ptr, ptr %7, align 8
%47 = load ptr, ptr %8, align 8
%48 = call i32 @execute_script(ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47)
br label %49
49: ; preds = %43, %39
ret i32 0
}
declare i32 @execute_binary_with_pipe(ptr noundef, ptr noundef) #1
declare i32 @execute_script(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzyzhlln2.c'
source_filename = "/tmp/tmpzyzhlln2.c"
target datalayout = "e-m:e-p270: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/tmpzyzhlln2.c"
target datalayout = "e-m:e-p270: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/tmpoeze6t7u.c'
source_filename = "/tmp/tmpoeze6t7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AError\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @std_err() #0 {
%1 = call i32 @perror(ptr noundef @.str)
%2 = call i32 (...) @myexit()
ret void
}
declare i32 @perror(ptr noundef) #1
declare i32 @myexit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoeze6t7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AError\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @std_err() #0 {
%1 = call i32 @perror(ptr noundef @.str)
%2 = call i32 (...) @myexit()
ret void
}
declare i32 @perror(ptr noundef) #1
declare i32 @myexit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa8pubnbs.c'
source_filename = "/tmp/tmpa8pubnbs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test_if_nameindex()
%3 = call i32 (...) @test_if_indextoname()
%4 = call i32 (...) @test_if_nametoindex()
ret i32 0
}
declare i32 @test_if_nameindex(...) #1
declare i32 @test_if_indextoname(...) #1
declare i32 @test_if_nametoindex(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa8pubnbs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test_if_nameindex()
%3 = call i32 (...) @test_if_indextoname()
%4 = call i32 (...) @test_if_nametoindex()
ret i32 0
}
declare i32 @test_if_nameindex(...) #1
declare i32 @test_if_indextoname(...) #1
declare i32 @test_if_nametoindex(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpke7jzg2o.c'
source_filename = "/tmp/tmpke7jzg2o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"string constant\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"1001\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 [4 x i8], align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = call ptr (...) @i()
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %0
store i32 1, ptr %2, align 4
br label %10
10: ; preds = %9, %0
%11 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0
%12 = call i32 @sprint_nybble(i32 noundef 9, ptr noundef %11)
%13 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0
%14 = call i64 @memcmp(ptr noundef %13, ptr noundef @.str.1, i32 noundef 4)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %10
store i32 1, ptr %2, align 4
br label %17
17: ; preds = %16, %10
%18 = load i32, ptr %2, align 4
ret i32 %18
}
declare ptr @i(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @sprint_nybble(i32 noundef, ptr noundef) #1
declare i64 @memcmp(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/tmpke7jzg2o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"string constant\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"1001\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 [4 x i8], align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = call ptr (...) @i()
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %0
store i32 1, ptr %2, align 4
br label %10
10: ; preds = %9, %0
%11 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0
%12 = call i32 @sprint_nybble(i32 noundef 9, ptr noundef %11)
%13 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0
%14 = call i64 @memcmp(ptr noundef %13, ptr noundef @.str.1, i32 noundef 4)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %10
store i32 1, ptr %2, align 4
br label %17
17: ; preds = %16, %10
%18 = load i32, ptr %2, align 4
ret i32 %18
}
declare ptr @i(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @sprint_nybble(i32 noundef, ptr noundef) #1
declare i64 @memcmp(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/tmp5boif8ry.c'
source_filename = "/tmp/tmp5boif8ry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strv_skip(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
br label %6
6: ; preds = %15, %2
%7 = load i64, ptr %5, align 8
%8 = icmp ugt i64 %7, 0
br i1 %8, label %9, label %20
9: ; preds = %6
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strv_isempty(ptr noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %3, align 8
br label %22
15: ; preds = %9
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds ptr, ptr %16, i32 1
store ptr %17, ptr %4, align 8
%18 = load i64, ptr %5, align 8
%19 = add i64 %18, -1
store i64 %19, ptr %5, align 8
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = load ptr, ptr %4, align 8
store ptr %21, ptr %3, align 8
br label %22
22: ; preds = %20, %13
%23 = load ptr, ptr %3, align 8
ret ptr %23
}
declare i64 @strv_isempty(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp5boif8ry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strv_skip(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = icmp ugt i64 %6, 0
br i1 %7, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %14
%9 = load ptr, ptr %4, align 8
%10 = call i64 @strv_isempty(ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %3, align 8
br label %23
14: ; preds = %8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i32 1
store ptr %16, ptr %4, align 8
%17 = load i64, ptr %5, align 8
%18 = add i64 %17, -1
store i64 %18, ptr %5, align 8
%19 = load i64, ptr %5, align 8
%20 = icmp ugt i64 %19, 0
br i1 %20, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %21
21: ; preds = %._crit_edge, %2
%22 = load ptr, ptr %4, align 8
store ptr %22, ptr %3, align 8
br label %23
23: ; preds = %21, %12
%24 = load ptr, ptr %3, align 8
ret ptr %24
}
declare i64 @strv_isempty(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpo4gqdhim.c'
source_filename = "/tmp/tmpo4gqdhim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FLT_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @min_val(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load double, ptr @FLT_MAX, align 8
store double %7, ptr %6, align 8
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %27, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %30
12: ; preds = %8
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, ptr %13, i64 %15
%17 = load double, ptr %16, align 8
%18 = load double, ptr %6, align 8
%19 = fcmp olt double %17, %18
br i1 %19, label %20, label %26
20: ; preds = %12
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %21, i64 %23
%25 = load double, ptr %24, align 8
store double %25, ptr %6, align 8
br label %26
26: ; preds = %20, %12
br label %27
27: ; preds = %26
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
br label %8, !llvm.loop !6
30: ; preds = %8
%31 = load double, ptr %6, align 8
ret double %31
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpo4gqdhim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FLT_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @min_val(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load double, ptr @FLT_MAX, align 8
store double %7, ptr %6, align 8
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %26
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %12, i64 %14
%16 = load double, ptr %15, align 8
%17 = load double, ptr %6, align 8
%18 = fcmp olt double %16, %17
br i1 %18, label %19, label %25
19: ; preds = %11
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, ptr %20, i64 %22
%24 = load double, ptr %23, align 8
store double %24, ptr %6, align 8
br label %25
25: ; preds = %19, %11
br label %26
26: ; preds = %25
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %2
%33 = load double, ptr %6, align 8
ret double %33
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp14es0vph.c'
source_filename = "/tmp/tmp14es0vph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spg_refine_cell_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %10, align 8
%18 = load double, ptr %17, align 8
%19 = call i32 @spg_refine_cell(ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %16, double noundef %18)
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %11, align 4
%21 = load ptr, ptr %9, align 8
store i32 %20, ptr %21, align 4
ret void
}
declare i32 @spg_refine_cell(ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp14es0vph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spg_refine_cell_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %10, align 8
%18 = load double, ptr %17, align 8
%19 = call i32 @spg_refine_cell(ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %16, double noundef %18)
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %11, align 4
%21 = load ptr, ptr %9, align 8
store i32 %20, ptr %21, align 4
ret void
}
declare i32 @spg_refine_cell(ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkrf607o6.c'
source_filename = "/tmp/tmpkrf607o6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"HELLO! THIS IS A TEST OF MY ENCODING\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Orig: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Orig Len: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"Enc Len: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"Decoded: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"Dec Len: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @est_6mem_for_8str(i32 noundef %10)
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %4, align 8
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %2, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %18)
%20 = load i32, ptr %3, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %3, align 4
%24 = call i32 @print_hex(ptr noundef %22, i32 noundef %23)
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %3, align 4
%27 = load ptr, ptr %4, align 8
%28 = call i32 @conv_8str_to_6str(ptr noundef %25, i32 noundef %26, ptr noundef %27, ptr noundef %5)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%30 = load i32, ptr %5, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30)
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %5, align 4
%34 = call i32 @print_hex(ptr noundef %32, i32 noundef %33)
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %5, align 4
%37 = load ptr, ptr %6, align 8
%38 = call i32 @conv_6str_to_8str(ptr noundef %35, i32 noundef %36, ptr noundef %37, ptr noundef %7)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%40 = load ptr, ptr %6, align 8
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %40)
%42 = load i32, ptr %7, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %42)
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %7, align 4
%46 = call i32 @print_hex(ptr noundef %44, i32 noundef %45)
ret i32 0
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @est_6mem_for_8str(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @print_hex(ptr noundef, i32 noundef) #1
declare i32 @conv_8str_to_6str(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @conv_6str_to_8str(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkrf607o6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"HELLO! THIS IS A TEST OF MY ENCODING\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Orig: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Orig Len: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"Enc Len: %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"Decoded: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"Dec Len: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @est_6mem_for_8str(i32 noundef %10)
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %4, align 8
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %2, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %18)
%20 = load i32, ptr %3, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20)
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %3, align 4
%24 = call i32 @print_hex(ptr noundef %22, i32 noundef %23)
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %3, align 4
%27 = load ptr, ptr %4, align 8
%28 = call i32 @conv_8str_to_6str(ptr noundef %25, i32 noundef %26, ptr noundef %27, ptr noundef %5)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%30 = load i32, ptr %5, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30)
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %5, align 4
%34 = call i32 @print_hex(ptr noundef %32, i32 noundef %33)
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %5, align 4
%37 = load ptr, ptr %6, align 8
%38 = call i32 @conv_6str_to_8str(ptr noundef %35, i32 noundef %36, ptr noundef %37, ptr noundef %7)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%40 = load ptr, ptr %6, align 8
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %40)
%42 = load i32, ptr %7, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %42)
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %7, align 4
%46 = call i32 @print_hex(ptr noundef %44, i32 noundef %45)
ret i32 0
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @est_6mem_for_8str(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @print_hex(ptr noundef, i32 noundef) #1
declare i32 @conv_8str_to_6str(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @conv_6str_to_8str(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzjkkc_fu.c'
source_filename = "/tmp/tmpzjkkc_fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @haproxy_server_hash(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %14, %2
%8 = load i32, ptr %6, align 4
%9 = zext i32 %8 to i64
%10 = add i64 %9, 4
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = icmp ule i64 %10, %12
br i1 %13, label %14, label %27
14: ; preds = %7
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = call i32 @ntohl(i32 noundef %19)
%21 = load i32, ptr %5, align 4
%22 = xor i32 %21, %20
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %6, align 4
%24 = zext i32 %23 to i64
%25 = add i64 %24, 4
%26 = trunc i64 %25 to i32
store i32 %26, ptr %6, align 4
br label %7, !llvm.loop !6
27: ; preds = %7
%28 = load i32, ptr %5, align 4
%29 = urem i32 %28, 4
store i32 %29, ptr %5, align 4
ret i32 %29
}
declare i32 @ntohl(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/tmpzjkkc_fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @haproxy_server_hash(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = zext i32 %7 to i64
%9 = add i64 %8, 4
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = icmp ule i64 %9, %11
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %13
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %6, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 @ntohl(i32 noundef %18)
%20 = load i32, ptr %5, align 4
%21 = xor i32 %20, %19
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = zext i32 %22 to i64
%24 = add i64 %23, 4
%25 = trunc i64 %24 to i32
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = zext i32 %26 to i64
%28 = add i64 %27, 4
%29 = load i32, ptr %4, align 4
%30 = sext i32 %29 to i64
%31 = icmp ule i64 %28, %30
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %32
32: ; preds = %._crit_edge, %2
%33 = load i32, ptr %5, align 4
%34 = urem i32 %33, 4
store i32 %34, ptr %5, align 4
ret i32 %34
}
declare i32 @ntohl(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/tmp8_3y86wn.c'
source_filename = "/tmp/tmp8_3y86wn.c"
target datalayout = "e-m:e-p270: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/tmp8_3y86wn.c"
target datalayout = "e-m:e-p270: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/tmp2nvgjiaj.c'
source_filename = "/tmp/tmp2nvgjiaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"3\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"10\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"13\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"199\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"2000\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"23031\00", align 1
@__const.testParseInt.str = private unnamed_addr constant [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7], align 16
@.str.8 = private unnamed_addr constant [12 x i8] c"\22%s\22 -> %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testParseInt() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [8 x ptr], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.testParseInt.str, i64 64, i1 false)
store i32 8, ptr %2, align 4
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %19, %0
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %8, label %22
8: ; preds = %4
%9 = load i32, ptr %1, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [8 x ptr], ptr %3, i64 0, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = load i32, ptr %1, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [8 x ptr], ptr %3, i64 0, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = call i32 @parseInt(ptr noundef %16)
%18 = call i32 @printf(ptr noundef @.str.8, ptr noundef %12, i32 noundef %17)
br label %19
19: ; preds = %8
%20 = load i32, ptr %1, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %1, align 4
br label %4, !llvm.loop !6
22: ; preds = %4
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @parseInt(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2nvgjiaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"3\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"10\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"13\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"199\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"2000\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"23031\00", align 1
@__const.testParseInt.str = private unnamed_addr constant [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7], align 16
@.str.8 = private unnamed_addr constant [12 x i8] c"\22%s\22 -> %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testParseInt() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [8 x ptr], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.testParseInt.str, i64 64, i1 false)
store i32 8, ptr %2, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %4, %5
br i1 %6, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %18
%8 = load i32, ptr %1, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [8 x ptr], ptr %3, i64 0, i64 %9
%11 = load ptr, ptr %10, align 8
%12 = load i32, ptr %1, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [8 x ptr], ptr %3, i64 0, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = call i32 @parseInt(ptr noundef %15)
%17 = call i32 @printf(ptr noundef @.str.8, ptr noundef %11, i32 noundef %16)
br label %18
18: ; preds = %7
%19 = load i32, ptr %1, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %1, align 4
%21 = load i32, ptr %1, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %0
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @parseInt(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvhke36bs.c'
source_filename = "/tmp/tmpvhke36bs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dirname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @strrchr(ptr noundef %8, i8 noundef signext 47)
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %1
store ptr null, ptr %4, align 8
br label %12
12: ; preds = %11, %1
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = icmp eq ptr %13, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %4, align 8
br label %38
19: ; preds = %12
%20 = load ptr, ptr %4, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 1
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %37
28: ; preds = %22
%29 = load ptr, ptr %3, align 8
%30 = load ptr, ptr %4, align 8
%31 = load ptr, ptr %3, align 8
%32 = ptrtoint ptr %30 to i64
%33 = ptrtoint ptr %31 to i64
%34 = sub i64 %32, %33
%35 = trunc i64 %34 to i32
%36 = call ptr @memchr(ptr noundef %29, i32 noundef %35, i8 noundef signext 47)
store ptr %36, ptr %4, align 8
br label %37
37: ; preds = %28, %22, %19
br label %38
38: ; preds = %37, %16
%39 = load ptr, ptr %4, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %41, label %67
41: ; preds = %38
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 1
%44 = load ptr, ptr %3, align 8
%45 = ptrtoint ptr %43 to i64
%46 = ptrtoint ptr %44 to i64
%47 = sub i64 %45, %46
%48 = trunc i64 %47 to i32
%49 = call ptr @malloc(i32 noundef %48)
store ptr %49, ptr %5, align 8
%50 = load ptr, ptr %5, align 8
%51 = load ptr, ptr %3, align 8
%52 = load ptr, ptr %4, align 8
%53 = load ptr, ptr %3, align 8
%54 = ptrtoint ptr %52 to i64
%55 = ptrtoint ptr %53 to i64
%56 = sub i64 %54, %55
%57 = trunc i64 %56 to i32
%58 = call i32 @memcpy(ptr noundef %50, ptr noundef %51, i32 noundef %57)
%59 = load ptr, ptr %5, align 8
%60 = load ptr, ptr %4, align 8
%61 = load ptr, ptr %3, align 8
%62 = ptrtoint ptr %60 to i64
%63 = ptrtoint ptr %61 to i64
%64 = sub i64 %62, %63
%65 = getelementptr inbounds i8, ptr %59, i64 %64
store i8 0, ptr %65, align 1
%66 = load ptr, ptr %5, align 8
store ptr %66, ptr %2, align 8
br label %74
67: ; preds = %38
%68 = call ptr @malloc(i32 noundef 2)
store ptr %68, ptr %6, align 8
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 0
store i8 46, ptr %70, align 1
%71 = load ptr, ptr %6, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 1
store i8 0, ptr %72, align 1
%73 = load ptr, ptr %6, align 8
store ptr %73, ptr %2, align 8
br label %74
74: ; preds = %67, %41
%75 = load ptr, ptr %2, align 8
ret ptr %75
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare ptr @memchr(ptr noundef, i32 noundef, i8 noundef signext) #1
declare ptr @malloc(i32 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/tmpvhke36bs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dirname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @strrchr(ptr noundef %8, i8 noundef signext 47)
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %1
store ptr null, ptr %4, align 8
br label %12
12: ; preds = %11, %1
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = icmp eq ptr %13, %14
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %4, align 8
br label %38
19: ; preds = %12
%20 = load ptr, ptr %4, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 1
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %37
28: ; preds = %22
%29 = load ptr, ptr %3, align 8
%30 = load ptr, ptr %4, align 8
%31 = load ptr, ptr %3, align 8
%32 = ptrtoint ptr %30 to i64
%33 = ptrtoint ptr %31 to i64
%34 = sub i64 %32, %33
%35 = trunc i64 %34 to i32
%36 = call ptr @memchr(ptr noundef %29, i32 noundef %35, i8 noundef signext 47)
store ptr %36, ptr %4, align 8
br label %37
37: ; preds = %28, %22, %19
br label %38
38: ; preds = %37, %16
%39 = load ptr, ptr %4, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %41, label %67
41: ; preds = %38
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 1
%44 = load ptr, ptr %3, align 8
%45 = ptrtoint ptr %43 to i64
%46 = ptrtoint ptr %44 to i64
%47 = sub i64 %45, %46
%48 = trunc i64 %47 to i32
%49 = call ptr @malloc(i32 noundef %48)
store ptr %49, ptr %5, align 8
%50 = load ptr, ptr %5, align 8
%51 = load ptr, ptr %3, align 8
%52 = load ptr, ptr %4, align 8
%53 = load ptr, ptr %3, align 8
%54 = ptrtoint ptr %52 to i64
%55 = ptrtoint ptr %53 to i64
%56 = sub i64 %54, %55
%57 = trunc i64 %56 to i32
%58 = call i32 @memcpy(ptr noundef %50, ptr noundef %51, i32 noundef %57)
%59 = load ptr, ptr %5, align 8
%60 = load ptr, ptr %4, align 8
%61 = load ptr, ptr %3, align 8
%62 = ptrtoint ptr %60 to i64
%63 = ptrtoint ptr %61 to i64
%64 = sub i64 %62, %63
%65 = getelementptr inbounds i8, ptr %59, i64 %64
store i8 0, ptr %65, align 1
%66 = load ptr, ptr %5, align 8
store ptr %66, ptr %2, align 8
br label %74
67: ; preds = %38
%68 = call ptr @malloc(i32 noundef 2)
store ptr %68, ptr %6, align 8
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 0
store i8 46, ptr %70, align 1
%71 = load ptr, ptr %6, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 1
store i8 0, ptr %72, align 1
%73 = load ptr, ptr %6, align 8
store ptr %73, ptr %2, align 8
br label %74
74: ; preds = %67, %41
%75 = load ptr, ptr %2, align 8
ret ptr %75
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare ptr @memchr(ptr noundef, i32 noundef, i8 noundef signext) #1
declare ptr @malloc(i32 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/tmp69nd8v3g.c'
source_filename = "/tmp/tmp69nd8v3g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0xf8\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0xf8() #0 {
%1 = call i64 @isalpha(i32 noundef 248)
%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 1245, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(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/tmp69nd8v3g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0xf8\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0xf8() #0 {
%1 = call i64 @isalpha(i32 noundef 248)
%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 1245, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(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/tmpyc_4g7s1.c'
source_filename = "/tmp/tmpyc_4g7s1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCLINUX = 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/tmpyc_4g7s1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCLINUX = 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/tmpdtzvm_a7.c'
source_filename = "/tmp/tmpdtzvm_a7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [326 x i8] c"tos help:\0A TOS Name Hex Value Typical Uses\0A\0A Minimum Delay 10 ftp, telnet\0A Maximum Throughput 08 ftp-data\0A Maximum Reliability 04 snmp\0A Minimum Cost 02 nntp\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tos_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdtzvm_a7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [326 x i8] c"tos help:\0A TOS Name Hex Value Typical Uses\0A\0A Minimum Delay 10 ftp, telnet\0A Maximum Throughput 08 ftp-data\0A Maximum Reliability 04 snmp\0A Minimum Cost 02 nntp\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tos_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbg5bw47c.c'
source_filename = "/tmp/tmpbg5bw47c.c"
target datalayout = "e-m:e-p270: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/tmpbg5bw47c.c"
target datalayout = "e-m:e-p270: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/tmpz9ii3i9k.c'
source_filename = "/tmp/tmpz9ii3i9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @schedule() #0 {
%1 = call i32 (...) @assert_context_process()
ret void
}
declare i32 @assert_context_process(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz9ii3i9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @schedule() #0 {
%1 = call i32 (...) @assert_context_process()
ret void
}
declare i32 @assert_context_process(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkw5lq1f_.c'
source_filename = "/tmp/tmpkw5lq1f_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eeprom_read_word(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = ptrtoint ptr %5 to i32
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sge i32 %7, 2047
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %15
10: ; preds = %1
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %12
%14 = load i32, ptr %13, align 4
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %10, %9
%16 = load i32, ptr %2, align 4
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkw5lq1f_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eeprom_read_word(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = ptrtoint ptr %5 to i32
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sge i32 %7, 2047
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %15
10: ; preds = %1
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %12
%14 = load i32, ptr %13, align 4
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %10, %9
%16 = load i32, ptr %2, align 4
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptk25s48w.c'
source_filename = "/tmp/tmptk25s48w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i16
store i16 %30, ptr %9, align 2
%31 = load i16, ptr %9, align 2
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33
store i16 %31, ptr %34, align 2
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%42 = load i16, ptr %41, align 2
%43 = zext i16 %42 to i32
%44 = icmp eq i32 %43, 65152
br i1 %44, label %45, label %47
45: ; preds = %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %37
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
br label %49
49: ; preds = %52, %48
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %52, label %61
52: ; preds = %49
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
br label %49, !llvm.loop !8
61: ; preds = %49
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptk25s48w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i16
store i16 %29, ptr %9, align 2
%30 = load i16, ptr %9, align 2
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32
store i16 %30, ptr %33, align 2
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%43 = load i16, ptr %42, align 2
%44 = zext i16 %43 to i32
%45 = icmp eq i32 %44, 65152
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %49
48: ; preds = %38
br label %49
49: ; preds = %48, %46
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %.lr.ph2, label %63
.lr.ph2: ; preds = %49
br label %52
52: ; preds = %.lr.ph2, %52
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %61, 1
br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %63
63: ; preds = %._crit_edge3, %49
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmprxbpm_mj.c'
source_filename = "/tmp/tmprxbpm_mj.c"
target datalayout = "e-m:e-p270: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 { ptr, i32, i32, i32, i64, i64, i64, i64, i64 }
@SHA1_Final.end = internal constant [4 x i8] c"\80\00\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SHA1_Final(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%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 %3, align 8
store ptr %1, ptr %4, align 8
store ptr @SHA1_Final.end, ptr %9, align 8
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds %struct.TYPE_4__, ptr %21, i32 0, i32 0
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %5, align 8
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i32 0, i32 1
%26 = load i32, ptr %25, align 8
%27 = ashr i32 %26, 2
store i32 %27, ptr %7, align 4
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds %struct.TYPE_4__, ptr %28, i32 0, i32 1
%30 = load i32, ptr %29, align 8
%31 = and i32 %30, 3
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %2
br label %41
35: ; preds = %2
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
br label %41
41: ; preds = %35, %34
%42 = phi i32 [ 0, %34 ], [ %40, %35 ]
%43 = zext i32 %42 to i64
store i64 %43, ptr %6, align 8
%44 = load i32, ptr %8, align 4
switch i32 %44, label %74 [
i32 0, label %45
i32 1, label %51
i32 2, label %59
i32 3, label %67
]
45: ; preds = %41
%46 = load ptr, ptr %9, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %9, align 8
%48 = load i8, ptr %46, align 1
%49 = zext i8 %48 to i64
%50 = shl i64 %49, 24
store i64 %50, ptr %6, align 8
br label %51
51: ; preds = %41, %45
%52 = load ptr, ptr %9, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %9, align 8
%54 = load i8, ptr %52, align 1
%55 = zext i8 %54 to i64
%56 = shl i64 %55, 16
%57 = load i64, ptr %6, align 8
%58 = or i64 %57, %56
store i64 %58, ptr %6, align 8
br label %59
59: ; preds = %41, %51
%60 = load ptr, ptr %9, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %9, align 8
%62 = load i8, ptr %60, align 1
%63 = zext i8 %62 to i64
%64 = shl i64 %63, 8
%65 = load i64, ptr %6, align 8
%66 = or i64 %65, %64
store i64 %66, ptr %6, align 8
br label %67
67: ; preds = %41, %59
%68 = load ptr, ptr %9, align 8
%69 = getelementptr inbounds i8, ptr %68, i32 1
store ptr %69, ptr %9, align 8
%70 = load i8, ptr %68, align 1
%71 = zext i8 %70 to i64
%72 = load i64, ptr %6, align 8
%73 = or i64 %72, %71
store i64 %73, ptr %6, align 8
br label %74
74: ; preds = %67, %41
%75 = load i64, ptr %6, align 8
%76 = trunc i64 %75 to i32
%77 = load ptr, ptr %5, align 8
%78 = load i32, ptr %7, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %7, align 4
%80 = sext i32 %78 to i64
%81 = getelementptr inbounds i32, ptr %77, i64 %80
store i32 %76, ptr %81, align 4
%82 = load i32, ptr %7, align 4
%83 = icmp sgt i32 %82, 14
br i1 %83, label %84, label %96
84: ; preds = %74
%85 = load i32, ptr %7, align 4
%86 = icmp slt i32 %85, 16
br i1 %86, label %87, label %92
87: ; preds = %84
%88 = load ptr, ptr %5, align 8
%89 = load i32, ptr %7, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %88, i64 %90
store i32 0, ptr %91, align 4
br label %92
92: ; preds = %87, %84
%93 = load ptr, ptr %4, align 8
%94 = load ptr, ptr %5, align 8
%95 = call i32 @sha1_block_host_order(ptr noundef %93, ptr noundef %94, i32 noundef 1)
store i32 0, ptr %7, align 4
br label %96
96: ; preds = %92, %74
br label %97
97: ; preds = %105, %96
%98 = load i32, ptr %7, align 4
%99 = icmp slt i32 %98, 14
br i1 %99, label %100, label %108
100: ; preds = %97
%101 = load ptr, ptr %5, align 8
%102 = load i32, ptr %7, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, ptr %101, i64 %103
store i32 0, ptr %104, align 4
br label %105
105: ; preds = %100
%106 = load i32, ptr %7, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %7, align 4
br label %97, !llvm.loop !6
108: ; preds = %97
%109 = load ptr, ptr %4, align 8
%110 = getelementptr inbounds %struct.TYPE_4__, ptr %109, i32 0, i32 2
%111 = load i32, ptr %110, align 4
%112 = load ptr, ptr %5, align 8
%113 = getelementptr inbounds i32, ptr %112, i64 14
store i32 %111, ptr %113, align 4
%114 = load ptr, ptr %4, align 8
%115 = getelementptr inbounds %struct.TYPE_4__, ptr %114, i32 0, i32 3
%116 = load i32, ptr %115, align 8
%117 = load ptr, ptr %5, align 8
%118 = getelementptr inbounds i32, ptr %117, i64 15
store i32 %116, ptr %118, align 4
%119 = load ptr, ptr %4, align 8
%120 = load ptr, ptr %5, align 8
%121 = call i32 @sha1_block_host_order(ptr noundef %119, ptr noundef %120, i32 noundef 1)
br label %122
122: ; preds = %108
%123 = load ptr, ptr %4, align 8
%124 = getelementptr inbounds %struct.TYPE_4__, ptr %123, i32 0, i32 4
%125 = load i64, ptr %124, align 8
store i64 %125, ptr %10, align 8
%126 = load i64, ptr %10, align 8
%127 = trunc i64 %126 to i32
store i32 %127, ptr %11, align 4
%128 = load i32, ptr %11, align 4
%129 = call i32 asm "bswapl $0", "=r,0,~{dirflag},~{fpsr},~{flags}"(i32 %128) #2, !srcloc !8
store i32 %129, ptr %11, align 4
%130 = load i32, ptr %11, align 4
%131 = load ptr, ptr %3, align 8
store i32 %130, ptr %131, align 4
%132 = load ptr, ptr %3, align 8
%133 = getelementptr inbounds i8, ptr %132, i64 4
store ptr %133, ptr %3, align 8
%134 = load i32, ptr %11, align 4
store i32 %134, ptr %12, align 4
%135 = load i32, ptr %12, align 4
%136 = load ptr, ptr %4, align 8
%137 = getelementptr inbounds %struct.TYPE_4__, ptr %136, i32 0, i32 5
%138 = load i64, ptr %137, align 8
store i64 %138, ptr %10, align 8
%139 = load i64, ptr %10, align 8
%140 = trunc i64 %139 to i32
store i32 %140, ptr %13, align 4
%141 = load i32, ptr %13, align 4
%142 = call i32 asm "bswapl $0", "=r,0,~{dirflag},~{fpsr},~{flags}"(i32 %141) #2, !srcloc !9
store i32 %142, ptr %13, align 4
%143 = load i32, ptr %13, align 4
%144 = load ptr, ptr %3, align 8
store i32 %143, ptr %144, align 4
%145 = load ptr, ptr %3, align 8
%146 = getelementptr inbounds i8, ptr %145, i64 4
store ptr %146, ptr %3, align 8
%147 = load i32, ptr %13, align 4
store i32 %147, ptr %14, align 4
%148 = load i32, ptr %14, align 4
%149 = load ptr, ptr %4, align 8
%150 = getelementptr inbounds %struct.TYPE_4__, ptr %149, i32 0, i32 6
%151 = load i64, ptr %150, align 8
store i64 %151, ptr %10, align 8
%152 = load i64, ptr %10, align 8
%153 = trunc i64 %152 to i32
store i32 %153, ptr %15, align 4
%154 = load i32, ptr %15, align 4
%155 = call i32 asm "bswapl $0", "=r,0,~{dirflag},~{fpsr},~{flags}"(i32 %154) #2, !srcloc !10
store i32 %155, ptr %15, align 4
%156 = load i32, ptr %15, align 4
%157 = load ptr, ptr %3, align 8
store i32 %156, ptr %157, align 4
%158 = load ptr, ptr %3, align 8
%159 = getelementptr inbounds i8, ptr %158, i64 4
store ptr %159, ptr %3, align 8
%160 = load i32, ptr %15, align 4
store i32 %160, ptr %16, align 4
%161 = load i32, ptr %16, align 4
%162 = load ptr, ptr %4, align 8
%163 = getelementptr inbounds %struct.TYPE_4__, ptr %162, i32 0, i32 7
%164 = load i64, ptr %163, align 8
store i64 %164, ptr %10, align 8
%165 = load i64, ptr %10, align 8
%166 = trunc i64 %165 to i32
store i32 %166, ptr %17, align 4
%167 = load i32, ptr %17, align 4
%168 = call i32 asm "bswapl $0", "=r,0,~{dirflag},~{fpsr},~{flags}"(i32 %167) #2, !srcloc !11
store i32 %168, ptr %17, align 4
%169 = load i32, ptr %17, align 4
%170 = load ptr, ptr %3, align 8
store i32 %169, ptr %170, align 4
%171 = load ptr, ptr %3, align 8
%172 = getelementptr inbounds i8, ptr %171, i64 4
store ptr %172, ptr %3, align 8
%173 = load i32, ptr %17, align 4
store i32 %173, ptr %18, align 4
%174 = load i32, ptr %18, align 4
%175 = load ptr, ptr %4, align 8
%176 = getelementptr inbounds %struct.TYPE_4__, ptr %175, i32 0, i32 8
%177 = load i64, ptr %176, align 8
store i64 %177, ptr %10, align 8
%178 = load i64, ptr %10, align 8
%179 = trunc i64 %178 to i32
store i32 %179, ptr %19, align 4
%180 = load i32, ptr %19, align 4
%181 = call i32 asm "bswapl $0", "=r,0,~{dirflag},~{fpsr},~{flags}"(i32 %180) #2, !srcloc !12
store i32 %181, ptr %19, align 4
%182 = load i32, ptr %19, align 4
%183 = load ptr, ptr %3, align 8
store i32 %182, ptr %183, align 4
%184 = load ptr, ptr %3, align 8
%185 = getelementptr inbounds i8, ptr %184, i64 4
store ptr %185, ptr %3, align 8
%186 = load i32, ptr %19, align 4
store i32 %186, ptr %20, align 4
%187 = load i32, ptr %20, align 4
br label %188
188: ; preds = %122
%189 = load ptr, ptr %4, align 8
%190 = getelementptr inbounds %struct.TYPE_4__, ptr %189, i32 0, i32 1
store i32 0, ptr %190, align 8
ret i32 1
}
declare i32 @sha1_block_host_order(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind 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 = !{i64 1782}
!9 = !{i64 1899}
!10 = !{i64 2016}
!11 = !{i64 2133}
!12 = !{i64 2250}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprxbpm_mj.c"
target datalayout = "e-m:e-p270: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 { ptr, i32, i32, i32, i64, i64, i64, i64, i64 }
@SHA1_Final.end = internal constant [4 x i8] c"\80\00\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @SHA1_Final(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%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 %3, align 8
store ptr %1, ptr %4, align 8
store ptr @SHA1_Final.end, ptr %9, align 8
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds %struct.TYPE_4__, ptr %21, i32 0, i32 0
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %5, align 8
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i32 0, i32 1
%26 = load i32, ptr %25, align 8
%27 = ashr i32 %26, 2
store i32 %27, ptr %7, align 4
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds %struct.TYPE_4__, ptr %28, i32 0, i32 1
%30 = load i32, ptr %29, align 8
%31 = and i32 %30, 3
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %2
br label %41
35: ; preds = %2
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
br label %41
41: ; preds = %35, %34
%42 = phi i32 [ 0, %34 ], [ %40, %35 ]
%43 = zext i32 %42 to i64
store i64 %43, ptr %6, align 8
%44 = load i32, ptr %8, align 4
switch i32 %44, label %74 [
i32 0, label %45
i32 1, label %51
i32 2, label %59
i32 3, label %67
]
45: ; preds = %41
%46 = load ptr, ptr %9, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %9, align 8
%48 = load i8, ptr %46, align 1
%49 = zext i8 %48 to i64
%50 = shl i64 %49, 24
store i64 %50, ptr %6, align 8
br label %51
51: ; preds = %45, %41
%52 = load ptr, ptr %9, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %9, align 8
%54 = load i8, ptr %52, align 1
%55 = zext i8 %54 to i64
%56 = shl i64 %55, 16
%57 = load i64, ptr %6, align 8
%58 = or i64 %57, %56
store i64 %58, ptr %6, align 8
br label %59
59: ; preds = %51, %41
%60 = load ptr, ptr %9, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %9, align 8
%62 = load i8, ptr %60, align 1
%63 = zext i8 %62 to i64
%64 = shl i64 %63, 8
%65 = load i64, ptr %6, align 8
%66 = or i64 %65, %64
store i64 %66, ptr %6, align 8
br label %67
67: ; preds = %59, %41
%68 = load ptr, ptr %9, align 8
%69 = getelementptr inbounds i8, ptr %68, i32 1
store ptr %69, ptr %9, align 8
%70 = load i8, ptr %68, align 1
%71 = zext i8 %70 to i64
%72 = load i64, ptr %6, align 8
%73 = or i64 %72, %71
store i64 %73, ptr %6, align 8
br label %74
74: ; preds = %67, %41
%75 = load i64, ptr %6, align 8
%76 = trunc i64 %75 to i32
%77 = load ptr, ptr %5, align 8
%78 = load i32, ptr %7, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %7, align 4
%80 = sext i32 %78 to i64
%81 = getelementptr inbounds i32, ptr %77, i64 %80
store i32 %76, ptr %81, align 4
%82 = load i32, ptr %7, align 4
%83 = icmp sgt i32 %82, 14
br i1 %83, label %84, label %96
84: ; preds = %74
%85 = load i32, ptr %7, align 4
%86 = icmp slt i32 %85, 16
br i1 %86, label %87, label %92
87: ; preds = %84
%88 = load ptr, ptr %5, align 8
%89 = load i32, ptr %7, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %88, i64 %90
store i32 0, ptr %91, align 4
br label %92
92: ; preds = %87, %84
%93 = load ptr, ptr %4, align 8
%94 = load ptr, ptr %5, align 8
%95 = call i32 @sha1_block_host_order(ptr noundef %93, ptr noundef %94, i32 noundef 1)
store i32 0, ptr %7, align 4
br label %96
96: ; preds = %92, %74
%97 = load i32, ptr %7, align 4
%98 = icmp slt i32 %97, 14
br i1 %98, label %.lr.ph, label %109
.lr.ph: ; preds = %96
br label %99
99: ; preds = %.lr.ph, %104
%100 = load ptr, ptr %5, align 8
%101 = load i32, ptr %7, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i32, ptr %100, i64 %102
store i32 0, ptr %103, align 4
br label %104
104: ; preds = %99
%105 = load i32, ptr %7, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %7, align 4
%107 = load i32, ptr %7, align 4
%108 = icmp slt i32 %107, 14
br i1 %108, label %99, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %104
br label %109
109: ; preds = %._crit_edge, %96
%110 = load ptr, ptr %4, align 8
%111 = getelementptr inbounds %struct.TYPE_4__, ptr %110, i32 0, i32 2
%112 = load i32, ptr %111, align 4
%113 = load ptr, ptr %5, align 8
%114 = getelementptr inbounds i32, ptr %113, i64 14
store i32 %112, ptr %114, align 4
%115 = load ptr, ptr %4, align 8
%116 = getelementptr inbounds %struct.TYPE_4__, ptr %115, i32 0, i32 3
%117 = load i32, ptr %116, align 8
%118 = load ptr, ptr %5, align 8
%119 = getelementptr inbounds i32, ptr %118, i64 15
store i32 %117, ptr %119, align 4
%120 = load ptr, ptr %4, align 8
%121 = load ptr, ptr %5, align 8
%122 = call i32 @sha1_block_host_order(ptr noundef %120, ptr noundef %121, i32 noundef 1)
br label %123
123: ; preds = %109
%124 = load ptr, ptr %4, align 8
%125 = getelementptr inbounds %struct.TYPE_4__, ptr %124, i32 0, i32 4
%126 = load i64, ptr %125, align 8
store i64 %126, ptr %10, align 8
%127 = load i64, ptr %10, align 8
%128 = trunc i64 %127 to i32
store i32 %128, ptr %11, align 4
%129 = load i32, ptr %11, align 4
%130 = call i32 asm "bswapl $0", "=r,0,~{dirflag},~{fpsr},~{flags}"(i32 %129) #2, !srcloc !8
store i32 %130, ptr %11, align 4
%131 = load i32, ptr %11, align 4
%132 = load ptr, ptr %3, align 8
store i32 %131, ptr %132, align 4
%133 = load ptr, ptr %3, align 8
%134 = getelementptr inbounds i8, ptr %133, i64 4
store ptr %134, ptr %3, align 8
%135 = load i32, ptr %11, align 4
store i32 %135, ptr %12, align 4
%136 = load i32, ptr %12, align 4
%137 = load ptr, ptr %4, align 8
%138 = getelementptr inbounds %struct.TYPE_4__, ptr %137, i32 0, i32 5
%139 = load i64, ptr %138, align 8
store i64 %139, ptr %10, align 8
%140 = load i64, ptr %10, align 8
%141 = trunc i64 %140 to i32
store i32 %141, ptr %13, align 4
%142 = load i32, ptr %13, align 4
%143 = call i32 asm "bswapl $0", "=r,0,~{dirflag},~{fpsr},~{flags}"(i32 %142) #2, !srcloc !9
store i32 %143, ptr %13, align 4
%144 = load i32, ptr %13, align 4
%145 = load ptr, ptr %3, align 8
store i32 %144, ptr %145, align 4
%146 = load ptr, ptr %3, align 8
%147 = getelementptr inbounds i8, ptr %146, i64 4
store ptr %147, ptr %3, align 8
%148 = load i32, ptr %13, align 4
store i32 %148, ptr %14, align 4
%149 = load i32, ptr %14, align 4
%150 = load ptr, ptr %4, align 8
%151 = getelementptr inbounds %struct.TYPE_4__, ptr %150, i32 0, i32 6
%152 = load i64, ptr %151, align 8
store i64 %152, ptr %10, align 8
%153 = load i64, ptr %10, align 8
%154 = trunc i64 %153 to i32
store i32 %154, ptr %15, align 4
%155 = load i32, ptr %15, align 4
%156 = call i32 asm "bswapl $0", "=r,0,~{dirflag},~{fpsr},~{flags}"(i32 %155) #2, !srcloc !10
store i32 %156, ptr %15, align 4
%157 = load i32, ptr %15, align 4
%158 = load ptr, ptr %3, align 8
store i32 %157, ptr %158, align 4
%159 = load ptr, ptr %3, align 8
%160 = getelementptr inbounds i8, ptr %159, i64 4
store ptr %160, ptr %3, align 8
%161 = load i32, ptr %15, align 4
store i32 %161, ptr %16, align 4
%162 = load i32, ptr %16, align 4
%163 = load ptr, ptr %4, align 8
%164 = getelementptr inbounds %struct.TYPE_4__, ptr %163, i32 0, i32 7
%165 = load i64, ptr %164, align 8
store i64 %165, ptr %10, align 8
%166 = load i64, ptr %10, align 8
%167 = trunc i64 %166 to i32
store i32 %167, ptr %17, align 4
%168 = load i32, ptr %17, align 4
%169 = call i32 asm "bswapl $0", "=r,0,~{dirflag},~{fpsr},~{flags}"(i32 %168) #2, !srcloc !11
store i32 %169, ptr %17, align 4
%170 = load i32, ptr %17, align 4
%171 = load ptr, ptr %3, align 8
store i32 %170, ptr %171, align 4
%172 = load ptr, ptr %3, align 8
%173 = getelementptr inbounds i8, ptr %172, i64 4
store ptr %173, ptr %3, align 8
%174 = load i32, ptr %17, align 4
store i32 %174, ptr %18, align 4
%175 = load i32, ptr %18, align 4
%176 = load ptr, ptr %4, align 8
%177 = getelementptr inbounds %struct.TYPE_4__, ptr %176, i32 0, i32 8
%178 = load i64, ptr %177, align 8
store i64 %178, ptr %10, align 8
%179 = load i64, ptr %10, align 8
%180 = trunc i64 %179 to i32
store i32 %180, ptr %19, align 4
%181 = load i32, ptr %19, align 4
%182 = call i32 asm "bswapl $0", "=r,0,~{dirflag},~{fpsr},~{flags}"(i32 %181) #2, !srcloc !12
store i32 %182, ptr %19, align 4
%183 = load i32, ptr %19, align 4
%184 = load ptr, ptr %3, align 8
store i32 %183, ptr %184, align 4
%185 = load ptr, ptr %3, align 8
%186 = getelementptr inbounds i8, ptr %185, i64 4
store ptr %186, ptr %3, align 8
%187 = load i32, ptr %19, align 4
store i32 %187, ptr %20, align 4
%188 = load i32, ptr %20, align 4
br label %189
189: ; preds = %123
%190 = load ptr, ptr %4, align 8
%191 = getelementptr inbounds %struct.TYPE_4__, ptr %190, i32 0, i32 1
store i32 0, ptr %191, align 8
ret i32 1
}
declare i32 @sha1_block_host_order(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind 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 = !{i64 1782}
!9 = !{i64 1899}
!10 = !{i64 2016}
!11 = !{i64 2133}
!12 = !{i64 2250}
|
; ModuleID = '/tmp/tmpvx3dnafy.c'
source_filename = "/tmp/tmpvx3dnafy.c"
target datalayout = "e-m:e-p270: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/tmpvx3dnafy.c"
target datalayout = "e-m:e-p270: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/tmp8lw3ygql.c'
source_filename = "/tmp/tmp8lw3ygql.c"
target datalayout = "e-m:e-p270: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_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8lw3ygql.c"
target datalayout = "e-m:e-p270: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_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpswn5zhxd.c'
source_filename = "/tmp/tmpswn5zhxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Usage: %s [text]\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
store ptr %7, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12)
store i32 0, ptr %3, align 4
br label %20
14: ; preds = %2
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 8
%17 = load ptr, ptr %16, align 8
%18 = call i32 @rot13(ptr noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %20
20: ; preds = %14, %10
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rot13(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpswn5zhxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Usage: %s [text]\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
store ptr %7, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12)
store i32 0, ptr %3, align 4
br label %20
14: ; preds = %2
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 8
%17 = load ptr, ptr %16, align 8
%18 = call i32 @rot13(ptr noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %20
20: ; preds = %14, %10
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rot13(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz55qtatt.c'
source_filename = "/tmp/tmpz55qtatt.c"
target datalayout = "e-m:e-p270: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 }
@S_IXUSR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fsop_path_exec_owner(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 -1, ptr %2, align 4
br label %14
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr @S_IXUSR, align 4
%13 = and i32 %11, %12
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %9, %8
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i64 @stat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz55qtatt.c"
target datalayout = "e-m:e-p270: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 }
@S_IXUSR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fsop_path_exec_owner(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 -1, ptr %2, align 4
br label %14
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr @S_IXUSR, align 4
%13 = and i32 %11, %12
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %9, %8
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i64 @stat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0dgkxzyg.c'
source_filename = "/tmp/tmp0dgkxzyg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @create_modes()
ret i32 0
}
declare i32 @create_modes(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0dgkxzyg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @create_modes()
ret i32 0
}
declare i32 @create_modes(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkmk2z4hh.c'
source_filename = "/tmp/tmpkmk2z4hh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"(\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c")\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isParenthese(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @strcmp(ptr noundef %3, ptr noundef @.str)
%5 = icmp eq i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str.1)
%9 = icmp eq i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkmk2z4hh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"(\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c")\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isParenthese(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @strcmp(ptr noundef %3, ptr noundef @.str)
%5 = icmp eq i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str.1)
%9 = icmp eq i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps1aa2mww.c'
source_filename = "/tmp/tmps1aa2mww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d %d %d %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
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%7 = call i32 @rotr(ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @rotr(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/tmps1aa2mww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d %d %d %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
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%7 = call i32 @rotr(ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @rotr(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/tmpupjh248l.c'
source_filename = "/tmp/tmpupjh248l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = add nsw i32 %5, 1
%7 = sext i32 %6 to i64
store i64 %7, ptr %3, align 8
%8 = load i64, ptr %3, align 8
%9 = call i32 @xmalloc(i64 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = load i64, ptr %3, align 8
%12 = call i64 @memcpy(i32 noundef %9, ptr noundef %10, i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
ret ptr %13
}
declare i32 @strlen(ptr noundef) #1
declare i64 @memcpy(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @xmalloc(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/tmpupjh248l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = add nsw i32 %5, 1
%7 = sext i32 %6 to i64
store i64 %7, ptr %3, align 8
%8 = load i64, ptr %3, align 8
%9 = call i32 @xmalloc(i64 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = load i64, ptr %3, align 8
%12 = call i64 @memcpy(i32 noundef %9, ptr noundef %10, i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
ret ptr %13
}
declare i32 @strlen(ptr noundef) #1
declare i64 @memcpy(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @xmalloc(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/tmpm3odnj9z.c'
source_filename = "/tmp/tmpm3odnj9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shim_sysfs(i32 noundef %0, ...) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @shim_enosys(i32 noundef 0, i32 noundef %3)
ret i32 %4
}
declare i32 @shim_enosys(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/tmpm3odnj9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shim_sysfs(i32 noundef %0, ...) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @shim_enosys(i32 noundef 0, i32 noundef %3)
ret i32 %4
}
declare i32 @shim_enosys(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/tmpij8diz94.c'
source_filename = "/tmp/tmpij8diz94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @T_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %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/tmpij8diz94.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @T_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %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/tmpzhcsc2jo.c'
source_filename = "/tmp/tmpzhcsc2jo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BTSHAS_SplitLine.ta = internal global [64 x ptr] zeroinitializer, align 16
@BTSHAS_SplitLine.tb = internal global [512 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @BTSHAS_SplitLine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr @BTSHAS_SplitLine.ta, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
store ptr %7, ptr %4, align 8
store ptr @BTSHAS_SplitLine.tb, ptr %5, align 8
br label %8
8: ; preds = %130, %104, %33, %1
%9 = load ptr, ptr %4, align 8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %12, label %136
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp sle i32 %15, 32
br i1 %16, label %17, label %34
17: ; preds = %12
br label %18
18: ; preds = %30, %17
%19 = load ptr, ptr %4, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %18
%24 = load ptr, ptr %4, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp sle i32 %26, 32
br label %28
28: ; preds = %23, %18
%29 = phi i1 [ false, %18 ], [ %27, %23 ]
br i1 %29, label %30, label %33
30: ; preds = %28
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %4, align 8
br label %18, !llvm.loop !6
33: ; preds = %28
br label %8, !llvm.loop !8
34: ; preds = %12
%35 = load ptr, ptr %4, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 34
br i1 %38, label %39, label %110
39: ; preds = %34
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %4, align 8
%42 = load ptr, ptr %5, align 8
store ptr %42, ptr %6, align 8
br label %43
43: ; preds = %98, %97, %39
%44 = load ptr, ptr %4, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %53
48: ; preds = %43
%49 = load ptr, ptr %4, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 34
br label %53
53: ; preds = %48, %43
%54 = phi i1 [ false, %43 ], [ %52, %48 ]
br i1 %54, label %55, label %104
55: ; preds = %53
%56 = load ptr, ptr %4, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 92
br i1 %59, label %60, label %98
60: ; preds = %55
%61 = load ptr, ptr %4, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %4, align 8
%63 = load ptr, ptr %4, align 8
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
switch i32 %65, label %91 [
i32 98, label %66
i32 110, label %71
i32 114, label %76
i32 116, label %81
i32 92, label %86
]
66: ; preds = %60
%67 = load ptr, ptr %4, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %4, align 8
%69 = load ptr, ptr %5, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %5, align 8
store i8 8, ptr %69, align 1
br label %97
71: ; preds = %60
%72 = load ptr, ptr %4, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %4, align 8
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %5, align 8
store i8 10, ptr %74, align 1
br label %97
76: ; preds = %60
%77 = load ptr, ptr %4, align 8
%78 = getelementptr inbounds i8, ptr %77, i32 1
store ptr %78, ptr %4, align 8
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds i8, ptr %79, i32 1
store ptr %80, ptr %5, align 8
store i8 13, ptr %79, align 1
br label %97
81: ; preds = %60
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds i8, ptr %82, i32 1
store ptr %83, ptr %4, align 8
%84 = load ptr, ptr %5, align 8
%85 = getelementptr inbounds i8, ptr %84, i32 1
store ptr %85, ptr %5, align 8
store i8 9, ptr %84, align 1
br label %97
86: ; preds = %60
%87 = load ptr, ptr %4, align 8
%88 = getelementptr inbounds i8, ptr %87, i32 1
store ptr %88, ptr %4, align 8
%89 = load ptr, ptr %5, align 8
%90 = getelementptr inbounds i8, ptr %89, i32 1
store ptr %90, ptr %5, align 8
store i8 92, ptr %89, align 1
br label %97
91: ; preds = %60
%92 = load ptr, ptr %4, align 8
%93 = getelementptr inbounds i8, ptr %92, i32 1
store ptr %93, ptr %4, align 8
%94 = load i8, ptr %92, align 1
%95 = load ptr, ptr %5, align 8
%96 = getelementptr inbounds i8, ptr %95, i32 1
store ptr %96, ptr %5, align 8
store i8 %94, ptr %95, align 1
br label %97
97: ; preds = %91, %86, %81, %76, %71, %66
br label %43, !llvm.loop !9
98: ; preds = %55
%99 = load ptr, ptr %4, align 8
%100 = getelementptr inbounds i8, ptr %99, i32 1
store ptr %100, ptr %4, align 8
%101 = load i8, ptr %99, align 1
%102 = load ptr, ptr %5, align 8
%103 = getelementptr inbounds i8, ptr %102, i32 1
store ptr %103, ptr %5, align 8
store i8 %101, ptr %102, align 1
br label %43, !llvm.loop !9
104: ; preds = %53
%105 = load ptr, ptr %5, align 8
%106 = getelementptr inbounds i8, ptr %105, i32 1
store ptr %106, ptr %5, align 8
store i8 0, ptr %105, align 1
%107 = load ptr, ptr %6, align 8
%108 = load ptr, ptr %3, align 8
%109 = getelementptr inbounds ptr, ptr %108, i32 1
store ptr %109, ptr %3, align 8
store ptr %107, ptr %108, align 8
br label %8, !llvm.loop !8
110: ; preds = %34
%111 = load ptr, ptr %5, align 8
store ptr %111, ptr %6, align 8
br label %112
112: ; preds = %124, %110
%113 = load ptr, ptr %4, align 8
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = icmp ne i32 %115, 0
br i1 %116, label %117, label %122
117: ; preds = %112
%118 = load ptr, ptr %4, align 8
%119 = load i8, ptr %118, align 1
%120 = sext i8 %119 to i32
%121 = icmp sgt i32 %120, 32
br label %122
122: ; preds = %117, %112
%123 = phi i1 [ false, %112 ], [ %121, %117 ]
br i1 %123, label %124, label %130
124: ; preds = %122
%125 = load ptr, ptr %4, align 8
%126 = getelementptr inbounds i8, ptr %125, i32 1
store ptr %126, ptr %4, align 8
%127 = load i8, ptr %125, align 1
%128 = load ptr, ptr %5, align 8
%129 = getelementptr inbounds i8, ptr %128, i32 1
store ptr %129, ptr %5, align 8
store i8 %127, ptr %128, align 1
br label %112, !llvm.loop !10
130: ; preds = %122
%131 = load ptr, ptr %5, align 8
%132 = getelementptr inbounds i8, ptr %131, i32 1
store ptr %132, ptr %5, align 8
store i8 0, ptr %131, align 1
%133 = load ptr, ptr %6, align 8
%134 = load ptr, ptr %3, align 8
%135 = getelementptr inbounds ptr, ptr %134, i32 1
store ptr %135, ptr %3, align 8
store ptr %133, ptr %134, align 8
br label %8, !llvm.loop !8
136: ; preds = %8
%137 = load ptr, ptr %3, align 8
%138 = getelementptr inbounds ptr, ptr %137, i32 1
store ptr %138, ptr %3, align 8
store ptr null, ptr %137, align 8
ret ptr @BTSHAS_SplitLine.ta
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzhcsc2jo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BTSHAS_SplitLine.ta = internal global [64 x ptr] zeroinitializer, align 16
@BTSHAS_SplitLine.tb = internal global [512 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @BTSHAS_SplitLine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr @BTSHAS_SplitLine.ta, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
store ptr %7, ptr %4, align 8
store ptr @BTSHAS_SplitLine.tb, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %.lr.ph, label %138
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %.backedge1
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp sle i32 %14, 32
br i1 %15, label %16, label %36
16: ; preds = %11
br label %17
17: ; preds = %29, %16
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %17
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp sle i32 %25, 32
br label %27
27: ; preds = %22, %17
%28 = phi i1 [ false, %17 ], [ %26, %22 ]
br i1 %28, label %29, label %32
29: ; preds = %27
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %4, align 8
br label %17, !llvm.loop !6
32: ; preds = %27
br label %.backedge1
.backedge1: ; preds = %32, %106, %132
%33 = load ptr, ptr %4, align 8
%34 = load i8, ptr %33, align 1
%35 = icmp ne i8 %34, 0
br i1 %35, label %11, label %._crit_edge, !llvm.loop !8
36: ; preds = %11
%37 = load ptr, ptr %4, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 34
br i1 %40, label %41, label %112
41: ; preds = %36
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 1
store ptr %43, ptr %4, align 8
%44 = load ptr, ptr %5, align 8
store ptr %44, ptr %6, align 8
br label %45
45: ; preds = %.backedge, %41
%46 = load ptr, ptr %4, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %55
50: ; preds = %45
%51 = load ptr, ptr %4, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp ne i32 %53, 34
br label %55
55: ; preds = %50, %45
%56 = phi i1 [ false, %45 ], [ %54, %50 ]
br i1 %56, label %57, label %106
57: ; preds = %55
%58 = load ptr, ptr %4, align 8
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 92
br i1 %61, label %62, label %100
62: ; preds = %57
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 1
store ptr %64, ptr %4, align 8
%65 = load ptr, ptr %4, align 8
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
switch i32 %67, label %93 [
i32 98, label %68
i32 110, label %73
i32 114, label %78
i32 116, label %83
i32 92, label %88
]
68: ; preds = %62
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %4, align 8
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %5, align 8
store i8 8, ptr %71, align 1
br label %99
73: ; preds = %62
%74 = load ptr, ptr %4, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %4, align 8
%76 = load ptr, ptr %5, align 8
%77 = getelementptr inbounds i8, ptr %76, i32 1
store ptr %77, ptr %5, align 8
store i8 10, ptr %76, align 1
br label %99
78: ; preds = %62
%79 = load ptr, ptr %4, align 8
%80 = getelementptr inbounds i8, ptr %79, i32 1
store ptr %80, ptr %4, align 8
%81 = load ptr, ptr %5, align 8
%82 = getelementptr inbounds i8, ptr %81, i32 1
store ptr %82, ptr %5, align 8
store i8 13, ptr %81, align 1
br label %99
83: ; preds = %62
%84 = load ptr, ptr %4, align 8
%85 = getelementptr inbounds i8, ptr %84, i32 1
store ptr %85, ptr %4, align 8
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds i8, ptr %86, i32 1
store ptr %87, ptr %5, align 8
store i8 9, ptr %86, align 1
br label %99
88: ; preds = %62
%89 = load ptr, ptr %4, align 8
%90 = getelementptr inbounds i8, ptr %89, i32 1
store ptr %90, ptr %4, align 8
%91 = load ptr, ptr %5, align 8
%92 = getelementptr inbounds i8, ptr %91, i32 1
store ptr %92, ptr %5, align 8
store i8 92, ptr %91, align 1
br label %99
93: ; preds = %62
%94 = load ptr, ptr %4, align 8
%95 = getelementptr inbounds i8, ptr %94, i32 1
store ptr %95, ptr %4, align 8
%96 = load i8, ptr %94, align 1
%97 = load ptr, ptr %5, align 8
%98 = getelementptr inbounds i8, ptr %97, i32 1
store ptr %98, ptr %5, align 8
store i8 %96, ptr %97, align 1
br label %99
99: ; preds = %93, %88, %83, %78, %73, %68
br label %.backedge
.backedge: ; preds = %99, %100
br label %45, !llvm.loop !9
100: ; preds = %57
%101 = load ptr, ptr %4, align 8
%102 = getelementptr inbounds i8, ptr %101, i32 1
store ptr %102, ptr %4, align 8
%103 = load i8, ptr %101, align 1
%104 = load ptr, ptr %5, align 8
%105 = getelementptr inbounds i8, ptr %104, i32 1
store ptr %105, ptr %5, align 8
store i8 %103, ptr %104, align 1
br label %.backedge
106: ; preds = %55
%107 = load ptr, ptr %5, align 8
%108 = getelementptr inbounds i8, ptr %107, i32 1
store ptr %108, ptr %5, align 8
store i8 0, ptr %107, align 1
%109 = load ptr, ptr %6, align 8
%110 = load ptr, ptr %3, align 8
%111 = getelementptr inbounds ptr, ptr %110, i32 1
store ptr %111, ptr %3, align 8
store ptr %109, ptr %110, align 8
br label %.backedge1
112: ; preds = %36
%113 = load ptr, ptr %5, align 8
store ptr %113, ptr %6, align 8
br label %114
114: ; preds = %126, %112
%115 = load ptr, ptr %4, align 8
%116 = load i8, ptr %115, align 1
%117 = sext i8 %116 to i32
%118 = icmp ne i32 %117, 0
br i1 %118, label %119, label %124
119: ; preds = %114
%120 = load ptr, ptr %4, align 8
%121 = load i8, ptr %120, align 1
%122 = sext i8 %121 to i32
%123 = icmp sgt i32 %122, 32
br label %124
124: ; preds = %119, %114
%125 = phi i1 [ false, %114 ], [ %123, %119 ]
br i1 %125, label %126, label %132
126: ; preds = %124
%127 = load ptr, ptr %4, align 8
%128 = getelementptr inbounds i8, ptr %127, i32 1
store ptr %128, ptr %4, align 8
%129 = load i8, ptr %127, align 1
%130 = load ptr, ptr %5, align 8
%131 = getelementptr inbounds i8, ptr %130, i32 1
store ptr %131, ptr %5, align 8
store i8 %129, ptr %130, align 1
br label %114, !llvm.loop !10
132: ; preds = %124
%133 = load ptr, ptr %5, align 8
%134 = getelementptr inbounds i8, ptr %133, i32 1
store ptr %134, ptr %5, align 8
store i8 0, ptr %133, align 1
%135 = load ptr, ptr %6, align 8
%136 = load ptr, ptr %3, align 8
%137 = getelementptr inbounds ptr, ptr %136, i32 1
store ptr %137, ptr %3, align 8
store ptr %135, ptr %136, align 8
br label %.backedge1
._crit_edge: ; preds = %.backedge1
br label %138
138: ; preds = %._crit_edge, %1
%139 = load ptr, ptr %3, align 8
%140 = getelementptr inbounds ptr, ptr %139, i32 1
store ptr %140, ptr %3, align 8
store ptr null, ptr %139, align 8
ret ptr @BTSHAS_SplitLine.ta
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmppb2udtxs.c'
source_filename = "/tmp/tmppb2udtxs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"0e0\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x [31 x double]], align 16
%3 = alloca [10 x [31 x i64]], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [100 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %67, %0
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 10
br i1 %12, label %13, label %70
13: ; preds = %10
store i32 1, ptr %5, align 4
br label %14
14: ; preds = %63, %13
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 31
br i1 %16, label %17, label %66
17: ; preds = %14
%18 = load i32, ptr %4, align 4
%19 = sub nsw i32 0, %18
%20 = sub nsw i32 %19, 1
%21 = call i32 @pow(i32 noundef 2, i32 noundef %20)
%22 = sub nsw i32 1, %21
%23 = load i32, ptr %5, align 4
%24 = call i32 @pow(i32 noundef 2, i32 noundef %23)
%25 = sub nsw i32 %24, 1
%26 = call i32 @pow(i32 noundef 2, i32 noundef %25)
%27 = mul nsw i32 %22, %26
%28 = sitofp i32 %27 to double
%29 = call i64 @log10(double noundef %28)
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x [31 x i64]], ptr %3, i64 0, i64 %31
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [31 x i64], ptr %32, i64 0, i64 %34
store i64 %29, ptr %35, align 8
%36 = load i32, ptr %4, align 4
%37 = sub nsw i32 0, %36
%38 = sub nsw i32 %37, 1
%39 = call i32 @pow(i32 noundef 2, i32 noundef %38)
%40 = sub nsw i32 1, %39
%41 = load i32, ptr %5, align 4
%42 = call i32 @pow(i32 noundef 2, i32 noundef %41)
%43 = sub nsw i32 %42, 1
%44 = call i32 @pow(i32 noundef 2, i32 noundef %43)
%45 = mul nsw i32 %40, %44
%46 = sitofp i32 %45 to double
%47 = call i64 @log10(double noundef %46)
%48 = load i32, ptr %4, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [10 x [31 x i64]], ptr %3, i64 0, i64 %49
%51 = load i32, ptr %5, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [31 x i64], ptr %50, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = sub nsw i64 %47, %54
%56 = sitofp i64 %55 to double
%57 = load i32, ptr %4, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x [31 x double]], ptr %2, i64 0, i64 %58
%60 = load i32, ptr %5, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [31 x double], ptr %59, i64 0, i64 %61
store double %56, ptr %62, align 8
br label %63
63: ; preds = %17
%64 = load i32, ptr %5, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %5, align 4
br label %14, !llvm.loop !6
66: ; preds = %14
br label %67
67: ; preds = %66
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %4, align 4
br label %10, !llvm.loop !8
70: ; preds = %10
br label %71
71: ; preds = %144, %70
br label %72
72: ; preds = %156, %71
%73 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%74 = call i64 @scanf(ptr noundef @.str, ptr noundef %73)
%75 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%76 = call i32 @strcmp(ptr noundef %75, ptr noundef @.str.1)
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %157
78: ; preds = %72
store i32 0, ptr %7, align 4
br label %79
79: ; preds = %87, %78
%80 = load i32, ptr %7, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %81
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp ne i32 %84, 101
br i1 %85, label %86, label %90
86: ; preds = %79
br label %87
87: ; preds = %86
%88 = load i32, ptr %7, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %7, align 4
br label %79, !llvm.loop !9
90: ; preds = %79
%91 = load i32, ptr %7, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %92
store i8 0, ptr %93, align 1
%94 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%95 = load i32, ptr %7, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %94, i64 %96
%98 = getelementptr inbounds i8, ptr %97, i64 1
%99 = call i64 @atol(ptr noundef %98)
store i64 %99, ptr %8, align 8
%100 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%101 = call double @atof(ptr noundef %100)
store double %101, ptr %9, align 8
br label %102
102: ; preds = %105, %90
%103 = load double, ptr %9, align 8
%104 = fcmp olt double %103, 1.000000e+00
br i1 %104, label %105, label %110
105: ; preds = %102
%106 = load double, ptr %9, align 8
%107 = fmul double %106, 1.000000e+01
store double %107, ptr %9, align 8
%108 = load i64, ptr %8, align 8
%109 = add nsw i64 %108, -1
store i64 %109, ptr %8, align 8
br label %102, !llvm.loop !10
110: ; preds = %102
store i32 0, ptr %4, align 4
br label %111
111: ; preds = %153, %110
%112 = load i32, ptr %4, align 4
%113 = icmp slt i32 %112, 10
br i1 %113, label %114, label %156
114: ; preds = %111
store i32 1, ptr %5, align 4
br label %115
115: ; preds = %149, %114
%116 = load i32, ptr %5, align 4
%117 = icmp slt i32 %116, 31
br i1 %117, label %118, label %152
118: ; preds = %115
%119 = load double, ptr %9, align 8
%120 = call i64 @log10(double noundef %119)
%121 = sitofp i64 %120 to double
%122 = load i32, ptr %4, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [10 x [31 x double]], ptr %2, i64 0, i64 %123
%125 = load i32, ptr %5, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [31 x double], ptr %124, i64 0, i64 %126
%128 = load double, ptr %127, align 8
%129 = fsub double %121, %128
%130 = fptosi double %129 to i64
%131 = call i32 @fabs(i64 noundef %130)
%132 = sitofp i32 %131 to double
%133 = fcmp olt double %132, 1.000000e-03
br i1 %133, label %134, label %148
134: ; preds = %118
%135 = load i64, ptr %8, align 8
%136 = load i32, ptr %4, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [10 x [31 x i64]], ptr %3, i64 0, i64 %137
%139 = load i32, ptr %5, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [31 x i64], ptr %138, i64 0, i64 %140
%142 = load i64, ptr %141, align 8
%143 = icmp eq i64 %135, %142
br i1 %143, label %144, label %148
144: ; preds = %134
%145 = load i32, ptr %4, align 4
%146 = load i32, ptr %5, align 4
%147 = call i32 @printf(ptr noundef @.str.2, i32 noundef %145, i32 noundef %146)
br label %71
148: ; preds = %134, %118
br label %149
149: ; preds = %148
%150 = load i32, ptr %5, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %5, align 4
br label %115, !llvm.loop !11
152: ; preds = %115
br label %153
153: ; preds = %152
%154 = load i32, ptr %4, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %4, align 4
br label %111, !llvm.loop !12
156: ; preds = %111
br label %72, !llvm.loop !13
157: ; preds = %72
ret i32 0
}
declare i64 @log10(double noundef) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @atol(ptr noundef) #1
declare double @atof(ptr noundef) #1
declare i32 @fabs(i64 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmppb2udtxs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"0e0\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x [31 x double]], align 16
%3 = alloca [10 x [31 x i64]], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [100 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 10
br i1 %11, label %.lr.ph2, label %72
.lr.ph2: ; preds = %0
br label %12
12: ; preds = %.lr.ph2, %67
store i32 1, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 31
br i1 %14, label %.lr.ph, label %66
.lr.ph: ; preds = %12
br label %15
15: ; preds = %.lr.ph, %61
%16 = load i32, ptr %4, align 4
%17 = sub nsw i32 0, %16
%18 = sub nsw i32 %17, 1
%19 = call i32 @pow(i32 noundef 2, i32 noundef %18)
%20 = sub nsw i32 1, %19
%21 = load i32, ptr %5, align 4
%22 = call i32 @pow(i32 noundef 2, i32 noundef %21)
%23 = sub nsw i32 %22, 1
%24 = call i32 @pow(i32 noundef 2, i32 noundef %23)
%25 = mul nsw i32 %20, %24
%26 = sitofp i32 %25 to double
%27 = call i64 @log10(double noundef %26)
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [10 x [31 x i64]], ptr %3, i64 0, i64 %29
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [31 x i64], ptr %30, i64 0, i64 %32
store i64 %27, ptr %33, align 8
%34 = load i32, ptr %4, align 4
%35 = sub nsw i32 0, %34
%36 = sub nsw i32 %35, 1
%37 = call i32 @pow(i32 noundef 2, i32 noundef %36)
%38 = sub nsw i32 1, %37
%39 = load i32, ptr %5, align 4
%40 = call i32 @pow(i32 noundef 2, i32 noundef %39)
%41 = sub nsw i32 %40, 1
%42 = call i32 @pow(i32 noundef 2, i32 noundef %41)
%43 = mul nsw i32 %38, %42
%44 = sitofp i32 %43 to double
%45 = call i64 @log10(double noundef %44)
%46 = load i32, ptr %4, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [10 x [31 x i64]], ptr %3, i64 0, i64 %47
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [31 x i64], ptr %48, i64 0, i64 %50
%52 = load i64, ptr %51, align 8
%53 = sub nsw i64 %45, %52
%54 = sitofp i64 %53 to double
%55 = load i32, ptr %4, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x [31 x double]], ptr %2, i64 0, i64 %56
%58 = load i32, ptr %5, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [31 x double], ptr %57, i64 0, i64 %59
store double %54, ptr %60, align 8
br label %61
61: ; preds = %15
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %5, align 4
%64 = load i32, ptr %5, align 4
%65 = icmp slt i32 %64, 31
br i1 %65, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %61
br label %66
66: ; preds = %._crit_edge, %12
br label %67
67: ; preds = %66
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %4, align 4
%70 = load i32, ptr %4, align 4
%71 = icmp slt i32 %70, 10
br i1 %71, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %67
br label %72
72: ; preds = %._crit_edge3, %0
%73 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%74 = call i64 @scanf(ptr noundef @.str, ptr noundef %73)
%75 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%76 = call i32 @strcmp(ptr noundef %75, ptr noundef @.str.1)
%77 = icmp ne i32 %76, 0
br i1 %77, label %.lr.ph17.lr.ph, label %._crit_edge18
.lr.ph17.lr.ph: ; preds = %72
br label %.lr.ph17
.lr.ph17: ; preds = %.lr.ph17.lr.ph, %148
br label %78
78: ; preds = %.lr.ph17, %167
store i32 0, ptr %7, align 4
%79 = load i32, ptr %7, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp ne i32 %83, 101
br i1 %84, label %.lr.ph5, label %95
.lr.ph5: ; preds = %78
br label %85
85: ; preds = %.lr.ph5, %86
br label %86
86: ; preds = %85
%87 = load i32, ptr %7, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %7, align 4
%89 = load i32, ptr %7, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %90
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp ne i32 %93, 101
br i1 %94, label %85, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %86
br label %95
95: ; preds = %._crit_edge6, %78
%96 = load i32, ptr %7, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %97
store i8 0, ptr %98, align 1
%99 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%100 = load i32, ptr %7, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i8, ptr %99, i64 %101
%103 = getelementptr inbounds i8, ptr %102, i64 1
%104 = call i64 @atol(ptr noundef %103)
store i64 %104, ptr %8, align 8
%105 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%106 = call double @atof(ptr noundef %105)
store double %106, ptr %9, align 8
%107 = load double, ptr %9, align 8
%108 = fcmp olt double %107, 1.000000e+00
br i1 %108, label %.lr.ph8, label %116
.lr.ph8: ; preds = %95
br label %109
109: ; preds = %.lr.ph8, %109
%110 = load double, ptr %9, align 8
%111 = fmul double %110, 1.000000e+01
store double %111, ptr %9, align 8
%112 = load i64, ptr %8, align 8
%113 = add nsw i64 %112, -1
store i64 %113, ptr %8, align 8
%114 = load double, ptr %9, align 8
%115 = fcmp olt double %114, 1.000000e+00
br i1 %115, label %109, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %109
br label %116
116: ; preds = %._crit_edge9, %95
store i32 0, ptr %4, align 4
%117 = load i32, ptr %4, align 4
%118 = icmp slt i32 %117, 10
br i1 %118, label %.lr.ph14, label %167
.lr.ph14: ; preds = %116
br label %119
119: ; preds = %.lr.ph14, %162
store i32 1, ptr %5, align 4
%120 = load i32, ptr %5, align 4
%121 = icmp slt i32 %120, 31
br i1 %121, label %.lr.ph11, label %161
.lr.ph11: ; preds = %119
br label %122
122: ; preds = %.lr.ph11, %156
%123 = load double, ptr %9, align 8
%124 = call i64 @log10(double noundef %123)
%125 = sitofp i64 %124 to double
%126 = load i32, ptr %4, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [10 x [31 x double]], ptr %2, i64 0, i64 %127
%129 = load i32, ptr %5, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [31 x double], ptr %128, i64 0, i64 %130
%132 = load double, ptr %131, align 8
%133 = fsub double %125, %132
%134 = fptosi double %133 to i64
%135 = call i32 @fabs(i64 noundef %134)
%136 = sitofp i32 %135 to double
%137 = fcmp olt double %136, 1.000000e-03
br i1 %137, label %138, label %155
138: ; preds = %122
%139 = load i64, ptr %8, align 8
%140 = load i32, ptr %4, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [10 x [31 x i64]], ptr %3, i64 0, i64 %141
%143 = load i32, ptr %5, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [31 x i64], ptr %142, i64 0, i64 %144
%146 = load i64, ptr %145, align 8
%147 = icmp eq i64 %139, %146
br i1 %147, label %148, label %155
148: ; preds = %138
%149 = load i32, ptr %4, align 4
%150 = load i32, ptr %5, align 4
%151 = call i32 @printf(ptr noundef @.str.2, i32 noundef %149, i32 noundef %150)
%152 = call i64 @scanf(ptr noundef @.str, ptr noundef %73)
%153 = call i32 @strcmp(ptr noundef %75, ptr noundef @.str.1)
%154 = icmp ne i32 %153, 0
br i1 %154, label %.lr.ph17, label %.._crit_edge18_crit_edge
155: ; preds = %138, %122
br label %156
156: ; preds = %155
%157 = load i32, ptr %5, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %5, align 4
%159 = load i32, ptr %5, align 4
%160 = icmp slt i32 %159, 31
br i1 %160, label %122, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %156
br label %161
161: ; preds = %._crit_edge12, %119
br label %162
162: ; preds = %161
%163 = load i32, ptr %4, align 4
%164 = add nsw i32 %163, 1
store i32 %164, ptr %4, align 4
%165 = load i32, ptr %4, align 4
%166 = icmp slt i32 %165, 10
br i1 %166, label %119, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %162
br label %167
167: ; preds = %._crit_edge15, %116
%168 = call i64 @scanf(ptr noundef @.str, ptr noundef %73)
%169 = call i32 @strcmp(ptr noundef %75, ptr noundef @.str.1)
%170 = icmp ne i32 %169, 0
br i1 %170, label %78, label %._crit_edge19, !llvm.loop !13
.._crit_edge18_crit_edge: ; preds = %148
br label %._crit_edge18
._crit_edge18: ; preds = %.._crit_edge18_crit_edge, %72
br label %171
._crit_edge19: ; preds = %167
br label %171
171: ; preds = %._crit_edge19, %._crit_edge18
ret i32 0
}
declare i64 @log10(double noundef) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @atol(ptr noundef) #1
declare double @atof(ptr noundef) #1
declare i32 @fabs(i64 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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 = '/tmp/tmppthfalra.c'
source_filename = "/tmp/tmppthfalra.c"
target datalayout = "e-m:e-p270: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.checksample.IDXS = private unnamed_addr constant [5 x [3 x i8]] [[3 x i8] c"\00\01\02", [3 x i8] c"\03\04\05", [3 x i8] c"\00\01\06", [3 x i8] c"\03\04\06", [3 x i8] c"\02\05\06"], align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checksample(ptr noundef %0, ptr noundef %1, double noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca [5 x [3 x i8]], align 1
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [7 x double], align 16
%14 = alloca [7 x double], align 16
%15 = alloca [7 x i8], align 1
%16 = alloca i8, align 1
%17 = alloca [7 x i32], align 16
%18 = alloca [720 x double], align 16
%19 = alloca [1008 x double], align 16
%20 = alloca [28 x i32], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store double %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.checksample.IDXS, i64 15, i1 false)
store i8 0, ptr %16, align 1
store i32 0, ptr %11, align 4
br label %21
21: ; preds = %93, %4
%22 = load i32, ptr %11, align 4
%23 = icmp slt i32 %22, 5
br i1 %23, label %24, label %96
24: ; preds = %21
%25 = load ptr, ptr %6, align 8
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %11, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [5 x [3 x i8]], ptr %10, i64 0, i64 %28
%30 = getelementptr inbounds [3 x i8], ptr %29, i64 0, i64 0
%31 = load ptr, ptr %9, align 8
%32 = call i32 @Hdetect(ptr noundef %25, ptr noundef %26, ptr noundef %30, ptr noundef %31)
%33 = load ptr, ptr %9, align 8
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds [7 x double], ptr %13, i64 0, i64 0
%36 = getelementptr inbounds [28 x i32], ptr %20, i64 0, i64 0
%37 = getelementptr inbounds [1008 x double], ptr %19, i64 0, i64 0
%38 = call i32 @dHDs(ptr noundef %33, ptr noundef %34, i32 noundef 7, ptr noundef %35, ptr noundef %36, ptr noundef %37)
%39 = getelementptr inbounds [7 x double], ptr %13, i64 0, i64 0
%40 = getelementptr inbounds [7 x double], ptr %14, i64 0, i64 0
%41 = getelementptr inbounds [7 x i8], ptr %15, i64 0, i64 0
%42 = call i32 @sortDs(ptr noundef %39, ptr noundef %40, ptr noundef %41)
store i32 0, ptr %12, align 4
br label %43
43: ; preds = %55, %24
%44 = load i32, ptr %12, align 4
%45 = icmp slt i32 %44, 5
br i1 %45, label %46, label %58
46: ; preds = %43
%47 = load i32, ptr %12, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [7 x i8], ptr %15, i64 0, i64 %48
%50 = load i8, ptr %49, align 1
%51 = zext i8 %50 to i32
%52 = load i32, ptr %12, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [7 x i32], ptr %17, i64 0, i64 %53
store i32 %51, ptr %54, align 4
br label %55
55: ; preds = %46
%56 = load i32, ptr %12, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %12, align 4
br label %43, !llvm.loop !6
58: ; preds = %43
%59 = load ptr, ptr %7, align 8
%60 = getelementptr inbounds [7 x i32], ptr %17, i64 0, i64 0
%61 = load ptr, ptr %9, align 8
%62 = getelementptr inbounds [720 x double], ptr %18, i64 0, i64 0
%63 = call i32 @u2h(ptr noundef %59, ptr noundef %60, i32 noundef 5, ptr noundef %61, ptr noundef %62)
%64 = load ptr, ptr %9, align 8
%65 = load ptr, ptr %7, align 8
%66 = getelementptr inbounds [7 x double], ptr %13, i64 0, i64 0
%67 = getelementptr inbounds [28 x i32], ptr %20, i64 0, i64 0
%68 = getelementptr inbounds [1008 x double], ptr %19, i64 0, i64 0
%69 = call i32 @dHDs(ptr noundef %64, ptr noundef %65, i32 noundef 7, ptr noundef %66, ptr noundef %67, ptr noundef %68)
store i8 0, ptr %16, align 1
store i32 0, ptr %12, align 4
br label %70
70: ; preds = %84, %58
%71 = load i32, ptr %12, align 4
%72 = icmp slt i32 %71, 7
br i1 %72, label %73, label %87
73: ; preds = %70
%74 = load i32, ptr %12, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [7 x double], ptr %13, i64 0, i64 %75
%77 = load double, ptr %76, align 8
%78 = load double, ptr %8, align 8
%79 = fcmp olt double %77, %78
br i1 %79, label %80, label %83
80: ; preds = %73
%81 = load i8, ptr %16, align 1
%82 = add i8 %81, 1
store i8 %82, ptr %16, align 1
br label %83
83: ; preds = %80, %73
br label %84
84: ; preds = %83
%85 = load i32, ptr %12, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %12, align 4
br label %70, !llvm.loop !8
87: ; preds = %70
%88 = load i8, ptr %16, align 1
%89 = zext i8 %88 to i32
%90 = icmp sgt i32 %89, 4
br i1 %90, label %91, label %92
91: ; preds = %87
store i32 1, ptr %5, align 4
br label %97
92: ; preds = %87
br label %93
93: ; preds = %92
%94 = load i32, ptr %11, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %11, align 4
br label %21, !llvm.loop !9
96: ; preds = %21
store i32 0, ptr %5, align 4
br label %97
97: ; preds = %96, %91
%98 = load i32, ptr %5, align 4
ret i32 %98
}
; 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 @Hdetect(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @dHDs(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @sortDs(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @u2h(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppthfalra.c"
target datalayout = "e-m:e-p270: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.checksample.IDXS = private unnamed_addr constant [5 x [3 x i8]] [[3 x i8] c"\00\01\02", [3 x i8] c"\03\04\05", [3 x i8] c"\00\01\06", [3 x i8] c"\03\04\06", [3 x i8] c"\02\05\06"], align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checksample(ptr noundef %0, ptr noundef %1, double noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca [5 x [3 x i8]], align 1
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [7 x double], align 16
%14 = alloca [7 x double], align 16
%15 = alloca [7 x i8], align 1
%16 = alloca i8, align 1
%17 = alloca [7 x i32], align 16
%18 = alloca [720 x double], align 16
%19 = alloca [1008 x double], align 16
%20 = alloca [28 x i32], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store double %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.checksample.IDXS, i64 15, i1 false)
store i8 0, ptr %16, align 1
store i32 0, ptr %11, align 4
%21 = load i32, ptr %11, align 4
%22 = icmp slt i32 %21, 5
br i1 %22, label %.lr.ph5, label %99
.lr.ph5: ; preds = %4
br label %23
23: ; preds = %.lr.ph5, %94
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %11, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [5 x [3 x i8]], ptr %10, i64 0, i64 %27
%29 = getelementptr inbounds [3 x i8], ptr %28, i64 0, i64 0
%30 = load ptr, ptr %9, align 8
%31 = call i32 @Hdetect(ptr noundef %24, ptr noundef %25, ptr noundef %29, ptr noundef %30)
%32 = load ptr, ptr %9, align 8
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds [7 x double], ptr %13, i64 0, i64 0
%35 = getelementptr inbounds [28 x i32], ptr %20, i64 0, i64 0
%36 = getelementptr inbounds [1008 x double], ptr %19, i64 0, i64 0
%37 = call i32 @dHDs(ptr noundef %32, ptr noundef %33, i32 noundef 7, ptr noundef %34, ptr noundef %35, ptr noundef %36)
%38 = getelementptr inbounds [7 x double], ptr %13, i64 0, i64 0
%39 = getelementptr inbounds [7 x double], ptr %14, i64 0, i64 0
%40 = getelementptr inbounds [7 x i8], ptr %15, i64 0, i64 0
%41 = call i32 @sortDs(ptr noundef %38, ptr noundef %39, ptr noundef %40)
store i32 0, ptr %12, align 4
%42 = load i32, ptr %12, align 4
%43 = icmp slt i32 %42, 5
br i1 %43, label %.lr.ph, label %58
.lr.ph: ; preds = %23
br label %44
44: ; preds = %.lr.ph, %53
%45 = load i32, ptr %12, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [7 x i8], ptr %15, i64 0, i64 %46
%48 = load i8, ptr %47, align 1
%49 = zext i8 %48 to i32
%50 = load i32, ptr %12, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [7 x i32], ptr %17, i64 0, i64 %51
store i32 %49, ptr %52, align 4
br label %53
53: ; preds = %44
%54 = load i32, ptr %12, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %12, align 4
%56 = load i32, ptr %12, align 4
%57 = icmp slt i32 %56, 5
br i1 %57, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %58
58: ; preds = %._crit_edge, %23
%59 = load ptr, ptr %7, align 8
%60 = getelementptr inbounds [7 x i32], ptr %17, i64 0, i64 0
%61 = load ptr, ptr %9, align 8
%62 = getelementptr inbounds [720 x double], ptr %18, i64 0, i64 0
%63 = call i32 @u2h(ptr noundef %59, ptr noundef %60, i32 noundef 5, ptr noundef %61, ptr noundef %62)
%64 = load ptr, ptr %9, align 8
%65 = load ptr, ptr %7, align 8
%66 = getelementptr inbounds [7 x double], ptr %13, i64 0, i64 0
%67 = getelementptr inbounds [28 x i32], ptr %20, i64 0, i64 0
%68 = getelementptr inbounds [1008 x double], ptr %19, i64 0, i64 0
%69 = call i32 @dHDs(ptr noundef %64, ptr noundef %65, i32 noundef 7, ptr noundef %66, ptr noundef %67, ptr noundef %68)
store i8 0, ptr %16, align 1
store i32 0, ptr %12, align 4
%70 = load i32, ptr %12, align 4
%71 = icmp slt i32 %70, 7
br i1 %71, label %.lr.ph2, label %88
.lr.ph2: ; preds = %58
br label %72
72: ; preds = %.lr.ph2, %83
%73 = load i32, ptr %12, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [7 x double], ptr %13, i64 0, i64 %74
%76 = load double, ptr %75, align 8
%77 = load double, ptr %8, align 8
%78 = fcmp olt double %76, %77
br i1 %78, label %79, label %82
79: ; preds = %72
%80 = load i8, ptr %16, align 1
%81 = add i8 %80, 1
store i8 %81, ptr %16, align 1
br label %82
82: ; preds = %79, %72
br label %83
83: ; preds = %82
%84 = load i32, ptr %12, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %12, align 4
%86 = load i32, ptr %12, align 4
%87 = icmp slt i32 %86, 7
br i1 %87, label %72, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %83
br label %88
88: ; preds = %._crit_edge3, %58
%89 = load i8, ptr %16, align 1
%90 = zext i8 %89 to i32
%91 = icmp sgt i32 %90, 4
br i1 %91, label %92, label %93
92: ; preds = %88
store i32 1, ptr %5, align 4
br label %100
93: ; preds = %88
br label %94
94: ; preds = %93
%95 = load i32, ptr %11, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %11, align 4
%97 = load i32, ptr %11, align 4
%98 = icmp slt i32 %97, 5
br i1 %98, label %23, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %94
br label %99
99: ; preds = %._crit_edge6, %4
store i32 0, ptr %5, align 4
br label %100
100: ; preds = %99, %92
%101 = load i32, ptr %5, align 4
ret i32 %101
}
; 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 @Hdetect(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @dHDs(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @sortDs(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @u2h(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmplm0y75bn.c'
source_filename = "/tmp/tmplm0y75bn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @newline() #0 {
%1 = call i32 @writestr(ptr noundef @.str)
ret void
}
declare i32 @writestr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplm0y75bn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @newline() #0 {
%1 = call i32 @writestr(ptr noundef @.str)
ret void
}
declare i32 @writestr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnpv4fw8v.c'
source_filename = "/tmp/tmpnpv4fw8v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"Enter an abitrarily long string, ending with carriage return > \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Check sum is %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %5
5: ; preds = %9, %0
%6 = load i8, ptr %3, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 10
br i1 %8, label %9, label %15
9: ; preds = %5
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%11 = load i32, ptr %2, align 4
%12 = load i8, ptr %3, align 1
%13 = sext i8 %12 to i32
%14 = add nsw i32 %11, %13
store i32 %14, ptr %2, align 4
br label %5, !llvm.loop !6
15: ; preds = %5
%16 = load i32, ptr %2, align 4
%17 = sub nsw i32 %16, 10
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = srem i32 %18, 64
%20 = add nsw i32 %19, 32
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnpv4fw8v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [64 x i8] c"Enter an abitrarily long string, ending with carriage return > \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Check sum is %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = load i8, ptr %3, align 1
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 10
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.1, ptr noundef %3)
%10 = load i32, ptr %2, align 4
%11 = load i8, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = add nsw i32 %10, %12
store i32 %13, ptr %2, align 4
%14 = load i8, ptr %3, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 10
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 %2, align 4
%19 = sub nsw i32 %18, 10
store i32 %19, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = srem i32 %20, 64
%22 = add nsw i32 %21, 32
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfez1e8ie.c'
source_filename = "/tmp/tmpfez1e8ie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"HTTP/1.1 200 OK\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Content-type: text/plain\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"CGI work !\0A\00", align 1
@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
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %6
}
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/tmpfez1e8ie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"HTTP/1.1 200 OK\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Content-type: text/plain\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"CGI work !\0A\00", align 1
@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
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %6
}
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/tmp7uxqj2uo.c'
source_filename = "/tmp/tmp7uxqj2uo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PROT_EXEC = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = 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/tmp7uxqj2uo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PROT_EXEC = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = 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/tmp0xuqzoz_.c'
source_filename = "/tmp/tmp0xuqzoz_.c"
target datalayout = "e-m:e-p270: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.fb_var_screeninfo = type { i32, i32, i32, i64, i64 }
@.str = private unnamed_addr constant [9 x i8] c"/dev/fb0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@FBIOGET_VSCREENINFO = dso_local global i32 0, align 4
@FBIOPAN_DISPLAY = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca %struct.fb_var_screeninfo, align 8
store i32 0, ptr %1, align 4
%8 = load i32, ptr @O_RDWR, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr @FBIOGET_VSCREENINFO, align 4
%12 = call i32 @ioctl(i32 noundef %10, i32 noundef %11, ptr noundef %7)
%13 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %7, i32 0, i32 0
%14 = load i32, ptr %13, align 8
%15 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %7, i32 0, i32 1
%16 = load i32, ptr %15, align 4
%17 = mul nsw i32 %14, %16
%18 = sdiv i32 %17, 8
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %7, i32 0, i32 2
%21 = load i32, ptr %20, align 8
%22 = mul nsw i32 %19, %21
store i32 %22, ptr %4, align 4
%23 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %7, i32 0, i32 4
store i64 0, ptr %23, align 8
%24 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %7, i32 0, i32 3
store i64 0, ptr %24, align 8
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr @FBIOPAN_DISPLAY, align 4
%27 = call i32 @ioctl(i32 noundef %25, i32 noundef %26, ptr noundef %7)
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr @PROT_READ, align 4
%30 = load i32, ptr @PROT_WRITE, align 4
%31 = or i32 %29, %30
%32 = load i32, ptr @MAP_SHARED, align 4
%33 = load i32, ptr %2, align 4
%34 = call i64 @mmap(i32 noundef 0, i32 noundef %28, i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef 0)
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %6, align 8
store i32 0, ptr %5, align 4
br label %36
36: ; preds = %47, %0
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %50
40: ; preds = %36
%41 = load i32, ptr %5, align 4
%42 = trunc i32 %41 to i8
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 %42, ptr %46, align 1
br label %47
47: ; preds = %40
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
br label %36, !llvm.loop !6
50: ; preds = %36
%51 = call i32 @sleep(i32 noundef 2)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0xuqzoz_.c"
target datalayout = "e-m:e-p270: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.fb_var_screeninfo = type { i32, i32, i32, i64, i64 }
@.str = private unnamed_addr constant [9 x i8] c"/dev/fb0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@FBIOGET_VSCREENINFO = dso_local global i32 0, align 4
@FBIOPAN_DISPLAY = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca %struct.fb_var_screeninfo, align 8
store i32 0, ptr %1, align 4
%8 = load i32, ptr @O_RDWR, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr @FBIOGET_VSCREENINFO, align 4
%12 = call i32 @ioctl(i32 noundef %10, i32 noundef %11, ptr noundef %7)
%13 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %7, i32 0, i32 0
%14 = load i32, ptr %13, align 8
%15 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %7, i32 0, i32 1
%16 = load i32, ptr %15, align 4
%17 = mul nsw i32 %14, %16
%18 = sdiv i32 %17, 8
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %7, i32 0, i32 2
%21 = load i32, ptr %20, align 8
%22 = mul nsw i32 %19, %21
store i32 %22, ptr %4, align 4
%23 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %7, i32 0, i32 4
store i64 0, ptr %23, align 8
%24 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %7, i32 0, i32 3
store i64 0, ptr %24, align 8
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr @FBIOPAN_DISPLAY, align 4
%27 = call i32 @ioctl(i32 noundef %25, i32 noundef %26, ptr noundef %7)
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr @PROT_READ, align 4
%30 = load i32, ptr @PROT_WRITE, align 4
%31 = or i32 %29, %30
%32 = load i32, ptr @MAP_SHARED, align 4
%33 = load i32, ptr %2, align 4
%34 = call i64 @mmap(i32 noundef 0, i32 noundef %28, i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef 0)
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %6, align 8
store i32 0, ptr %5, align 4
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph, label %52
.lr.ph: ; preds = %0
br label %39
39: ; preds = %.lr.ph, %46
%40 = load i32, ptr %5, align 4
%41 = trunc i32 %40 to i8
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 %41, ptr %45, align 1
br label %46
46: ; preds = %39
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %5, align 4
%49 = load i32, ptr %5, align 4
%50 = load i32, ptr %4, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %52
52: ; preds = %._crit_edge, %0
%53 = call i32 @sleep(i32 noundef 2)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp86u45sgz.c'
source_filename = "/tmp/tmp86u45sgz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"ARGV : {%s}\0A\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Hello Friends !!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %6
6: ; preds = %11, %2
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i32 1
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %8, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %6
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %12, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
br label %6, !llvm.loop !6
15: ; preds = %6
%16 = call i32 @puts(ptr noundef @.str.1)
%17 = call i32 @puts(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr 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/tmp86u45sgz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"ARGV : {%s}\0A\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Hello Friends !!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i32 1
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %7, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %.lr.ph, label %18
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %10
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i32 1
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %15, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %18
18: ; preds = %._crit_edge, %2
%19 = call i32 @puts(ptr noundef @.str.1)
%20 = call i32 @puts(ptr noundef @.str.2)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr 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/tmpvmhp_oo3.c'
source_filename = "/tmp/tmpvmhp_oo3.c"
target datalayout = "e-m:e-p270: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/tmpvmhp_oo3.c"
target datalayout = "e-m:e-p270: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/tmpkjxq579s.c'
source_filename = "/tmp/tmpkjxq579s.c"
target datalayout = "e-m:e-p270: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/tmpkjxq579s.c"
target datalayout = "e-m:e-p270: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/tmpwuru0aj9.c'
source_filename = "/tmp/tmpwuru0aj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"NOT IMPLEMENTED:pa_context_get_sink_info_by_name\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_context_get_sink_info_by_name() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpwuru0aj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"NOT IMPLEMENTED:pa_context_get_sink_info_by_name\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_context_get_sink_info_by_name() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmp7cyktm_q.c'
source_filename = "/tmp/tmp7cyktm_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @client_microtcp(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
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/tmp7cyktm_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @client_microtcp(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
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/tmpb_tkskd8.c'
source_filename = "/tmp/tmpb_tkskd8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [4 x i32], align 16
%2 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @leitura(ptr noundef %2)
ret i32 0
}
declare i32 @leitura(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb_tkskd8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [4 x i32], align 16
%2 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @leitura(ptr noundef %2)
ret i32 0
}
declare i32 @leitura(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb_bb6xse.c'
source_filename = "/tmp/tmpb_bb6xse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @config_get_int(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 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 i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = call ptr @config_get(ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef null)
store ptr %15, ptr %10, align 8
%16 = load ptr, ptr %10, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %20, label %18
18: ; preds = %4
%19 = load i32, ptr %9, align 4
store i32 %19, ptr %5, align 4
br label %28
20: ; preds = %4
%21 = load ptr, ptr %10, align 8
%22 = call i64 @string_to_int(ptr noundef %21, ptr noundef %11)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = load i32, ptr %9, align 4
store i32 %25, ptr %5, align 4
br label %28
26: ; preds = %20
%27 = load i32, ptr %11, align 4
store i32 %27, ptr %5, align 4
br label %28
28: ; preds = %26, %24, %18
%29 = load i32, ptr %5, align 4
ret i32 %29
}
declare ptr @config_get(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @string_to_int(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/tmpb_bb6xse.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @config_get_int(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 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 i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = call ptr @config_get(ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef null)
store ptr %15, ptr %10, align 8
%16 = load ptr, ptr %10, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %20, label %18
18: ; preds = %4
%19 = load i32, ptr %9, align 4
store i32 %19, ptr %5, align 4
br label %28
20: ; preds = %4
%21 = load ptr, ptr %10, align 8
%22 = call i64 @string_to_int(ptr noundef %21, ptr noundef %11)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = load i32, ptr %9, align 4
store i32 %25, ptr %5, align 4
br label %28
26: ; preds = %20
%27 = load i32, ptr %11, align 4
store i32 %27, ptr %5, align 4
br label %28
28: ; preds = %26, %24, %18
%29 = load i32, ptr %5, align 4
ret i32 %29
}
declare ptr @config_get(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @string_to_int(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/tmpthzmaj2n.c'
source_filename = "/tmp/tmpthzmaj2n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [6 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6], align 16
@.str = private unnamed_addr constant [32 x i8] c"The sum of elements of a is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 24, i1 false)
store i32 6, ptr %3, align 4
%4 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 0
%5 = load i32, ptr %3, align 4
%6 = call i32 @get_sum(ptr noundef %4, i32 noundef %5)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 0
%9 = call i32 @f(ptr noundef %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, i32 noundef) #2
declare i32 @get_sum(ptr noundef, i32 noundef) #2
declare i32 @f(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpthzmaj2n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [6 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6], align 16
@.str = private unnamed_addr constant [32 x i8] c"The sum of elements of a is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 24, i1 false)
store i32 6, ptr %3, align 4
%4 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 0
%5 = load i32, ptr %3, align 4
%6 = call i32 @get_sum(ptr noundef %4, i32 noundef %5)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 0
%9 = call i32 @f(ptr noundef %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, i32 noundef) #2
declare i32 @get_sum(ptr noundef, i32 noundef) #2
declare i32 @f(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7yiiy1vt.c'
source_filename = "/tmp/tmp7yiiy1vt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s <ip> <game file>\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"E.g.: %s 192.168.0.120 TetrisKiwamemichi_v6.bin\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7yiiy1vt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s <ip> <game file>\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"E.g.: %s 192.168.0.120 TetrisKiwamemichi_v6.bin\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvsog2mah.c'
source_filename = "/tmp/tmpvsog2mah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1BGF%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @StartFill(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, i64 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvsog2mah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1BGF%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @StartFill(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, i64 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzmxueh8p.c'
source_filename = "/tmp/tmpzmxueh8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cst_time_memcmp_safest1(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %11, %12
br i1 %13, label %14, label %54
14: ; preds = %3
%15 = load i64, ptr %6, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %54
17: ; preds = %14
%18 = load ptr, ptr %4, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %54
20: ; preds = %17
%21 = load ptr, ptr %5, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %54
23: ; preds = %20
%24 = load ptr, ptr %4, align 8
store ptr %24, ptr %9, align 8
%25 = load ptr, ptr %5, align 8
store ptr %25, ptr %10, align 8
br label %26
26: ; preds = %50, %23
%27 = load i64, ptr %6, align 8
%28 = add i64 %27, -1
store i64 %28, ptr %6, align 8
%29 = load ptr, ptr %9, align 8
%30 = load i64, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
%32 = load i8, ptr %31, align 1
%33 = zext i8 %32 to i32
%34 = load ptr, ptr %10, align 8
%35 = load i64, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %34, i64 %35
%37 = load i8, ptr %36, align 1
%38 = zext i8 %37 to i32
%39 = sub nsw i32 %33, %38
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %8, align 4
%42 = sub nsw i32 %41, 1
%43 = load i32, ptr %8, align 4
%44 = xor i32 %43, -1
%45 = and i32 %42, %44
%46 = ashr i32 %45, 8
%47 = and i32 %40, %46
%48 = load i32, ptr %8, align 4
%49 = or i32 %47, %48
store i32 %49, ptr %7, align 4
br label %50
50: ; preds = %26
%51 = load i64, ptr %6, align 8
%52 = icmp ne i64 %51, 0
br i1 %52, label %26, label %53, !llvm.loop !6
53: ; preds = %50
br label %54
54: ; preds = %53, %20, %17, %14, %3
%55 = load i32, ptr %7, align 4
%56 = sub nsw i32 %55, 1
%57 = ashr i32 %56, 8
%58 = load i32, ptr %7, align 4
%59 = ashr i32 %58, 8
%60 = add nsw i32 %57, %59
%61 = add nsw i32 %60, 1
ret i32 %61
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzmxueh8p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cst_time_memcmp_safest1(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %11, %12
br i1 %13, label %14, label %54
14: ; preds = %3
%15 = load i64, ptr %6, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %54
17: ; preds = %14
%18 = load ptr, ptr %4, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %54
20: ; preds = %17
%21 = load ptr, ptr %5, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %54
23: ; preds = %20
%24 = load ptr, ptr %4, align 8
store ptr %24, ptr %9, align 8
%25 = load ptr, ptr %5, align 8
store ptr %25, ptr %10, align 8
br label %26
26: ; preds = %50, %23
%27 = load i64, ptr %6, align 8
%28 = add i64 %27, -1
store i64 %28, ptr %6, align 8
%29 = load ptr, ptr %9, align 8
%30 = load i64, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
%32 = load i8, ptr %31, align 1
%33 = zext i8 %32 to i32
%34 = load ptr, ptr %10, align 8
%35 = load i64, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %34, i64 %35
%37 = load i8, ptr %36, align 1
%38 = zext i8 %37 to i32
%39 = sub nsw i32 %33, %38
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %8, align 4
%42 = sub nsw i32 %41, 1
%43 = load i32, ptr %8, align 4
%44 = xor i32 %43, -1
%45 = and i32 %42, %44
%46 = ashr i32 %45, 8
%47 = and i32 %40, %46
%48 = load i32, ptr %8, align 4
%49 = or i32 %47, %48
store i32 %49, ptr %7, align 4
br label %50
50: ; preds = %26
%51 = load i64, ptr %6, align 8
%52 = icmp ne i64 %51, 0
br i1 %52, label %26, label %53, !llvm.loop !6
53: ; preds = %50
br label %54
54: ; preds = %53, %20, %17, %14, %3
%55 = load i32, ptr %7, align 4
%56 = sub nsw i32 %55, 1
%57 = ashr i32 %56, 8
%58 = load i32, ptr %7, align 4
%59 = ashr i32 %58, 8
%60 = add nsw i32 %57, %59
%61 = add nsw i32 %60, 1
ret i32 %61
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3whmo5qt.c'
source_filename = "/tmp/tmp3whmo5qt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"in conflict's arch init\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @arch_init() #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/tmp3whmo5qt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"in conflict's arch init\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @arch_init() #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/tmpmf756p1j.c'
source_filename = "/tmp/tmpmf756p1j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT16_MAX = dso_local global i64 0, align 8
@INT16_MIN = 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/tmpmf756p1j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT16_MAX = dso_local global i64 0, align 8
@INT16_MIN = 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/tmpd9h8hjff.c'
source_filename = "/tmp/tmpd9h8hjff.c"
target datalayout = "e-m:e-p270: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/tmpd9h8hjff.c"
target datalayout = "e-m:e-p270: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/tmpqwtejoaw.c'
source_filename = "/tmp/tmpqwtejoaw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"info databases\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @show_database(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca [1024 x i8], align 16
%8 = alloca [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%10 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str)
%11 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%12 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%13 = call i32 @i0(ptr noundef %11, ptr noundef %12)
store i32 %13, ptr %6, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%18 = load i64, ptr %5, align 8
%19 = call i32 @strncpy(ptr noundef %16, ptr noundef %17, i64 noundef %18)
store i32 0, ptr %3, align 4
br label %21
20: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
21: ; preds = %20, %15
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i32 @i0(ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqwtejoaw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"info databases\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @show_database(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca [1024 x i8], align 16
%8 = alloca [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%10 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str)
%11 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%12 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%13 = call i32 @i0(ptr noundef %11, ptr noundef %12)
store i32 %13, ptr %6, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%18 = load i64, ptr %5, align 8
%19 = call i32 @strncpy(ptr noundef %16, ptr noundef %17, i64 noundef %18)
store i32 0, ptr %3, align 4
br label %21
20: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
21: ; preds = %20, %15
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i32 @i0(ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdlof007b.c'
source_filename = "/tmp/tmpdlof007b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Digite a ementa\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" %300s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @DIS_le_ementa() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @calloc(i32 noundef 300, i32 noundef 1)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str)
%10 = load ptr, ptr %1, align 8
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %10)
%12 = load ptr, ptr %1, align 8
ret ptr %12
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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" }
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/tmpdlof007b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Digite a ementa\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" %300s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @DIS_le_ementa() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @calloc(i32 noundef 300, i32 noundef 1)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str)
%10 = load ptr, ptr %1, align 8
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %10)
%12 = load ptr, ptr %1, align 8
ret ptr %12
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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" }
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/tmpz19iuml1.c'
source_filename = "/tmp/tmpz19iuml1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"_\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @uniqueID(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call ptr @emit(ptr noundef %7, ptr noundef %8)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = call ptr @emit(ptr noundef @.str, ptr noundef %10)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %5, align 8
%14 = call ptr @emit(ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = call ptr @emit(ptr noundef @.str.1, ptr noundef %15)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
ret ptr %17
}
declare ptr @emit(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/tmpz19iuml1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"_\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @uniqueID(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call ptr @emit(ptr noundef %7, ptr noundef %8)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = call ptr @emit(ptr noundef @.str, ptr noundef %10)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %5, align 8
%14 = call ptr @emit(ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = call ptr @emit(ptr noundef @.str.1, ptr noundef %15)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
ret ptr %17
}
declare ptr @emit(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/tmpshxsaco2.c'
source_filename = "/tmp/tmpshxsaco2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_getopt_long_r(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store ptr %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
%13 = load i32, ptr %7, align 4
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %12, align 8
%19 = call i32 @_getopt_internal_r(i32 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 0, ptr noundef %18, i32 noundef 0)
ret i32 %19
}
declare i32 @_getopt_internal_r(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpshxsaco2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_getopt_long_r(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store ptr %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
%13 = load i32, ptr %7, align 4
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %12, align 8
%19 = call i32 @_getopt_internal_r(i32 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 0, ptr noundef %18, i32 noundef 0)
ret i32 %19
}
declare i32 @_getopt_internal_r(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4j_z6udu.c'
source_filename = "/tmp/tmp4j_z6udu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Name exceeds 65 characters limit: %s\00", align 1
@.str.1 = private unnamed_addr constant [59 x i8] c"Zone or Family with base scope should have only one / : %s\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"Base part of the name is empty in %s\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"Zone or Family part of the name is empty in %s\00", align 1
@.str.4 = private unnamed_addr constant [48 x i8] c"Base part of the name exceed 32 chars limit: %s\00", align 1
@.str.5 = private unnamed_addr constant [58 x i8] c"Zone or Family part of the name exceed 32 chars limit: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cgi_check_strlen_x2(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = icmp sgt i32 %8, 65
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @cgi_error(ptr noundef @.str, ptr noundef %11)
store i32 1, ptr %2, align 4
br label %77
13: ; preds = %1
store i64 0, ptr %6, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %14
14: ; preds = %73, %13
%15 = load ptr, ptr %3, align 8
%16 = load i64, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %20, label %76
20: ; preds = %14
%21 = load ptr, ptr %3, align 8
%22 = load i64, ptr %6, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 47
br i1 %26, label %27, label %52
27: ; preds = %20
%28 = load i32, ptr %5, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load ptr, ptr %3, align 8
%32 = call i32 @cgi_error(ptr noundef @.str.1, ptr noundef %31)
store i32 1, ptr %2, align 4
br label %77
33: ; preds = %27
%34 = load i32, ptr %4, align 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %33
%37 = load ptr, ptr %3, align 8
%38 = call i32 @cgi_error(ptr noundef @.str.2, ptr noundef %37)
store i32 1, ptr %2, align 4
br label %77
39: ; preds = %33
%40 = load i64, ptr %6, align 8
%41 = load ptr, ptr %3, align 8
%42 = call i32 @strlen(ptr noundef %41)
%43 = sub nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = icmp eq i64 %40, %44
br i1 %45, label %46, label %49
46: ; preds = %39
%47 = load ptr, ptr %3, align 8
%48 = call i32 @cgi_error(ptr noundef @.str.3, ptr noundef %47)
store i32 1, ptr %2, align 4
br label %77
49: ; preds = %39
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
br label %52
52: ; preds = %49, %20
%53 = load i32, ptr %5, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %58, label %55
55: ; preds = %52
%56 = load i32, ptr %4, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %4, align 4
br label %61
58: ; preds = %52
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
br label %61
61: ; preds = %58, %55
%62 = load i32, ptr %4, align 4
%63 = icmp sgt i32 %62, 32
br i1 %63, label %64, label %67
64: ; preds = %61
%65 = load ptr, ptr %3, align 8
%66 = call i32 @cgi_error(ptr noundef @.str.4, ptr noundef %65)
store i32 1, ptr %2, align 4
br label %77
67: ; preds = %61
%68 = load i32, ptr %5, align 4
%69 = icmp sgt i32 %68, 34
br i1 %69, label %70, label %73
70: ; preds = %67
%71 = load ptr, ptr %3, align 8
%72 = call i32 @cgi_error(ptr noundef @.str.5, ptr noundef %71)
store i32 1, ptr %2, align 4
br label %77
73: ; preds = %67
%74 = load i64, ptr %6, align 8
%75 = add i64 %74, 1
store i64 %75, ptr %6, align 8
br label %14, !llvm.loop !6
76: ; preds = %14
store i32 0, ptr %2, align 4
br label %77
77: ; preds = %76, %70, %64, %46, %36, %30, %10
%78 = load i32, ptr %2, align 4
ret i32 %78
}
declare i32 @strlen(ptr noundef) #1
declare i32 @cgi_error(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4j_z6udu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Name exceeds 65 characters limit: %s\00", align 1
@.str.1 = private unnamed_addr constant [59 x i8] c"Zone or Family with base scope should have only one / : %s\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"Base part of the name is empty in %s\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"Zone or Family part of the name is empty in %s\00", align 1
@.str.4 = private unnamed_addr constant [48 x i8] c"Base part of the name exceed 32 chars limit: %s\00", align 1
@.str.5 = private unnamed_addr constant [58 x i8] c"Zone or Family part of the name exceed 32 chars limit: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cgi_check_strlen_x2(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = icmp sgt i32 %8, 65
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @cgi_error(ptr noundef @.str, ptr noundef %11)
store i32 1, ptr %2, align 4
br label %81
13: ; preds = %1
store i64 0, ptr %6, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%14 = load ptr, ptr %3, align 8
%15 = load i64, ptr %6, align 8
%16 = getelementptr inbounds i8, ptr %14, i64 %15
%17 = load i8, ptr %16, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %.lr.ph, label %80
.lr.ph: ; preds = %13
br label %19
19: ; preds = %.lr.ph, %72
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 47
br i1 %25, label %26, label %51
26: ; preds = %19
%27 = load i32, ptr %5, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = load ptr, ptr %3, align 8
%31 = call i32 @cgi_error(ptr noundef @.str.1, ptr noundef %30)
store i32 1, ptr %2, align 4
br label %81
32: ; preds = %26
%33 = load i32, ptr %4, align 4
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load ptr, ptr %3, align 8
%37 = call i32 @cgi_error(ptr noundef @.str.2, ptr noundef %36)
store i32 1, ptr %2, align 4
br label %81
38: ; preds = %32
%39 = load i64, ptr %6, align 8
%40 = load ptr, ptr %3, align 8
%41 = call i32 @strlen(ptr noundef %40)
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = icmp eq i64 %39, %43
br i1 %44, label %45, label %48
45: ; preds = %38
%46 = load ptr, ptr %3, align 8
%47 = call i32 @cgi_error(ptr noundef @.str.3, ptr noundef %46)
store i32 1, ptr %2, align 4
br label %81
48: ; preds = %38
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %5, align 4
br label %51
51: ; preds = %48, %19
%52 = load i32, ptr %5, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %57, label %54
54: ; preds = %51
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %4, align 4
br label %60
57: ; preds = %51
%58 = load i32, ptr %5, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %5, align 4
br label %60
60: ; preds = %57, %54
%61 = load i32, ptr %4, align 4
%62 = icmp sgt i32 %61, 32
br i1 %62, label %63, label %66
63: ; preds = %60
%64 = load ptr, ptr %3, align 8
%65 = call i32 @cgi_error(ptr noundef @.str.4, ptr noundef %64)
store i32 1, ptr %2, align 4
br label %81
66: ; preds = %60
%67 = load i32, ptr %5, align 4
%68 = icmp sgt i32 %67, 34
br i1 %68, label %69, label %72
69: ; preds = %66
%70 = load ptr, ptr %3, align 8
%71 = call i32 @cgi_error(ptr noundef @.str.5, ptr noundef %70)
store i32 1, ptr %2, align 4
br label %81
72: ; preds = %66
%73 = load i64, ptr %6, align 8
%74 = add i64 %73, 1
store i64 %74, ptr %6, align 8
%75 = load ptr, ptr %3, align 8
%76 = load i64, ptr %6, align 8
%77 = getelementptr inbounds i8, ptr %75, i64 %76
%78 = load i8, ptr %77, align 1
%79 = icmp ne i8 %78, 0
br i1 %79, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %72
br label %80
80: ; preds = %._crit_edge, %13
store i32 0, ptr %2, align 4
br label %81
81: ; preds = %80, %69, %63, %45, %35, %29, %10
%82 = load i32, ptr %2, align 4
ret i32 %82
}
declare i32 @strlen(ptr noundef) #1
declare i32 @cgi_error(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_rkx54ai.c'
source_filename = "/tmp/tmp_rkx54ai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x%08x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 6, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = call i32 @fannkuch(i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fannkuch(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_rkx54ai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x%08x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 6, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = call i32 @fannkuch(i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fannkuch(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/tmp4wsnek0w.c'
source_filename = "/tmp/tmp4wsnek0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basChDir() #0 {
%1 = alloca ptr, align 8
%2 = call ptr (...) @popString()
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @chdir(ptr noundef %3)
%5 = call i32 @pushNumber(i32 noundef %4)
%6 = load ptr, ptr %1, align 8
%7 = call i32 @eFree(ptr noundef %6)
ret void
}
declare ptr @popString(...) #1
declare i32 @pushNumber(i32 noundef) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @eFree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4wsnek0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basChDir() #0 {
%1 = alloca ptr, align 8
%2 = call ptr (...) @popString()
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @chdir(ptr noundef %3)
%5 = call i32 @pushNumber(i32 noundef %4)
%6 = load ptr, ptr %1, align 8
%7 = call i32 @eFree(ptr noundef %6)
ret void
}
declare ptr @popString(...) #1
declare i32 @pushNumber(i32 noundef) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @eFree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpofsu39eo.c'
source_filename = "/tmp/tmpofsu39eo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isValidSudoku(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [9 x [9 x i32]], align 16
%9 = alloca [9 x [9 x i32]], align 16
%10 = alloca [9 x [9 x i32]], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 324, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 324, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 324, i1 false)
store i32 0, ptr %11, align 4
br label %15
15: ; preds = %106, %3
%16 = load i32, ptr %11, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %109
19: ; preds = %15
store i32 0, ptr %12, align 4
br label %20
20: ; preds = %102, %19
%21 = load i32, ptr %12, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %105
24: ; preds = %20
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %11, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr %12, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 46
br i1 %35, label %36, label %101
36: ; preds = %24
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %11, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %12, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = sub nsw i32 %46, 48
%48 = sub nsw i32 %47, 1
store i32 %48, ptr %13, align 4
%49 = load i32, ptr %11, align 4
%50 = sdiv i32 %49, 3
%51 = mul nsw i32 %50, 3
%52 = load i32, ptr %12, align 4
%53 = sdiv i32 %52, 3
%54 = add nsw i32 %51, %53
store i32 %54, ptr %14, align 4
%55 = load i32, ptr %11, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [9 x [9 x i32]], ptr %8, i64 0, i64 %56
%58 = load i32, ptr %13, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [9 x i32], ptr %57, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp ne i32 %61, 0
br i1 %62, label %81, label %63
63: ; preds = %36
%64 = load i32, ptr %12, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [9 x [9 x i32]], ptr %9, i64 0, i64 %65
%67 = load i32, ptr %13, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [9 x i32], ptr %66, i64 0, i64 %68
%70 = load i32, ptr %69, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %81, label %72
72: ; preds = %63
%73 = load i32, ptr %14, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [9 x [9 x i32]], ptr %10, i64 0, i64 %74
%76 = load i32, ptr %13, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [9 x i32], ptr %75, i64 0, i64 %77
%79 = load i32, ptr %78, align 4
%80 = icmp ne i32 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %72, %63, %36
store i32 0, ptr %4, align 4
br label %110
82: ; preds = %72
%83 = load i32, ptr %14, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [9 x [9 x i32]], ptr %10, i64 0, i64 %84
%86 = load i32, ptr %13, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [9 x i32], ptr %85, i64 0, i64 %87
store i32 1, ptr %88, align 4
%89 = load i32, ptr %12, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [9 x [9 x i32]], ptr %9, i64 0, i64 %90
%92 = load i32, ptr %13, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [9 x i32], ptr %91, i64 0, i64 %93
store i32 1, ptr %94, align 4
%95 = load i32, ptr %11, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [9 x [9 x i32]], ptr %8, i64 0, i64 %96
%98 = load i32, ptr %13, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [9 x i32], ptr %97, i64 0, i64 %99
store i32 1, ptr %100, align 4
br label %101
101: ; preds = %82, %24
br label %102
102: ; preds = %101
%103 = load i32, ptr %12, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %12, align 4
br label %20, !llvm.loop !6
105: ; preds = %20
br label %106
106: ; preds = %105
%107 = load i32, ptr %11, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %11, align 4
br label %15, !llvm.loop !8
109: ; preds = %15
store i32 1, ptr %4, align 4
br label %110
110: ; preds = %109, %81
%111 = load i32, ptr %4, align 4
ret i32 %111
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpofsu39eo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isValidSudoku(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [9 x [9 x i32]], align 16
%9 = alloca [9 x [9 x i32]], align 16
%10 = alloca [9 x [9 x i32]], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 324, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 324, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 324, i1 false)
store i32 0, ptr %11, align 4
%15 = load i32, ptr %11, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph2, label %113
.lr.ph2: ; preds = %3
br label %18
18: ; preds = %.lr.ph2, %107
store i32 0, ptr %12, align 4
%19 = load i32, ptr %12, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %106
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %100
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = load i32, ptr %12, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 46
br i1 %33, label %34, label %99
34: ; preds = %22
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %11, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %12, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = sub nsw i32 %44, 48
%46 = sub nsw i32 %45, 1
store i32 %46, ptr %13, align 4
%47 = load i32, ptr %11, align 4
%48 = sdiv i32 %47, 3
%49 = mul nsw i32 %48, 3
%50 = load i32, ptr %12, align 4
%51 = sdiv i32 %50, 3
%52 = add nsw i32 %49, %51
store i32 %52, ptr %14, align 4
%53 = load i32, ptr %11, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [9 x [9 x i32]], ptr %8, i64 0, i64 %54
%56 = load i32, ptr %13, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [9 x i32], ptr %55, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = icmp ne i32 %59, 0
br i1 %60, label %79, label %61
61: ; preds = %34
%62 = load i32, ptr %12, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [9 x [9 x i32]], ptr %9, i64 0, i64 %63
%65 = load i32, ptr %13, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [9 x i32], ptr %64, i64 0, i64 %66
%68 = load i32, ptr %67, align 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %79, label %70
70: ; preds = %61
%71 = load i32, ptr %14, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [9 x [9 x i32]], ptr %10, i64 0, i64 %72
%74 = load i32, ptr %13, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [9 x i32], ptr %73, i64 0, i64 %75
%77 = load i32, ptr %76, align 4
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %70, %61, %34
store i32 0, ptr %4, align 4
br label %114
80: ; preds = %70
%81 = load i32, ptr %14, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [9 x [9 x i32]], ptr %10, i64 0, i64 %82
%84 = load i32, ptr %13, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [9 x i32], ptr %83, i64 0, i64 %85
store i32 1, ptr %86, align 4
%87 = load i32, ptr %12, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [9 x [9 x i32]], ptr %9, i64 0, i64 %88
%90 = load i32, ptr %13, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [9 x i32], ptr %89, i64 0, i64 %91
store i32 1, ptr %92, align 4
%93 = load i32, ptr %11, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [9 x [9 x i32]], ptr %8, i64 0, i64 %94
%96 = load i32, ptr %13, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [9 x i32], ptr %95, i64 0, i64 %97
store i32 1, ptr %98, align 4
br label %99
99: ; preds = %80, %22
br label %100
100: ; preds = %99
%101 = load i32, ptr %12, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %12, align 4
%103 = load i32, ptr %12, align 4
%104 = load i32, ptr %7, align 4
%105 = icmp slt i32 %103, %104
br i1 %105, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %100
br label %106
106: ; preds = %._crit_edge, %18
br label %107
107: ; preds = %106
%108 = load i32, ptr %11, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %11, align 4
%110 = load i32, ptr %11, align 4
%111 = load i32, ptr %6, align 4
%112 = icmp slt i32 %110, %111
br i1 %112, label %18, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %107
br label %113
113: ; preds = %._crit_edge3, %3
store i32 1, ptr %4, align 4
br label %114
114: ; preds = %113, %79
%115 = load i32, ptr %4, align 4
ret i32 %115
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzqe_2zq4.c'
source_filename = "/tmp/tmpzqe_2zq4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x95\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x95() #0 {
%1 = call i64 @isodigit(i32 noundef 149)
%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 750, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmpzqe_2zq4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x95\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x95() #0 {
%1 = call i64 @isodigit(i32 noundef 149)
%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 750, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmpv06awgn3.c'
source_filename = "/tmp/tmpv06awgn3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv06awgn3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2owtyuum.c'
source_filename = "/tmp/tmp2owtyuum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %9, align 8
store i64 0, ptr %10, align 8
br label %13
13: ; preds = %45, %3
%14 = load i64, ptr %10, align 8
%15 = load i64, ptr %7, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %17, label %48
17: ; preds = %13
%18 = load ptr, ptr %8, align 8
%19 = load i64, ptr %10, align 8
%20 = getelementptr inbounds i8, ptr %18, i64 %19
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = load ptr, ptr %9, align 8
%24 = load i64, ptr %10, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = icmp slt i32 %22, %27
br i1 %28, label %29, label %30
29: ; preds = %17
store i32 -1, ptr %4, align 4
br label %49
30: ; preds = %17
%31 = load ptr, ptr %9, align 8
%32 = load i64, ptr %10, align 8
%33 = getelementptr inbounds i8, ptr %31, i64 %32
%34 = load i8, ptr %33, align 1
%35 = zext i8 %34 to i32
%36 = load ptr, ptr %8, align 8
%37 = load i64, ptr %10, align 8
%38 = getelementptr inbounds i8, ptr %36, i64 %37
%39 = load i8, ptr %38, align 1
%40 = zext i8 %39 to i32
%41 = icmp slt i32 %35, %40
br i1 %41, label %42, label %43
42: ; preds = %30
store i32 1, ptr %4, align 4
br label %49
43: ; preds = %30
br label %44
44: ; preds = %43
br label %45
45: ; preds = %44
%46 = load i64, ptr %10, align 8
%47 = add i64 %46, 1
store i64 %47, ptr %10, align 8
br label %13, !llvm.loop !6
48: ; preds = %13
store i32 0, ptr %4, align 4
br label %49
49: ; preds = %48, %42, %29
%50 = load i32, ptr %4, align 4
ret i32 %50
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp2owtyuum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %9, align 8
store i64 0, ptr %10, align 8
%13 = load i64, ptr %10, align 8
%14 = load i64, ptr %7, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %.lr.ph, label %50
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %44
%17 = load ptr, ptr %8, align 8
%18 = load i64, ptr %10, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = load ptr, ptr %9, align 8
%23 = load i64, ptr %10, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i8, ptr %24, align 1
%26 = zext i8 %25 to i32
%27 = icmp slt i32 %21, %26
br i1 %27, label %28, label %29
28: ; preds = %16
store i32 -1, ptr %4, align 4
br label %51
29: ; preds = %16
%30 = load ptr, ptr %9, align 8
%31 = load i64, ptr %10, align 8
%32 = getelementptr inbounds i8, ptr %30, i64 %31
%33 = load i8, ptr %32, align 1
%34 = zext i8 %33 to i32
%35 = load ptr, ptr %8, align 8
%36 = load i64, ptr %10, align 8
%37 = getelementptr inbounds i8, ptr %35, i64 %36
%38 = load i8, ptr %37, align 1
%39 = zext i8 %38 to i32
%40 = icmp slt i32 %34, %39
br i1 %40, label %41, label %42
41: ; preds = %29
store i32 1, ptr %4, align 4
br label %51
42: ; preds = %29
br label %43
43: ; preds = %42
br label %44
44: ; preds = %43
%45 = load i64, ptr %10, align 8
%46 = add i64 %45, 1
store i64 %46, ptr %10, align 8
%47 = load i64, ptr %10, align 8
%48 = load i64, ptr %7, align 8
%49 = icmp ult i64 %47, %48
br i1 %49, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %51
51: ; preds = %50, %41, %28
%52 = load i32, ptr %4, align 4
ret i32 %52
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmi0uoois.c'
source_filename = "/tmp/tmpmi0uoois.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\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 [10 x i8] c"Data %d:\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [8 x [8 x i32]], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [64 x [2 x i32]], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [8 x i8], align 1
store i32 0, ptr %1, align 4
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %4, align 4
br label %13
13: ; preds = %300, %0
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %303
17: ; preds = %13
store i32 0, ptr %8, align 4
store i32 0, ptr %5, align 4
br label %18
18: ; preds = %53, %17
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %19, 8
br i1 %20, label %21, label %56
21: ; preds = %18
%22 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0
%23 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %22)
store i32 0, ptr %6, align 4
br label %24
24: ; preds = %49, %21
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %25, 8
br i1 %26, label %27, label %52
27: ; preds = %24
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 48
br i1 %33, label %34, label %41
34: ; preds = %27
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %36
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [8 x i32], ptr %37, i64 0, i64 %39
store i32 0, ptr %40, align 4
br label %48
41: ; preds = %27
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %43
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [8 x i32], ptr %44, i64 0, i64 %46
store i32 1, ptr %47, align 4
br label %48
48: ; preds = %41, %34
br label %49
49: ; preds = %48
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
br label %24, !llvm.loop !6
52: ; preds = %24
br label %53
53: ; preds = %52
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %5, align 4
br label %18, !llvm.loop !8
56: ; preds = %18
%57 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %9, ptr noundef %10)
%58 = load i32, ptr %9, align 4
%59 = sub nsw i32 %58, 1
%60 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 0
%61 = getelementptr inbounds [2 x i32], ptr %60, i64 0, i64 0
store i32 %59, ptr %61, align 16
%62 = load i32, ptr %10, align 4
%63 = sub nsw i32 %62, 1
%64 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 0
%65 = getelementptr inbounds [2 x i32], ptr %64, i64 0, i64 1
store i32 %63, ptr %65, align 4
%66 = load i32, ptr %8, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %8, align 4
br label %68
68: ; preds = %56, %270
%69 = load i32, ptr %8, align 4
%70 = add nsw i32 %69, -1
store i32 %70, ptr %8, align 4
%71 = load i32, ptr %8, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %72
%74 = getelementptr inbounds [2 x i32], ptr %73, i64 0, i64 0
%75 = load i32, ptr %74, align 8
store i32 %75, ptr %9, align 4
%76 = load i32, ptr %8, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %77
%79 = getelementptr inbounds [2 x i32], ptr %78, i64 0, i64 1
%80 = load i32, ptr %79, align 4
store i32 %80, ptr %10, align 4
%81 = load i32, ptr %10, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %82
%84 = load i32, ptr %9, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [8 x i32], ptr %83, i64 0, i64 %85
store i32 0, ptr %86, align 4
%87 = load i32, ptr %9, align 4
%88 = sub nsw i32 %87, 1
store i32 %88, ptr %5, align 4
br label %89
89: ; preds = %128, %68
%90 = load i32, ptr %9, align 4
%91 = sub nsw i32 %90, 3
%92 = load i32, ptr %5, align 4
%93 = icmp sle i32 %91, %92
br i1 %93, label %94, label %97
94: ; preds = %89
%95 = load i32, ptr %5, align 4
%96 = icmp sge i32 %95, 0
br label %97
97: ; preds = %94, %89
%98 = phi i1 [ false, %89 ], [ %96, %94 ]
br i1 %98, label %99, label %131
99: ; preds = %97
%100 = load i32, ptr %10, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %101
%103 = load i32, ptr %5, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [8 x i32], ptr %102, i64 0, i64 %104
%106 = load i32, ptr %105, align 4
%107 = icmp eq i32 %106, 1
br i1 %107, label %108, label %127
108: ; preds = %99
%109 = load i32, ptr %10, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %110
%112 = load i32, ptr %5, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [8 x i32], ptr %111, i64 0, i64 %113
store i32 0, ptr %114, align 4
%115 = load i32, ptr %5, align 4
%116 = load i32, ptr %8, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %117
%119 = getelementptr inbounds [2 x i32], ptr %118, i64 0, i64 0
store i32 %115, ptr %119, align 8
%120 = load i32, ptr %10, align 4
%121 = load i32, ptr %8, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %122
%124 = getelementptr inbounds [2 x i32], ptr %123, i64 0, i64 1
store i32 %120, ptr %124, align 4
%125 = load i32, ptr %8, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %8, align 4
br label %127
127: ; preds = %108, %99
br label %128
128: ; preds = %127
%129 = load i32, ptr %5, align 4
%130 = add nsw i32 %129, -1
store i32 %130, ptr %5, align 4
br label %89, !llvm.loop !9
131: ; preds = %97
%132 = load i32, ptr %9, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %5, align 4
br label %134
134: ; preds = %173, %131
%135 = load i32, ptr %9, align 4
%136 = add nsw i32 %135, 3
%137 = load i32, ptr %5, align 4
%138 = icmp sge i32 %136, %137
br i1 %138, label %139, label %142
139: ; preds = %134
%140 = load i32, ptr %5, align 4
%141 = icmp sle i32 %140, 7
br label %142
142: ; preds = %139, %134
%143 = phi i1 [ false, %134 ], [ %141, %139 ]
br i1 %143, label %144, label %176
144: ; preds = %142
%145 = load i32, ptr %10, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %146
%148 = load i32, ptr %5, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds [8 x i32], ptr %147, i64 0, i64 %149
%151 = load i32, ptr %150, align 4
%152 = icmp eq i32 %151, 1
br i1 %152, label %153, label %172
153: ; preds = %144
%154 = load i32, ptr %10, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %155
%157 = load i32, ptr %5, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [8 x i32], ptr %156, i64 0, i64 %158
store i32 0, ptr %159, align 4
%160 = load i32, ptr %5, align 4
%161 = load i32, ptr %8, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %162
%164 = getelementptr inbounds [2 x i32], ptr %163, i64 0, i64 0
store i32 %160, ptr %164, align 8
%165 = load i32, ptr %10, align 4
%166 = load i32, ptr %8, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %167
%169 = getelementptr inbounds [2 x i32], ptr %168, i64 0, i64 1
store i32 %165, ptr %169, align 4
%170 = load i32, ptr %8, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %8, align 4
br label %172
172: ; preds = %153, %144
br label %173
173: ; preds = %172
%174 = load i32, ptr %5, align 4
%175 = add nsw i32 %174, 1
store i32 %175, ptr %5, align 4
br label %134, !llvm.loop !10
176: ; preds = %142
%177 = load i32, ptr %10, align 4
%178 = sub nsw i32 %177, 1
store i32 %178, ptr %5, align 4
br label %179
179: ; preds = %218, %176
%180 = load i32, ptr %10, align 4
%181 = sub nsw i32 %180, 3
%182 = load i32, ptr %5, align 4
%183 = icmp sle i32 %181, %182
br i1 %183, label %184, label %187
184: ; preds = %179
%185 = load i32, ptr %5, align 4
%186 = icmp sge i32 %185, 0
br label %187
187: ; preds = %184, %179
%188 = phi i1 [ false, %179 ], [ %186, %184 ]
br i1 %188, label %189, label %221
189: ; preds = %187
%190 = load i32, ptr %5, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %191
%193 = load i32, ptr %9, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds [8 x i32], ptr %192, i64 0, i64 %194
%196 = load i32, ptr %195, align 4
%197 = icmp eq i32 %196, 1
br i1 %197, label %198, label %217
198: ; preds = %189
%199 = load i32, ptr %5, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %200
%202 = load i32, ptr %9, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds [8 x i32], ptr %201, i64 0, i64 %203
store i32 0, ptr %204, align 4
%205 = load i32, ptr %9, align 4
%206 = load i32, ptr %8, align 4
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %207
%209 = getelementptr inbounds [2 x i32], ptr %208, i64 0, i64 0
store i32 %205, ptr %209, align 8
%210 = load i32, ptr %5, align 4
%211 = load i32, ptr %8, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %212
%214 = getelementptr inbounds [2 x i32], ptr %213, i64 0, i64 1
store i32 %210, ptr %214, align 4
%215 = load i32, ptr %8, align 4
%216 = add nsw i32 %215, 1
store i32 %216, ptr %8, align 4
br label %217
217: ; preds = %198, %189
br label %218
218: ; preds = %217
%219 = load i32, ptr %5, align 4
%220 = add nsw i32 %219, -1
store i32 %220, ptr %5, align 4
br label %179, !llvm.loop !11
221: ; preds = %187
%222 = load i32, ptr %10, align 4
%223 = add nsw i32 %222, 1
store i32 %223, ptr %5, align 4
br label %224
224: ; preds = %263, %221
%225 = load i32, ptr %10, align 4
%226 = add nsw i32 %225, 3
%227 = load i32, ptr %5, align 4
%228 = icmp sge i32 %226, %227
br i1 %228, label %229, label %232
229: ; preds = %224
%230 = load i32, ptr %5, align 4
%231 = icmp sle i32 %230, 7
br label %232
232: ; preds = %229, %224
%233 = phi i1 [ false, %224 ], [ %231, %229 ]
br i1 %233, label %234, label %266
234: ; preds = %232
%235 = load i32, ptr %5, align 4
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %236
%238 = load i32, ptr %9, align 4
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds [8 x i32], ptr %237, i64 0, i64 %239
%241 = load i32, ptr %240, align 4
%242 = icmp eq i32 %241, 1
br i1 %242, label %243, label %262
243: ; preds = %234
%244 = load i32, ptr %5, align 4
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %245
%247 = load i32, ptr %9, align 4
%248 = sext i32 %247 to i64
%249 = getelementptr inbounds [8 x i32], ptr %246, i64 0, i64 %248
store i32 0, ptr %249, align 4
%250 = load i32, ptr %9, align 4
%251 = load i32, ptr %8, align 4
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %252
%254 = getelementptr inbounds [2 x i32], ptr %253, i64 0, i64 0
store i32 %250, ptr %254, align 8
%255 = load i32, ptr %5, align 4
%256 = load i32, ptr %8, align 4
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %257
%259 = getelementptr inbounds [2 x i32], ptr %258, i64 0, i64 1
store i32 %255, ptr %259, align 4
%260 = load i32, ptr %8, align 4
%261 = add nsw i32 %260, 1
store i32 %261, ptr %8, align 4
br label %262
262: ; preds = %243, %234
br label %263
263: ; preds = %262
%264 = load i32, ptr %5, align 4
%265 = add nsw i32 %264, 1
store i32 %265, ptr %5, align 4
br label %224, !llvm.loop !12
266: ; preds = %232
%267 = load i32, ptr %8, align 4
%268 = icmp eq i32 %267, 0
br i1 %268, label %269, label %270
269: ; preds = %266
br label %271
270: ; preds = %266
br label %68
271: ; preds = %269
%272 = load i32, ptr %4, align 4
%273 = add nsw i32 %272, 1
%274 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %273)
store i32 0, ptr %5, align 4
br label %275
275: ; preds = %296, %271
%276 = load i32, ptr %5, align 4
%277 = icmp slt i32 %276, 8
br i1 %277, label %278, label %299
278: ; preds = %275
store i32 0, ptr %6, align 4
br label %279
279: ; preds = %291, %278
%280 = load i32, ptr %6, align 4
%281 = icmp slt i32 %280, 8
br i1 %281, label %282, label %294
282: ; preds = %279
%283 = load i32, ptr %5, align 4
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %284
%286 = load i32, ptr %6, align 4
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds [8 x i32], ptr %285, i64 0, i64 %287
%289 = load i32, ptr %288, align 4
%290 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %289)
br label %291
291: ; preds = %282
%292 = load i32, ptr %6, align 4
%293 = add nsw i32 %292, 1
store i32 %293, ptr %6, align 4
br label %279, !llvm.loop !13
294: ; preds = %279
%295 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %296
296: ; preds = %294
%297 = load i32, ptr %5, align 4
%298 = add nsw i32 %297, 1
store i32 %298, ptr %5, align 4
br label %275, !llvm.loop !14
299: ; preds = %275
br label %300
300: ; preds = %299
%301 = load i32, ptr %4, align 4
%302 = add nsw i32 %301, 1
store i32 %302, ptr %4, align 4
br label %13, !llvm.loop !15
303: ; preds = %13
ret i32 0
}
declare i32 @scanf(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}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmi0uoois.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\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 [10 x i8] c"Data %d:\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [8 x [8 x i32]], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [64 x [2 x i32]], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [8 x i8], align 1
store i32 0, ptr %1, align 4
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph11, label %308
.lr.ph11: ; preds = %0
br label %16
16: ; preds = %.lr.ph11, %302
store i32 0, ptr %8, align 4
store i32 0, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %17, 8
br i1 %18, label %.lr.ph2, label %57
.lr.ph2: ; preds = %16
br label %19
19: ; preds = %.lr.ph2, %52
%20 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %20)
store i32 0, ptr %6, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp slt i32 %22, 8
br i1 %23, label %.lr.ph, label %51
.lr.ph: ; preds = %19
br label %24
24: ; preds = %.lr.ph, %46
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 48
br i1 %30, label %31, label %38
31: ; preds = %24
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %33
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [8 x i32], ptr %34, i64 0, i64 %36
store i32 0, ptr %37, align 4
br label %45
38: ; preds = %24
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %40
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [8 x i32], ptr %41, i64 0, i64 %43
store i32 1, ptr %44, align 4
br label %45
45: ; preds = %38, %31
br label %46
46: ; preds = %45
%47 = load i32, ptr %6, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %6, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp slt i32 %49, 8
br i1 %50, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %51
51: ; preds = %._crit_edge, %19
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
%55 = load i32, ptr %5, align 4
%56 = icmp slt i32 %55, 8
br i1 %56, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %57
57: ; preds = %._crit_edge3, %16
%58 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %9, ptr noundef %10)
%59 = load i32, ptr %9, align 4
%60 = sub nsw i32 %59, 1
%61 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 0
%62 = getelementptr inbounds [2 x i32], ptr %61, i64 0, i64 0
store i32 %60, ptr %62, align 16
%63 = load i32, ptr %10, align 4
%64 = sub nsw i32 %63, 1
%65 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 0
%66 = getelementptr inbounds [2 x i32], ptr %65, i64 0, i64 1
store i32 %64, ptr %66, align 4
%67 = load i32, ptr %8, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %8, align 4
br label %69
69: ; preds = %267, %57
%70 = load i32, ptr %8, align 4
%71 = add nsw i32 %70, -1
store i32 %71, ptr %8, align 4
%72 = load i32, ptr %8, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %73
%75 = getelementptr inbounds [2 x i32], ptr %74, i64 0, i64 0
%76 = load i32, ptr %75, align 8
store i32 %76, ptr %9, align 4
%77 = load i32, ptr %8, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %78
%80 = getelementptr inbounds [2 x i32], ptr %79, i64 0, i64 1
%81 = load i32, ptr %80, align 4
store i32 %81, ptr %10, align 4
%82 = load i32, ptr %10, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %83
%85 = load i32, ptr %9, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [8 x i32], ptr %84, i64 0, i64 %86
store i32 0, ptr %87, align 4
%88 = load i32, ptr %9, align 4
%89 = sub nsw i32 %88, 1
store i32 %89, ptr %5, align 4
br label %90
90: ; preds = %129, %69
%91 = load i32, ptr %9, align 4
%92 = sub nsw i32 %91, 3
%93 = load i32, ptr %5, align 4
%94 = icmp sle i32 %92, %93
br i1 %94, label %95, label %98
95: ; preds = %90
%96 = load i32, ptr %5, align 4
%97 = icmp sge i32 %96, 0
br label %98
98: ; preds = %95, %90
%99 = phi i1 [ false, %90 ], [ %97, %95 ]
br i1 %99, label %100, label %132
100: ; preds = %98
%101 = load i32, ptr %10, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %102
%104 = load i32, ptr %5, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [8 x i32], ptr %103, i64 0, i64 %105
%107 = load i32, ptr %106, align 4
%108 = icmp eq i32 %107, 1
br i1 %108, label %109, label %128
109: ; preds = %100
%110 = load i32, ptr %10, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %111
%113 = load i32, ptr %5, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [8 x i32], ptr %112, i64 0, i64 %114
store i32 0, ptr %115, align 4
%116 = load i32, ptr %5, align 4
%117 = load i32, ptr %8, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %118
%120 = getelementptr inbounds [2 x i32], ptr %119, i64 0, i64 0
store i32 %116, ptr %120, align 8
%121 = load i32, ptr %10, align 4
%122 = load i32, ptr %8, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %123
%125 = getelementptr inbounds [2 x i32], ptr %124, i64 0, i64 1
store i32 %121, ptr %125, align 4
%126 = load i32, ptr %8, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %8, align 4
br label %128
128: ; preds = %109, %100
br label %129
129: ; preds = %128
%130 = load i32, ptr %5, align 4
%131 = add nsw i32 %130, -1
store i32 %131, ptr %5, align 4
br label %90, !llvm.loop !9
132: ; preds = %98
%133 = load i32, ptr %9, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %5, align 4
br label %135
135: ; preds = %174, %132
%136 = load i32, ptr %9, align 4
%137 = add nsw i32 %136, 3
%138 = load i32, ptr %5, align 4
%139 = icmp sge i32 %137, %138
br i1 %139, label %140, label %143
140: ; preds = %135
%141 = load i32, ptr %5, align 4
%142 = icmp sle i32 %141, 7
br label %143
143: ; preds = %140, %135
%144 = phi i1 [ false, %135 ], [ %142, %140 ]
br i1 %144, label %145, label %177
145: ; preds = %143
%146 = load i32, ptr %10, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %147
%149 = load i32, ptr %5, align 4
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds [8 x i32], ptr %148, i64 0, i64 %150
%152 = load i32, ptr %151, align 4
%153 = icmp eq i32 %152, 1
br i1 %153, label %154, label %173
154: ; preds = %145
%155 = load i32, ptr %10, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %156
%158 = load i32, ptr %5, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [8 x i32], ptr %157, i64 0, i64 %159
store i32 0, ptr %160, align 4
%161 = load i32, ptr %5, align 4
%162 = load i32, ptr %8, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %163
%165 = getelementptr inbounds [2 x i32], ptr %164, i64 0, i64 0
store i32 %161, ptr %165, align 8
%166 = load i32, ptr %10, align 4
%167 = load i32, ptr %8, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %168
%170 = getelementptr inbounds [2 x i32], ptr %169, i64 0, i64 1
store i32 %166, ptr %170, align 4
%171 = load i32, ptr %8, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %8, align 4
br label %173
173: ; preds = %154, %145
br label %174
174: ; preds = %173
%175 = load i32, ptr %5, align 4
%176 = add nsw i32 %175, 1
store i32 %176, ptr %5, align 4
br label %135, !llvm.loop !10
177: ; preds = %143
%178 = load i32, ptr %10, align 4
%179 = sub nsw i32 %178, 1
store i32 %179, ptr %5, align 4
br label %180
180: ; preds = %219, %177
%181 = load i32, ptr %10, align 4
%182 = sub nsw i32 %181, 3
%183 = load i32, ptr %5, align 4
%184 = icmp sle i32 %182, %183
br i1 %184, label %185, label %188
185: ; preds = %180
%186 = load i32, ptr %5, align 4
%187 = icmp sge i32 %186, 0
br label %188
188: ; preds = %185, %180
%189 = phi i1 [ false, %180 ], [ %187, %185 ]
br i1 %189, label %190, label %222
190: ; preds = %188
%191 = load i32, ptr %5, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %192
%194 = load i32, ptr %9, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds [8 x i32], ptr %193, i64 0, i64 %195
%197 = load i32, ptr %196, align 4
%198 = icmp eq i32 %197, 1
br i1 %198, label %199, label %218
199: ; preds = %190
%200 = load i32, ptr %5, align 4
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %201
%203 = load i32, ptr %9, align 4
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds [8 x i32], ptr %202, i64 0, i64 %204
store i32 0, ptr %205, align 4
%206 = load i32, ptr %9, align 4
%207 = load i32, ptr %8, align 4
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %208
%210 = getelementptr inbounds [2 x i32], ptr %209, i64 0, i64 0
store i32 %206, ptr %210, align 8
%211 = load i32, ptr %5, align 4
%212 = load i32, ptr %8, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %213
%215 = getelementptr inbounds [2 x i32], ptr %214, i64 0, i64 1
store i32 %211, ptr %215, align 4
%216 = load i32, ptr %8, align 4
%217 = add nsw i32 %216, 1
store i32 %217, ptr %8, align 4
br label %218
218: ; preds = %199, %190
br label %219
219: ; preds = %218
%220 = load i32, ptr %5, align 4
%221 = add nsw i32 %220, -1
store i32 %221, ptr %5, align 4
br label %180, !llvm.loop !11
222: ; preds = %188
%223 = load i32, ptr %10, align 4
%224 = add nsw i32 %223, 1
store i32 %224, ptr %5, align 4
br label %225
225: ; preds = %264, %222
%226 = load i32, ptr %10, align 4
%227 = add nsw i32 %226, 3
%228 = load i32, ptr %5, align 4
%229 = icmp sge i32 %227, %228
br i1 %229, label %230, label %233
230: ; preds = %225
%231 = load i32, ptr %5, align 4
%232 = icmp sle i32 %231, 7
br label %233
233: ; preds = %230, %225
%234 = phi i1 [ false, %225 ], [ %232, %230 ]
br i1 %234, label %235, label %267
235: ; preds = %233
%236 = load i32, ptr %5, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %237
%239 = load i32, ptr %9, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds [8 x i32], ptr %238, i64 0, i64 %240
%242 = load i32, ptr %241, align 4
%243 = icmp eq i32 %242, 1
br i1 %243, label %244, label %263
244: ; preds = %235
%245 = load i32, ptr %5, align 4
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %246
%248 = load i32, ptr %9, align 4
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds [8 x i32], ptr %247, i64 0, i64 %249
store i32 0, ptr %250, align 4
%251 = load i32, ptr %9, align 4
%252 = load i32, ptr %8, align 4
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %253
%255 = getelementptr inbounds [2 x i32], ptr %254, i64 0, i64 0
store i32 %251, ptr %255, align 8
%256 = load i32, ptr %5, align 4
%257 = load i32, ptr %8, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds [64 x [2 x i32]], ptr %7, i64 0, i64 %258
%260 = getelementptr inbounds [2 x i32], ptr %259, i64 0, i64 1
store i32 %256, ptr %260, align 4
%261 = load i32, ptr %8, align 4
%262 = add nsw i32 %261, 1
store i32 %262, ptr %8, align 4
br label %263
263: ; preds = %244, %235
br label %264
264: ; preds = %263
%265 = load i32, ptr %5, align 4
%266 = add nsw i32 %265, 1
store i32 %266, ptr %5, align 4
br label %225, !llvm.loop !12
267: ; preds = %233
%268 = load i32, ptr %8, align 4
%269 = icmp eq i32 %268, 0
br i1 %269, label %270, label %69
270: ; preds = %267
br label %271
271: ; preds = %270
%272 = load i32, ptr %4, align 4
%273 = add nsw i32 %272, 1
%274 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %273)
store i32 0, ptr %5, align 4
%275 = load i32, ptr %5, align 4
%276 = icmp slt i32 %275, 8
br i1 %276, label %.lr.ph8, label %301
.lr.ph8: ; preds = %271
br label %277
277: ; preds = %.lr.ph8, %296
store i32 0, ptr %6, align 4
%278 = load i32, ptr %6, align 4
%279 = icmp slt i32 %278, 8
br i1 %279, label %.lr.ph5, label %294
.lr.ph5: ; preds = %277
br label %280
280: ; preds = %.lr.ph5, %289
%281 = load i32, ptr %5, align 4
%282 = sext i32 %281 to i64
%283 = getelementptr inbounds [8 x [8 x i32]], ptr %3, i64 0, i64 %282
%284 = load i32, ptr %6, align 4
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds [8 x i32], ptr %283, i64 0, i64 %285
%287 = load i32, ptr %286, align 4
%288 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %287)
br label %289
289: ; preds = %280
%290 = load i32, ptr %6, align 4
%291 = add nsw i32 %290, 1
store i32 %291, ptr %6, align 4
%292 = load i32, ptr %6, align 4
%293 = icmp slt i32 %292, 8
br i1 %293, label %280, label %._crit_edge6, !llvm.loop !13
._crit_edge6: ; preds = %289
br label %294
294: ; preds = %._crit_edge6, %277
%295 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %296
296: ; preds = %294
%297 = load i32, ptr %5, align 4
%298 = add nsw i32 %297, 1
store i32 %298, ptr %5, align 4
%299 = load i32, ptr %5, align 4
%300 = icmp slt i32 %299, 8
br i1 %300, label %277, label %._crit_edge9, !llvm.loop !14
._crit_edge9: ; preds = %296
br label %301
301: ; preds = %._crit_edge9, %271
br label %302
302: ; preds = %301
%303 = load i32, ptr %4, align 4
%304 = add nsw i32 %303, 1
store i32 %304, ptr %4, align 4
%305 = load i32, ptr %4, align 4
%306 = load i32, ptr %2, align 4
%307 = icmp slt i32 %305, %306
br i1 %307, label %16, label %._crit_edge12, !llvm.loop !15
._crit_edge12: ; preds = %302
br label %308
308: ; preds = %._crit_edge12, %0
ret i32 0
}
declare i32 @scanf(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}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
|
; ModuleID = '/tmp/tmppxjp19cd.c'
source_filename = "/tmp/tmppxjp19cd.c"
target datalayout = "e-m:e-p270: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/tmppxjp19cd.c"
target datalayout = "e-m:e-p270: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_lbovvow.c'
source_filename = "/tmp/tmp_lbovvow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"r+w\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Error deleting file\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"File successfully deleted\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @srfdel(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %19
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @fclose(ptr noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call i64 @remove(ptr noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %8
%15 = call i32 @perror(ptr noundef @.str.1)
br label %18
16: ; preds = %8
%17 = call i32 @puts(ptr noundef @.str.2)
br label %18
18: ; preds = %16, %14
br label %21
19: ; preds = %1
%20 = call i32 @printf(ptr noundef @.str.3, ptr noundef @.str.4)
br label %21
21: ; preds = %19, %18
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @remove(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_lbovvow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"r+w\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Error deleting file\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"File successfully deleted\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @srfdel(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %19
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @fclose(ptr noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call i64 @remove(ptr noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %8
%15 = call i32 @perror(ptr noundef @.str.1)
br label %18
16: ; preds = %8
%17 = call i32 @puts(ptr noundef @.str.2)
br label %18
18: ; preds = %16, %14
br label %21
19: ; preds = %1
%20 = call i32 @printf(ptr noundef @.str.3, ptr noundef @.str.4)
br label %21
21: ; preds = %19, %18
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @remove(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcair95za.c'
source_filename = "/tmp/tmpcair95za.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setBitRateChecked(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = call i32 @setBitRate(ptr noundef %10, ptr noundef %11, ptr noundef %12)
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %3
%17 = load i32, ptr %8, align 4
store i32 %17, ptr %4, align 4
br label %33
18: ; preds = %3
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %7, align 8
%21 = call i32 @getBitRate(ptr noundef %9, ptr noundef %19, ptr noundef %20)
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %18
%25 = load i32, ptr %8, align 4
store i32 %25, ptr %4, align 4
br label %33
26: ; preds = %18
%27 = load float, ptr %9, align 4
%28 = load ptr, ptr %5, align 8
%29 = load float, ptr %28, align 4
%30 = fcmp une float %27, %29
br i1 %30, label %31, label %32
31: ; preds = %26
store i32 -1, ptr %4, align 4
br label %33
32: ; preds = %26
store i32 0, ptr %4, align 4
br label %33
33: ; preds = %32, %31, %24, %16
%34 = load i32, ptr %4, align 4
ret i32 %34
}
declare i32 @setBitRate(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @getBitRate(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/tmpcair95za.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setBitRateChecked(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = call i32 @setBitRate(ptr noundef %10, ptr noundef %11, ptr noundef %12)
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %3
%17 = load i32, ptr %8, align 4
store i32 %17, ptr %4, align 4
br label %33
18: ; preds = %3
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %7, align 8
%21 = call i32 @getBitRate(ptr noundef %9, ptr noundef %19, ptr noundef %20)
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %18
%25 = load i32, ptr %8, align 4
store i32 %25, ptr %4, align 4
br label %33
26: ; preds = %18
%27 = load float, ptr %9, align 4
%28 = load ptr, ptr %5, align 8
%29 = load float, ptr %28, align 4
%30 = fcmp une float %27, %29
br i1 %30, label %31, label %32
31: ; preds = %26
store i32 -1, ptr %4, align 4
br label %33
32: ; preds = %26
store i32 0, ptr %4, align 4
br label %33
33: ; preds = %32, %31, %24, %16
%34 = load i32, ptr %4, align 4
ret i32 %34
}
declare i32 @setBitRate(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @getBitRate(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/tmpf4m6l23b.c'
source_filename = "/tmp/tmpf4m6l23b.c"
target datalayout = "e-m:e-p270: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 }
@O_RDONLY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"failed to open\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"FLOAT: %.2000lf\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.stat, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 2
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @exit(i32 noundef 0) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @stat(ptr noundef %17, ptr noundef %6)
%19 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%20 = load i32, ptr %19, align 4
store i32 %20, ptr %7, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr @O_RDONLY, align 4
%25 = call i32 @open(ptr noundef %23, i32 noundef %24)
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp sle i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %14
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%30 = call i32 @exit(i32 noundef 0) #3
unreachable
31: ; preds = %14
br label %32
32: ; preds = %35, %31
%33 = load i32, ptr %7, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %44
35: ; preds = %32
store double 0.000000e+00, ptr %9, align 8
%36 = load i32, ptr %8, align 4
%37 = call i32 @read(i32 noundef %36, ptr noundef %9, i32 noundef 8)
%38 = load double, ptr %9, align 8
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %38)
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = sub i64 %41, 8
%43 = trunc i64 %42 to i32
store i32 %43, ptr %7, align 4
br label %32, !llvm.loop !6
44: ; preds = %32
%45 = load i32, ptr %8, align 4
%46 = call i32 @close(i32 noundef %45)
ret i32 0
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @close(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf4m6l23b.c"
target datalayout = "e-m:e-p270: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 }
@O_RDONLY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"failed to open\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"FLOAT: %.2000lf\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.stat, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 2
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @exit(i32 noundef 0) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @stat(ptr noundef %17, ptr noundef %6)
%19 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%20 = load i32, ptr %19, align 4
store i32 %20, ptr %7, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr @O_RDONLY, align 4
%25 = call i32 @open(ptr noundef %23, i32 noundef %24)
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp sle i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %14
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%30 = call i32 @exit(i32 noundef 0) #3
unreachable
31: ; preds = %14
%32 = load i32, ptr %7, align 4
%33 = icmp sgt i32 %32, 0
br i1 %33, label %.lr.ph, label %45
.lr.ph: ; preds = %31
br label %34
34: ; preds = %.lr.ph, %34
store double 0.000000e+00, ptr %9, align 8
%35 = load i32, ptr %8, align 4
%36 = call i32 @read(i32 noundef %35, ptr noundef %9, i32 noundef 8)
%37 = load double, ptr %9, align 8
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %37)
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = sub i64 %40, 8
%42 = trunc i64 %41 to i32
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = icmp sgt i32 %43, 0
br i1 %44, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %45
45: ; preds = %._crit_edge, %31
%46 = load i32, ptr %8, align 4
%47 = call i32 @close(i32 noundef %46)
ret i32 0
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @close(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4x3k_z8y.c'
source_filename = "/tmp/tmp4x3k_z8y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handle_winch(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @endwin()
%4 = call i32 (...) @refresh()
%5 = call i32 (...) @clear()
%6 = call i32 (...) @display()
%7 = call i32 (...) @refresh()
ret void
}
declare i32 @endwin(...) #1
declare i32 @refresh(...) #1
declare i32 @clear(...) #1
declare i32 @display(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4x3k_z8y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handle_winch(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @endwin()
%4 = call i32 (...) @refresh()
%5 = call i32 (...) @clear()
%6 = call i32 (...) @display()
%7 = call i32 (...) @refresh()
ret void
}
declare i32 @endwin(...) #1
declare i32 @refresh(...) #1
declare i32 @clear(...) #1
declare i32 @display(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfrsu5dts.c'
source_filename = "/tmp/tmpfrsu5dts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: Check Condition on CDB:\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uscsi_print_sense(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr 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 ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = 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 ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%14 = load ptr, ptr %7, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14)
store i32 0, ptr %13, align 4
br label %16
16: ; preds = %27, %6
%17 = load i32, ptr %13, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %30
20: ; preds = %16
%21 = load ptr, ptr %8, align 8
%22 = load i32, ptr %13, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %25)
br label %27
27: ; preds = %20
%28 = load i32, ptr %13, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %13, align 4
br label %16, !llvm.loop !6
30: ; preds = %16
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%32 = load ptr, ptr %10, align 8
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %12, align 4
%35 = call i32 @uscsi_print_sense_data(ptr noundef %32, i32 noundef %33, i32 noundef %34)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @uscsi_print_sense_data(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/tmpfrsu5dts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: Check Condition on CDB:\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uscsi_print_sense(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr 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 ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = 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 ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%14 = load ptr, ptr %7, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14)
store i32 0, ptr %13, align 4
%16 = load i32, ptr %13, align 4
%17 = load i32, ptr %9, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %32
.lr.ph: ; preds = %6
br label %19
19: ; preds = %.lr.ph, %26
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %13, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24)
br label %26
26: ; preds = %19
%27 = load i32, ptr %13, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %13, align 4
%29 = load i32, ptr %13, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %6
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%34 = load ptr, ptr %10, align 8
%35 = load i32, ptr %11, align 4
%36 = load i32, ptr %12, align 4
%37 = call i32 @uscsi_print_sense_data(ptr noundef %34, i32 noundef %35, i32 noundef %36)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @uscsi_print_sense_data(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/tmpah7faya8.c'
source_filename = "/tmp/tmpah7faya8.c"
target datalayout = "e-m:e-p270: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/tmpah7faya8.c"
target datalayout = "e-m:e-p270: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/tmpzkl8i7o3.c'
source_filename = "/tmp/tmpzkl8i7o3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCMGET = dso_local global i32 0, align 4
@TIOCM_DTR = dso_local global i32 0, align 4
@TIOCMSET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setDTR(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @TIOCMGET, align 4
%6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3)
%7 = load i32, ptr @TIOCM_DTR, align 4
%8 = load i32, ptr %3, align 4
%9 = or i32 %8, %7
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr @TIOCMSET, align 4
%12 = call i32 @ioctl(i32 noundef %10, i32 noundef %11, ptr noundef %3)
ret void
}
declare i32 @ioctl(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/tmpzkl8i7o3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCMGET = dso_local global i32 0, align 4
@TIOCM_DTR = dso_local global i32 0, align 4
@TIOCMSET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setDTR(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @TIOCMGET, align 4
%6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3)
%7 = load i32, ptr @TIOCM_DTR, align 4
%8 = load i32, ptr %3, align 4
%9 = or i32 %8, %7
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr @TIOCMSET, align 4
%12 = call i32 @ioctl(i32 noundef %10, i32 noundef %11, ptr noundef %3)
ret void
}
declare i32 @ioctl(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/tmp5qermp51.c'
source_filename = "/tmp/tmp5qermp51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"\0Aenter the base number to pow:\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Enter pow: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Potencia(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%9 = load double, ptr %3, align 8
%10 = load double, ptr %4, align 8
%11 = call double @pow(double noundef %9, double noundef %10) #3
ret double %11
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5qermp51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"\0Aenter the base number to pow:\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Enter pow: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Potencia(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%9 = load double, ptr %3, align 8
%10 = load double, ptr %4, align 8
%11 = call double @pow(double noundef %9, double noundef %10) #3
ret double %11
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcwuajkj9.c'
source_filename = "/tmp/tmpcwuajkj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lycherl(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i64 0, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i64 @is_palindrome(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %17
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = call i64 @intrev(i32 noundef %9)
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = add nsw i64 %12, %10
%14 = trunc i64 %13 to i32
store i32 %14, ptr %3, align 4
%15 = load i64, ptr %4, align 8
%16 = add nsw i64 %15, 1
store i64 %16, ptr %4, align 8
br label %17
17: ; preds = %8, %1
br label %18
18: ; preds = %34, %17
%19 = load i32, ptr %3, align 4
%20 = call i64 @is_palindrome(i32 noundef %19)
%21 = icmp ne i64 %20, 0
%22 = xor i1 %21, true
br i1 %22, label %23, label %35
23: ; preds = %18
%24 = load i32, ptr %3, align 4
%25 = call i64 @intrev(i32 noundef %24)
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = add nsw i64 %27, %25
%29 = trunc i64 %28 to i32
store i32 %29, ptr %3, align 4
%30 = load i64, ptr %4, align 8
%31 = add nsw i64 %30, 1
store i64 %31, ptr %4, align 8
%32 = icmp sgt i64 %30, 50
br i1 %32, label %33, label %34
33: ; preds = %23
store i32 1, ptr %2, align 4
br label %36
34: ; preds = %23
br label %18, !llvm.loop !6
35: ; preds = %18
store i32 0, ptr %2, align 4
br label %36
36: ; preds = %35, %33
%37 = load i32, ptr %2, align 4
ret i32 %37
}
declare i64 @is_palindrome(i32 noundef) #1
declare i64 @intrev(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/tmpcwuajkj9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lycherl(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i64 0, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i64 @is_palindrome(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %17
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = call i64 @intrev(i32 noundef %9)
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = add nsw i64 %12, %10
%14 = trunc i64 %13 to i32
store i32 %14, ptr %3, align 4
%15 = load i64, ptr %4, align 8
%16 = add nsw i64 %15, 1
store i64 %16, ptr %4, align 8
br label %17
17: ; preds = %8, %1
%18 = load i32, ptr %3, align 4
%19 = call i64 @is_palindrome(i32 noundef %18)
%20 = icmp ne i64 %19, 0
%21 = xor i1 %20, true
br i1 %21, label %.lr.ph, label %38
.lr.ph: ; preds = %17
br label %27
22: ; preds = %27
%23 = load i32, ptr %3, align 4
%24 = call i64 @is_palindrome(i32 noundef %23)
%25 = icmp ne i64 %24, 0
%26 = xor i1 %25, true
br i1 %26, label %27, label %._crit_edge, !llvm.loop !6
27: ; preds = %.lr.ph, %22
%28 = load i32, ptr %3, align 4
%29 = call i64 @intrev(i32 noundef %28)
%30 = load i32, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = add nsw i64 %31, %29
%33 = trunc i64 %32 to i32
store i32 %33, ptr %3, align 4
%34 = load i64, ptr %4, align 8
%35 = add nsw i64 %34, 1
store i64 %35, ptr %4, align 8
%36 = icmp sgt i64 %34, 50
br i1 %36, label %37, label %22
37: ; preds = %27
store i32 1, ptr %2, align 4
br label %39
._crit_edge: ; preds = %22
br label %38
38: ; preds = %._crit_edge, %17
store i32 0, ptr %2, align 4
br label %39
39: ; preds = %38, %37
%40 = load i32, ptr %2, align 4
ret i32 %40
}
declare i64 @is_palindrome(i32 noundef) #1
declare i64 @intrev(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/tmpzyp3efi_.c'
source_filename = "/tmp/tmpzyp3efi_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fi1c(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @atomic_load(ptr noundef %3)
ret i32 %4
}
declare i32 @atomic_load(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzyp3efi_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fi1c(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @atomic_load(ptr noundef %3)
ret i32 %4
}
declare i32 @atomic_load(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpafgwqvkb.c'
source_filename = "/tmp/tmpafgwqvkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"\0A---- Running test1 ---\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Before any allocation\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"mem1 = malloc(8)\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"mem2 = malloc(8)\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"mem3 = malloc(8)\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"free(mem2))\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = 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
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = call i32 (...) @print_list()
%12 = call i64 @malloc(i32 noundef 8)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
store i32 10, ptr %14, align 4
%15 = call i32 @printf(ptr noundef @.str.2)
%16 = call i32 (...) @print_list()
%17 = call i64 @malloc(i32 noundef 8)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
store i32 11, ptr %19, align 4
%20 = call i32 @printf(ptr noundef @.str.3)
%21 = call i32 (...) @print_list()
%22 = call i64 @malloc(i32 noundef 8)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %8, align 8
%24 = load ptr, ptr %8, align 8
store i32 12, ptr %24, align 4
%25 = call i32 @printf(ptr noundef @.str.4)
%26 = call i32 (...) @print_list()
%27 = load ptr, ptr %7, align 8
%28 = call i32 @free(ptr noundef %27)
%29 = call i32 @printf(ptr noundef @.str.5)
%30 = call i32 (...) @print_list()
%31 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @print_list(...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpafgwqvkb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"\0A---- Running test1 ---\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Before any allocation\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"mem1 = malloc(8)\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"mem2 = malloc(8)\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"mem3 = malloc(8)\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"free(mem2))\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = 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
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = call i32 (...) @print_list()
%12 = call i64 @malloc(i32 noundef 8)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
store i32 10, ptr %14, align 4
%15 = call i32 @printf(ptr noundef @.str.2)
%16 = call i32 (...) @print_list()
%17 = call i64 @malloc(i32 noundef 8)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
store i32 11, ptr %19, align 4
%20 = call i32 @printf(ptr noundef @.str.3)
%21 = call i32 (...) @print_list()
%22 = call i64 @malloc(i32 noundef 8)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %8, align 8
%24 = load ptr, ptr %8, align 8
store i32 12, ptr %24, align 4
%25 = call i32 @printf(ptr noundef @.str.4)
%26 = call i32 (...) @print_list()
%27 = load ptr, ptr %7, align 8
%28 = call i32 @free(ptr noundef %27)
%29 = call i32 @printf(ptr noundef @.str.5)
%30 = call i32 (...) @print_list()
%31 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @print_list(...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplsamoisw.c'
source_filename = "/tmp/tmplsamoisw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"U_WMRENDPAGE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @U_WMR50_set() #0 {
%1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str)
ret ptr %1
}
declare ptr @U_WMRCORENONE_set(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplsamoisw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"U_WMRENDPAGE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @U_WMR50_set() #0 {
%1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str)
ret ptr %1
}
declare ptr @U_WMRCORENONE_set(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiqty8zjr.c'
source_filename = "/tmp/tmpiqty8zjr.c"
target datalayout = "e-m:e-p270: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/tmpiqty8zjr.c"
target datalayout = "e-m:e-p270: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/tmpp7xve6jo.c'
source_filename = "/tmp/tmpp7xve6jo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c"glutEstablishVideoResizing: video resizing not possible.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @glutSetupVideoResizing() #0 {
%1 = call i32 @__glutFatalError(ptr noundef @.str)
ret void
}
declare i32 @__glutFatalError(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp7xve6jo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c"glutEstablishVideoResizing: video resizing not possible.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @glutSetupVideoResizing() #0 {
%1 = call i32 @__glutFatalError(ptr noundef @.str)
ret void
}
declare i32 @__glutFatalError(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc9_99krd.c'
source_filename = "/tmp/tmpc9_99krd.c"
target datalayout = "e-m:e-p270: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/tmpc9_99krd.c"
target datalayout = "e-m:e-p270: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/tmps9h0ydai.c'
source_filename = "/tmp/tmps9h0ydai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rnorm3d(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %4, align 8
%8 = load double, ptr %5, align 8
%9 = load double, ptr %6, align 8
%10 = call double @__ocml_rlen3_f64(double noundef %7, double noundef %8, double noundef %9)
ret double %10
}
declare double @__ocml_rlen3_f64(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps9h0ydai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rnorm3d(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %4, align 8
%8 = load double, ptr %5, align 8
%9 = load double, ptr %6, align 8
%10 = call double @__ocml_rlen3_f64(double noundef %7, double noundef %8, double noundef %9)
ret double %10
}
declare double @__ocml_rlen3_f64(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"}
|
; ModuleID = '/tmp/tmpi14sy2le.c'
source_filename = "/tmp/tmpi14sy2le.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @do_locals_tests()
%7 = call i32 (...) @do_block_tests()
%8 = call i32 (...) @do_children_tests()
%9 = call i32 (...) @do_special_tests()
%10 = call i32 (...) @do_frozen_tests()
%11 = call i32 (...) @do_at_tests()
%12 = call i32 (...) @do_bitfield_tests()
%13 = call i32 (...) @do_anonymous_type_tests()
%14 = call i32 (...) @do_nested_struct_union_tests()
%15 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @do_locals_tests(...) #1
declare i32 @do_block_tests(...) #1
declare i32 @do_children_tests(...) #1
declare i32 @do_special_tests(...) #1
declare i32 @do_frozen_tests(...) #1
declare i32 @do_at_tests(...) #1
declare i32 @do_bitfield_tests(...) #1
declare i32 @do_anonymous_type_tests(...) #1
declare i32 @do_nested_struct_union_tests(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi14sy2le.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @do_locals_tests()
%7 = call i32 (...) @do_block_tests()
%8 = call i32 (...) @do_children_tests()
%9 = call i32 (...) @do_special_tests()
%10 = call i32 (...) @do_frozen_tests()
%11 = call i32 (...) @do_at_tests()
%12 = call i32 (...) @do_bitfield_tests()
%13 = call i32 (...) @do_anonymous_type_tests()
%14 = call i32 (...) @do_nested_struct_union_tests()
%15 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @do_locals_tests(...) #1
declare i32 @do_block_tests(...) #1
declare i32 @do_children_tests(...) #1
declare i32 @do_special_tests(...) #1
declare i32 @do_frozen_tests(...) #1
declare i32 @do_at_tests(...) #1
declare i32 @do_bitfield_tests(...) #1
declare i32 @do_anonymous_type_tests(...) #1
declare i32 @do_nested_struct_union_tests(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7szk5u8j.c'
source_filename = "/tmp/tmp7szk5u8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%s\00", align 1
@.str.2 = 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 i32, align 4
%4 = alloca i32, align 4
%5 = alloca [10001 x i8], align 16
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %3, align 4
br label %8
8: ; preds = %96, %0
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %99
12: ; preds = %8
%13 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 0
%14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %13)
store i32 0, ptr %6, align 4
store i32 0, ptr %4, align 4
br label %15
15: ; preds = %90, %12
%16 = load i32, ptr %4, align 4
%17 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @strlen(ptr noundef %17)
%19 = sdiv i32 %18, 2
%20 = icmp slt i32 %16, %19
br i1 %20, label %21, label %93
21: ; preds = %15
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 0
%28 = call i32 @strlen(ptr noundef %27)
%29 = sub nsw i32 %28, 1
%30 = load i32, ptr %4, align 4
%31 = sub nsw i32 %29, %30
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp slt i32 %26, %35
br i1 %36, label %37, label %55
37: ; preds = %21
%38 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 0
%39 = call i32 @strlen(ptr noundef %38)
%40 = sub nsw i32 %39, 1
%41 = load i32, ptr %4, align 4
%42 = sub nsw i32 %40, %41
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = load i32, ptr %4, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = sub nsw i32 %46, %51
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %52, %53
store i32 %54, ptr %6, align 4
br label %55
55: ; preds = %37, %21
%56 = load i32, ptr %4, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 0
%62 = call i32 @strlen(ptr noundef %61)
%63 = sub nsw i32 %62, 1
%64 = load i32, ptr %4, align 4
%65 = sub nsw i32 %63, %64
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp sgt i32 %60, %69
br i1 %70, label %71, label %89
71: ; preds = %55
%72 = load i32, ptr %4, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %73
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 0
%78 = call i32 @strlen(ptr noundef %77)
%79 = sub nsw i32 %78, 1
%80 = load i32, ptr %4, align 4
%81 = sub nsw i32 %79, %80
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = sub nsw i32 %76, %85
%87 = load i32, ptr %6, align 4
%88 = add nsw i32 %86, %87
store i32 %88, ptr %6, align 4
br label %89
89: ; preds = %71, %55
br label %90
90: ; preds = %89
%91 = load i32, ptr %4, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %4, align 4
br label %15, !llvm.loop !6
93: ; preds = %15
%94 = load i32, ptr %6, align 4
%95 = call i32 @printf(ptr noundef @.str.2, i32 noundef %94)
br label %96
96: ; preds = %93
%97 = load i32, ptr %3, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %3, align 4
br label %8, !llvm.loop !8
99: ; preds = %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7szk5u8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%s\00", align 1
@.str.2 = 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 i32, align 4
%4 = alloca i32, align 4
%5 = alloca [10001 x i8], align 16
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph2, label %104
.lr.ph2: ; preds = %0
br label %11
11: ; preds = %.lr.ph2, %98
%12 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 0
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %12)
store i32 0, ptr %6, align 4
store i32 0, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 0
%16 = call i32 @strlen(ptr noundef %15)
%17 = sdiv i32 %16, 2
%18 = icmp slt i32 %14, %17
br i1 %18, label %.lr.ph, label %95
.lr.ph: ; preds = %11
br label %19
19: ; preds = %.lr.ph, %88
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 0
%26 = call i32 @strlen(ptr noundef %25)
%27 = sub nsw i32 %26, 1
%28 = load i32, ptr %4, align 4
%29 = sub nsw i32 %27, %28
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp slt i32 %24, %33
br i1 %34, label %35, label %53
35: ; preds = %19
%36 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 0
%37 = call i32 @strlen(ptr noundef %36)
%38 = sub nsw i32 %37, 1
%39 = load i32, ptr %4, align 4
%40 = sub nsw i32 %38, %39
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = sub nsw i32 %44, %49
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %50, %51
store i32 %52, ptr %6, align 4
br label %53
53: ; preds = %35, %19
%54 = load i32, ptr %4, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 0
%60 = call i32 @strlen(ptr noundef %59)
%61 = sub nsw i32 %60, 1
%62 = load i32, ptr %4, align 4
%63 = sub nsw i32 %61, %62
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp sgt i32 %58, %67
br i1 %68, label %69, label %87
69: ; preds = %53
%70 = load i32, ptr %4, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 0
%76 = call i32 @strlen(ptr noundef %75)
%77 = sub nsw i32 %76, 1
%78 = load i32, ptr %4, align 4
%79 = sub nsw i32 %77, %78
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [10001 x i8], ptr %5, i64 0, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = sub nsw i32 %74, %83
%85 = load i32, ptr %6, align 4
%86 = add nsw i32 %84, %85
store i32 %86, ptr %6, align 4
br label %87
87: ; preds = %69, %53
br label %88
88: ; preds = %87
%89 = load i32, ptr %4, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %4, align 4
%91 = load i32, ptr %4, align 4
%92 = call i32 @strlen(ptr noundef %15)
%93 = sdiv i32 %92, 2
%94 = icmp slt i32 %91, %93
br i1 %94, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %88
br label %95
95: ; preds = %._crit_edge, %11
%96 = load i32, ptr %6, align 4
%97 = call i32 @printf(ptr noundef @.str.2, i32 noundef %96)
br label %98
98: ; preds = %95
%99 = load i32, ptr %3, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %3, align 4
%101 = load i32, ptr %3, align 4
%102 = load i32, ptr %2, align 4
%103 = icmp sle i32 %101, %102
br i1 %103, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %98
br label %104
104: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpspb90ye0.c'
source_filename = "/tmp/tmpspb90ye0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Enter a number to reverse : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Reverse of %d is %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
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 @reverseNumber(i32 noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @reverseNumber(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/tmpspb90ye0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Enter a number to reverse : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Reverse of %d is %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
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 @reverseNumber(i32 noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @reverseNumber(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/tmpg4uk11jg.c'
source_filename = "/tmp/tmpg4uk11jg.c"
target datalayout = "e-m:e-p270: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/tmpg4uk11jg.c"
target datalayout = "e-m:e-p270: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/tmpil4hb9dg.c'
source_filename = "/tmp/tmpil4hb9dg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %2.5f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showForGnuplot(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 21, ptr %5, align 4
br label %6
6: ; preds = %26, %2
%7 = load i32, ptr %5, align 4
%8 = icmp sle i32 %7, 221
br i1 %8, label %9, label %29
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = mul nsw i32 2, %10
%12 = sub nsw i32 %11, 1
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = sitofp i32 %17 to double
%19 = fmul double %18, 1.000000e+00
%20 = load i32, ptr %4, align 4
%21 = sitofp i32 %20 to double
%22 = fmul double %21, 1.000000e+00
%23 = fdiv double %19, %22
%24 = fptosi double %23 to i32
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %24)
br label %26
26: ; preds = %9
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %6, !llvm.loop !6
29: ; preds = %6
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpil4hb9dg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %2.5f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showForGnuplot(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 21, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp sle i32 %6, 221
br i1 %7, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %25
%9 = load i32, ptr %5, align 4
%10 = mul nsw i32 2, %9
%11 = sub nsw i32 %10, 1
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = sitofp i32 %16 to double
%18 = fmul double %17, 1.000000e+00
%19 = load i32, ptr %4, align 4
%20 = sitofp i32 %19 to double
%21 = fmul double %20, 1.000000e+00
%22 = fdiv double %18, %21
%23 = fptosi double %22 to i32
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %23)
br label %25
25: ; preds = %8
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp sle i32 %28, 221
br i1 %29, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %2
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpd29tw848.c'
source_filename = "/tmp/tmpd29tw848.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"http://creativecommons.org/licenses/by-nd/2.0/de/\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"http://creativecommons.org/ns#jurisdiction\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"get_jurisdiction: '%s'\0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"http://creativecommons.org/international/de/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_get_attribute_jurisdiction() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
store ptr @.str, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @ll_get_attribute(ptr noundef %3, ptr noundef @.str.1, i32 noundef 0)
%5 = call ptr @ll_get_first(i32 noundef %4)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @printf(ptr noundef @.str.2, ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str.3)
%10 = icmp eq i64 %9, 0
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call i32 @free(ptr noundef %13)
ret void
}
declare ptr @ll_get_first(i32 noundef) #1
declare i32 @ll_get_attribute(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd29tw848.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"http://creativecommons.org/licenses/by-nd/2.0/de/\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"http://creativecommons.org/ns#jurisdiction\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"get_jurisdiction: '%s'\0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"http://creativecommons.org/international/de/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_get_attribute_jurisdiction() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
store ptr @.str, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @ll_get_attribute(ptr noundef %3, ptr noundef @.str.1, i32 noundef 0)
%5 = call ptr @ll_get_first(i32 noundef %4)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @printf(ptr noundef @.str.2, ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str.3)
%10 = icmp eq i64 %9, 0
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call i32 @free(ptr noundef %13)
ret void
}
declare ptr @ll_get_first(i32 noundef) #1
declare i32 @ll_get_attribute(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp2qkgskm.c'
source_filename = "/tmp/tmpp2qkgskm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen_liveness(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @strlen(ptr noundef %3)
%5 = icmp slt i32 %4, 5
br i1 %5, label %6, label %7
6: ; preds = %1
br label %13
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp slt i32 %9, 5
%11 = zext i1 %10 to i32
%12 = call i32 @clang_analyzer_eval(i32 noundef %11)
br label %13
13: ; preds = %7, %6
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @clang_analyzer_eval(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/tmpp2qkgskm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen_liveness(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @strlen(ptr noundef %3)
%5 = icmp slt i32 %4, 5
br i1 %5, label %6, label %7
6: ; preds = %1
br label %13
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp slt i32 %9, 5
%11 = zext i1 %10 to i32
%12 = call i32 @clang_analyzer_eval(i32 noundef %11)
br label %13
13: ; preds = %7, %6
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @clang_analyzer_eval(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/tmpm9h9lqha.c'
source_filename = "/tmp/tmpm9h9lqha.c"
target datalayout = "e-m:e-p270: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/tmpm9h9lqha.c"
target datalayout = "e-m:e-p270: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/tmp3vg7gwd7.c'
source_filename = "/tmp/tmp3vg7gwd7.c"
target datalayout = "e-m:e-p270: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
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tcflush(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
switch i32 %6, label %8 [
i32 130, label %7
i32 128, label %7
i32 129, label %7
]
7: ; preds = %2, %2, %2
br label %11
8: ; preds = %2
%9 = load i32, ptr @EINVAL, align 4
%10 = call i32 @__set_errno(i32 noundef %9)
store i32 -1, ptr %3, align 4
br label %14
11: ; preds = %7
%12 = load i32, ptr @ENOSYS, align 4
%13 = call i32 @__set_errno(i32 noundef %12)
store i32 -1, ptr %3, align 4
br label %14
14: ; preds = %11, %8
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @__set_errno(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/tmp3vg7gwd7.c"
target datalayout = "e-m:e-p270: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
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tcflush(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
switch i32 %6, label %8 [
i32 130, label %7
i32 128, label %7
i32 129, label %7
]
7: ; preds = %2, %2, %2
br label %11
8: ; preds = %2
%9 = load i32, ptr @EINVAL, align 4
%10 = call i32 @__set_errno(i32 noundef %9)
store i32 -1, ptr %3, align 4
br label %14
11: ; preds = %7
%12 = load i32, ptr @ENOSYS, align 4
%13 = call i32 @__set_errno(i32 noundef %12)
store i32 -1, ptr %3, align 4
br label %14
14: ; preds = %11, %8
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @__set_errno(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.