llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpjcu4bnc_.c'
source_filename = "/tmp/tmpjcu4bnc_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isVisible(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 @strrchr(ptr noundef %4, i8 noundef signext 47)
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 %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %3, align 8
br label %13
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %11, %8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 46
%19 = zext i1 %18 to i32
ret i32 %19
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjcu4bnc_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isVisible(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 @strrchr(ptr noundef %4, i8 noundef signext 47)
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 %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %3, align 8
br label %13
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %11, %8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 46
%19 = zext i1 %18 to i32
ret i32 %19
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl5uxvsgs.c'
source_filename = "/tmp/tmpl5uxvsgs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl5uxvsgs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr9xnusnm.c'
source_filename = "/tmp/tmpr9xnusnm.c"
target datalayout = "e-m:e-p270: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/tmpr9xnusnm.c"
target datalayout = "e-m:e-p270: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/tmpx6folquq.c'
source_filename = "/tmp/tmpx6folquq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/class/gpio/unexport\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gpioCleanup(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [255 x i8], align 16
store i32 %0, ptr %2, align 4
%5 = load i32, ptr @O_WRONLY, align 4
%6 = call i32 @open(ptr noundef @.str, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%8 = load i32, ptr %2, align 4
%9 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str.1, i32 noundef %8)
%10 = load i32, ptr %3, align 4
%11 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%12 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef 3)
%13 = load i32, ptr %3, align 4
%14 = call i32 @close(i32 noundef %13)
ret void
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(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/tmpx6folquq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/class/gpio/unexport\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gpioCleanup(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [255 x i8], align 16
store i32 %0, ptr %2, align 4
%5 = load i32, ptr @O_WRONLY, align 4
%6 = call i32 @open(ptr noundef @.str, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%8 = load i32, ptr %2, align 4
%9 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str.1, i32 noundef %8)
%10 = load i32, ptr %3, align 4
%11 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%12 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef 3)
%13 = load i32, ptr %3, align 4
%14 = call i32 @close(i32 noundef %13)
ret void
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(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/tmpwq2ckv4c.c'
source_filename = "/tmp/tmpwq2ckv4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strequal(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @strcmp(ptr noundef %5, ptr noundef %6)
%8 = icmp eq i64 %7, 0
%9 = zext i1 %8 to i32
ret i32 %9
}
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/tmpwq2ckv4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strequal(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @strcmp(ptr noundef %5, ptr noundef %6)
%8 = icmp eq i64 %7, 0
%9 = zext i1 %8 to i32
ret i32 %9
}
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/tmpmjb3_j0q.c'
source_filename = "/tmp/tmpmjb3_j0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data=[\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%f,%f,%79[^\0A]\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c",\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [16 x i8] c"Bad data value\0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"{ latitude: %f, longitude: %f, info: ':%s' }\00", align 1
@.str.5 = private unnamed_addr constant [3 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 float, align 4
%3 = alloca float, align 4
%4 = alloca [80 x i8], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @puts(ptr noundef @.str)
br label %7
7: ; preds = %39, %0
%8 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %8)
%10 = icmp eq i32 %9, 3
br i1 %10, label %11, label %40
11: ; preds = %7
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %17
16: ; preds = %11
store i32 1, ptr %5, align 4
br label %17
17: ; preds = %16, %14
%18 = load float, ptr %2, align 4
%19 = fcmp olt float %18, -9.000000e+01
br i1 %19, label %29, label %20
20: ; preds = %17
%21 = load float, ptr %2, align 4
%22 = fcmp ogt float %21, 9.000000e+01
br i1 %22, label %29, label %23
23: ; preds = %20
%24 = load float, ptr %3, align 4
%25 = fcmp olt float %24, -1.800000e+02
br i1 %25, label %29, label %26
26: ; preds = %23
%27 = load float, ptr %3, align 4
%28 = fcmp ogt float %27, 1.800000e+02
br i1 %28, label %29, label %32
29: ; preds = %26, %23, %20, %17
%30 = load i32, ptr @stderr, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.3)
br label %39
32: ; preds = %26
%33 = load float, ptr %2, align 4
%34 = fpext float %33 to double
%35 = load float, ptr %3, align 4
%36 = fpext float %35 to double
%37 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %34, double noundef %36, ptr noundef %37)
br label %39
39: ; preds = %32, %29
br label %7, !llvm.loop !6
40: ; preds = %7
%41 = call i32 @puts(ptr noundef @.str.5)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmjb3_j0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data=[\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%f,%f,%79[^\0A]\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c",\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [16 x i8] c"Bad data value\0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"{ latitude: %f, longitude: %f, info: ':%s' }\00", align 1
@.str.5 = private unnamed_addr constant [3 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 float, align 4
%3 = alloca float, align 4
%4 = alloca [80 x i8], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @puts(ptr noundef @.str)
%7 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %7)
%9 = icmp eq i32 %8, 3
br i1 %9, label %.lr.ph, label %41
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %38
%11 = load i32, ptr %5, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %16
15: ; preds = %10
store i32 1, ptr %5, align 4
br label %16
16: ; preds = %15, %13
%17 = load float, ptr %2, align 4
%18 = fcmp olt float %17, -9.000000e+01
br i1 %18, label %28, label %19
19: ; preds = %16
%20 = load float, ptr %2, align 4
%21 = fcmp ogt float %20, 9.000000e+01
br i1 %21, label %28, label %22
22: ; preds = %19
%23 = load float, ptr %3, align 4
%24 = fcmp olt float %23, -1.800000e+02
br i1 %24, label %28, label %25
25: ; preds = %22
%26 = load float, ptr %3, align 4
%27 = fcmp ogt float %26, 1.800000e+02
br i1 %27, label %28, label %31
28: ; preds = %25, %22, %19, %16
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.3)
br label %38
31: ; preds = %25
%32 = load float, ptr %2, align 4
%33 = fpext float %32 to double
%34 = load float, ptr %3, align 4
%35 = fpext float %34 to double
%36 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %33, double noundef %35, ptr noundef %36)
br label %38
38: ; preds = %31, %28
%39 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %7)
%40 = icmp eq i32 %39, 3
br i1 %40, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %41
41: ; preds = %._crit_edge, %0
%42 = call i32 @puts(ptr noundef @.str.5)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpadlmse64.c'
source_filename = "/tmp/tmpadlmse64.c"
target datalayout = "e-m:e-p270: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/tmpadlmse64.c"
target datalayout = "e-m:e-p270: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/tmpgixnj1rg.c'
source_filename = "/tmp/tmpgixnj1rg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.a = internal global i32 5, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %9, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 3
br i1 %5, label %6, label %12
6: ; preds = %3
%7 = load i32, ptr @main.a, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
br label %3, !llvm.loop !6
12: ; preds = %3
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgixnj1rg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.a = internal global i32 5, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 3
br i1 %4, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %8
%6 = load i32, ptr @main.a, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
br label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 3
br i1 %12, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %13
13: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphv_d1u9t.c'
source_filename = "/tmp/tmphv_d1u9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"block%i\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"Could not read block number from name \22%s\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @block_name_to_int(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %3)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 1
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fatal_error(ptr noundef @.str.1, ptr noundef %10)
br label %12
12: ; preds = %9, %1
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fatal_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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphv_d1u9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"block%i\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"Could not read block number from name \22%s\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @block_name_to_int(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %3)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 1
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fatal_error(ptr noundef @.str.1, ptr noundef %10)
br label %12
12: ; preds = %9, %1
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fatal_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"}
|
; ModuleID = '/tmp/tmphqeboy51.c'
source_filename = "/tmp/tmphqeboy51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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, 92
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/tmphqeboy51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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, 92
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/tmpbh_y0eke.c'
source_filename = "/tmp/tmpbh_y0eke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@next_line.line = internal global ptr null, align 8
@next_line.line_size = internal global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @next_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %5, align 4
%6 = load ptr, ptr @next_line.line, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %14, label %8
8: ; preds = %1
%9 = call i32 (...) @getpagesize()
%10 = call i64 @high_water_alloc(ptr noundef @next_line.line, ptr noundef @next_line.line_size, i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store ptr null, ptr %2, align 8
br label %81
13: ; preds = %8
br label %14
14: ; preds = %13, %1
%15 = load ptr, ptr @next_line.line, align 8
store ptr %15, ptr %4, align 8
br label %16
16: ; preds = %75, %14
%17 = load ptr, ptr %4, align 8
%18 = load i64, ptr @next_line.line_size, align 8
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr @next_line.line, align 8
%21 = ptrtoint ptr %19 to i64
%22 = ptrtoint ptr %20 to i64
%23 = sub i64 %21, %22
%24 = sub i64 %18, %23
%25 = load ptr, ptr %3, align 8
%26 = call i32 @fgets(ptr noundef %17, i64 noundef %24, ptr noundef %25)
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %16
store ptr null, ptr %2, align 8
br label %81
29: ; preds = %16
%30 = load ptr, ptr %4, align 8
%31 = call ptr @strrchr(ptr noundef %30, i8 noundef signext 0)
store ptr %31, ptr %4, align 8
br label %32
32: ; preds = %52, %29
%33 = load ptr, ptr %4, align 8
%34 = load ptr, ptr @next_line.line, align 8
%35 = icmp ugt ptr %33, %34
br i1 %35, label %36, label %50
36: ; preds = %32
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 -1
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 10
br i1 %41, label %48, label %42
42: ; preds = %36
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 -1
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 13
br label %48
48: ; preds = %42, %36
%49 = phi i1 [ true, %36 ], [ %47, %42 ]
br label %50
50: ; preds = %48, %32
%51 = phi i1 [ false, %32 ], [ %49, %48 ]
br i1 %51, label %52, label %56
52: ; preds = %50
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 -1
store ptr %54, ptr %4, align 8
%55 = load ptr, ptr %4, align 8
store i8 0, ptr %55, align 1
store i32 1, ptr %5, align 4
br label %32, !llvm.loop !6
56: ; preds = %50
%57 = load ptr, ptr %3, align 8
%58 = call i64 @feof(ptr noundef %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %56
br label %79
61: ; preds = %56
%62 = load i32, ptr %5, align 4
%63 = icmp ne i32 %62, 0
br i1 %63, label %74, label %64
64: ; preds = %61
%65 = load i64, ptr @next_line.line_size, align 8
%66 = mul i64 2, %65
%67 = trunc i64 %66 to i32
%68 = call i64 @high_water_alloc(ptr noundef @next_line.line, ptr noundef @next_line.line_size, i32 noundef %67)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %64
store ptr null, ptr %2, align 8
br label %81
71: ; preds = %64
%72 = load ptr, ptr @next_line.line, align 8
%73 = call ptr @strrchr(ptr noundef %72, i8 noundef signext 0)
store ptr %73, ptr %4, align 8
br label %74
74: ; preds = %71, %61
br label %75
75: ; preds = %74
%76 = load i32, ptr %5, align 4
%77 = icmp ne i32 %76, 0
%78 = xor i1 %77, true
br i1 %78, label %16, label %79, !llvm.loop !8
79: ; preds = %75, %60
%80 = load ptr, ptr @next_line.line, align 8
store ptr %80, ptr %2, align 8
br label %81
81: ; preds = %79, %70, %28, %12
%82 = load ptr, ptr %2, align 8
ret ptr %82
}
declare i64 @high_water_alloc(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @getpagesize(...) #1
declare i32 @fgets(ptr noundef, i64 noundef, ptr noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i64 @feof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbh_y0eke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@next_line.line = internal global ptr null, align 8
@next_line.line_size = internal global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @next_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %5, align 4
%6 = load ptr, ptr @next_line.line, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %14, label %8
8: ; preds = %1
%9 = call i32 (...) @getpagesize()
%10 = call i64 @high_water_alloc(ptr noundef @next_line.line, ptr noundef @next_line.line_size, i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
store ptr null, ptr %2, align 8
br label %81
13: ; preds = %8
br label %14
14: ; preds = %13, %1
%15 = load ptr, ptr @next_line.line, align 8
store ptr %15, ptr %4, align 8
br label %16
16: ; preds = %75, %14
%17 = load ptr, ptr %4, align 8
%18 = load i64, ptr @next_line.line_size, align 8
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr @next_line.line, align 8
%21 = ptrtoint ptr %19 to i64
%22 = ptrtoint ptr %20 to i64
%23 = sub i64 %21, %22
%24 = sub i64 %18, %23
%25 = load ptr, ptr %3, align 8
%26 = call i32 @fgets(ptr noundef %17, i64 noundef %24, ptr noundef %25)
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %16
store ptr null, ptr %2, align 8
br label %81
29: ; preds = %16
%30 = load ptr, ptr %4, align 8
%31 = call ptr @strrchr(ptr noundef %30, i8 noundef signext 0)
store ptr %31, ptr %4, align 8
br label %32
32: ; preds = %52, %29
%33 = load ptr, ptr %4, align 8
%34 = load ptr, ptr @next_line.line, align 8
%35 = icmp ugt ptr %33, %34
br i1 %35, label %36, label %50
36: ; preds = %32
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 -1
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 10
br i1 %41, label %48, label %42
42: ; preds = %36
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 -1
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 13
br label %48
48: ; preds = %42, %36
%49 = phi i1 [ true, %36 ], [ %47, %42 ]
br label %50
50: ; preds = %48, %32
%51 = phi i1 [ false, %32 ], [ %49, %48 ]
br i1 %51, label %52, label %56
52: ; preds = %50
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 -1
store ptr %54, ptr %4, align 8
%55 = load ptr, ptr %4, align 8
store i8 0, ptr %55, align 1
store i32 1, ptr %5, align 4
br label %32, !llvm.loop !6
56: ; preds = %50
%57 = load ptr, ptr %3, align 8
%58 = call i64 @feof(ptr noundef %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %56
br label %79
61: ; preds = %56
%62 = load i32, ptr %5, align 4
%63 = icmp ne i32 %62, 0
br i1 %63, label %74, label %64
64: ; preds = %61
%65 = load i64, ptr @next_line.line_size, align 8
%66 = mul i64 2, %65
%67 = trunc i64 %66 to i32
%68 = call i64 @high_water_alloc(ptr noundef @next_line.line, ptr noundef @next_line.line_size, i32 noundef %67)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %64
store ptr null, ptr %2, align 8
br label %81
71: ; preds = %64
%72 = load ptr, ptr @next_line.line, align 8
%73 = call ptr @strrchr(ptr noundef %72, i8 noundef signext 0)
store ptr %73, ptr %4, align 8
br label %74
74: ; preds = %71, %61
br label %75
75: ; preds = %74
%76 = load i32, ptr %5, align 4
%77 = icmp ne i32 %76, 0
%78 = xor i1 %77, true
br i1 %78, label %16, label %.loopexit, !llvm.loop !8
.loopexit: ; preds = %75
br label %79
79: ; preds = %.loopexit, %60
%80 = load ptr, ptr @next_line.line, align 8
store ptr %80, ptr %2, align 8
br label %81
81: ; preds = %79, %70, %28, %12
%82 = load ptr, ptr %2, align 8
ret ptr %82
}
declare i64 @high_water_alloc(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @getpagesize(...) #1
declare i32 @fgets(ptr noundef, i64 noundef, ptr noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i64 @feof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpy04rteaz.c'
source_filename = "/tmp/tmpy04rteaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rewind(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @SEEK_SET, align 4
%5 = call i32 @fseek(ptr noundef %3, i64 noundef 0, i32 noundef %4)
ret void
}
declare i32 @fseek(ptr noundef, i64 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/tmpy04rteaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rewind(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @SEEK_SET, align 4
%5 = call i32 @fseek(ptr noundef %3, i64 noundef 0, i32 noundef %4)
ret void
}
declare i32 @fseek(ptr noundef, i64 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/tmpjyksnjxz.c'
source_filename = "/tmp/tmpjyksnjxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t1(i32 noundef 0)
%3 = call i32 @t2(i32 noundef 0)
%4 = call i32 @t3(i32 noundef 0)
%5 = call i32 @t4(i32 noundef 0, i32 noundef 0)
%6 = call i32 (...) @t5()
%7 = call i32 @t6(i32 noundef 0)
ret i32 0
}
declare i32 @t1(i32 noundef) #1
declare i32 @t2(i32 noundef) #1
declare i32 @t3(i32 noundef) #1
declare i32 @t4(i32 noundef, i32 noundef) #1
declare i32 @t5(...) #1
declare i32 @t6(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/tmpjyksnjxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t1(i32 noundef 0)
%3 = call i32 @t2(i32 noundef 0)
%4 = call i32 @t3(i32 noundef 0)
%5 = call i32 @t4(i32 noundef 0, i32 noundef 0)
%6 = call i32 (...) @t5()
%7 = call i32 @t6(i32 noundef 0)
ret i32 0
}
declare i32 @t1(i32 noundef) #1
declare i32 @t2(i32 noundef) #1
declare i32 @t3(i32 noundef) #1
declare i32 @t4(i32 noundef, i32 noundef) #1
declare i32 @t5(...) #1
declare i32 @t6(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/tmpwcvawj2b.c'
source_filename = "/tmp/tmpwcvawj2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Unconfigured\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Connecting\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Connected\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"PendingDisconnect\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"Disconnecting\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"Disconnected\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_wan_connection_status_str(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %4, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @get_wan_connection_status(ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
switch i32 %7, label %14 [
i32 0, label %8
i32 1, label %9
i32 2, label %10
i32 3, label %11
i32 4, label %12
i32 5, label %13
]
8: ; preds = %1
store ptr @.str, ptr %4, align 8
br label %14
9: ; preds = %1
store ptr @.str.1, ptr %4, align 8
br label %14
10: ; preds = %1
store ptr @.str.2, ptr %4, align 8
br label %14
11: ; preds = %1
store ptr @.str.3, ptr %4, align 8
br label %14
12: ; preds = %1
store ptr @.str.4, ptr %4, align 8
br label %14
13: ; preds = %1
store ptr @.str.5, ptr %4, align 8
br label %14
14: ; preds = %1, %13, %12, %11, %10, %9, %8
%15 = load ptr, ptr %4, align 8
ret ptr %15
}
declare i32 @get_wan_connection_status(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwcvawj2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Unconfigured\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Connecting\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Connected\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"PendingDisconnect\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"Disconnecting\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"Disconnected\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_wan_connection_status_str(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %4, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @get_wan_connection_status(ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
switch i32 %7, label %14 [
i32 0, label %8
i32 1, label %9
i32 2, label %10
i32 3, label %11
i32 4, label %12
i32 5, label %13
]
8: ; preds = %1
store ptr @.str, ptr %4, align 8
br label %14
9: ; preds = %1
store ptr @.str.1, ptr %4, align 8
br label %14
10: ; preds = %1
store ptr @.str.2, ptr %4, align 8
br label %14
11: ; preds = %1
store ptr @.str.3, ptr %4, align 8
br label %14
12: ; preds = %1
store ptr @.str.4, ptr %4, align 8
br label %14
13: ; preds = %1
store ptr @.str.5, ptr %4, align 8
br label %14
14: ; preds = %13, %12, %11, %10, %9, %8, %1
%15 = load ptr, ptr %4, align 8
ret ptr %15
}
declare i32 @get_wan_connection_status(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp28ar6vt2.c'
source_filename = "/tmp/tmp28ar6vt2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"if2k_remove_tool running\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 [57 x i8] c"/sbin/kextunload /System/Library/Extensions/if2kext.kext\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"/bin/launchctl unload com.internetfilter.if2kd\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"/bin/launchctl stop com.internetfilter.if2kd\00", align 1
@.str.5 = private unnamed_addr constant [49 x i8] c"rm -r -f /System/Library/Extensions/if2kext.kext\00", align 1
@.str.6 = private unnamed_addr constant [63 x i8] c"rm -r -f /Library/LaunchDaemons/com.internetfilter.if2kd.plist\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"rm -r -f /Library/If2k\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"rm -r -f /Library/Receipts/if2ksystem.pkg\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"rm -r -f /Library/StartupItems/if2k\00", align 1
@.str.10 = private unnamed_addr constant [36 x i8] c"rm -r -f /Library/StartupItems/If2k\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %7
7: ; preds = %2
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2)
%9 = call i32 @system(ptr noundef @.str.2)
br label %10
10: ; preds = %7
br label %11
11: ; preds = %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.3)
%13 = call i32 @system(ptr noundef @.str.3)
br label %14
14: ; preds = %11
br label %15
15: ; preds = %14
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.4)
%17 = call i32 @system(ptr noundef @.str.4)
br label %18
18: ; preds = %15
br label %19
19: ; preds = %18
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.5)
%21 = call i32 @system(ptr noundef @.str.5)
br label %22
22: ; preds = %19
br label %23
23: ; preds = %22
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.6)
%25 = call i32 @system(ptr noundef @.str.6)
br label %26
26: ; preds = %23
br label %27
27: ; preds = %26
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.7)
%29 = call i32 @system(ptr noundef @.str.7)
br label %30
30: ; preds = %27
br label %31
31: ; preds = %30
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.8)
%33 = call i32 @system(ptr noundef @.str.8)
br label %34
34: ; preds = %31
br label %35
35: ; preds = %34
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.9)
%37 = call i32 @system(ptr noundef @.str.9)
br label %38
38: ; preds = %35
br label %39
39: ; preds = %38
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.10)
%41 = call i32 @system(ptr noundef @.str.10)
br label %42
42: ; preds = %39
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp28ar6vt2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"if2k_remove_tool running\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 [57 x i8] c"/sbin/kextunload /System/Library/Extensions/if2kext.kext\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"/bin/launchctl unload com.internetfilter.if2kd\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"/bin/launchctl stop com.internetfilter.if2kd\00", align 1
@.str.5 = private unnamed_addr constant [49 x i8] c"rm -r -f /System/Library/Extensions/if2kext.kext\00", align 1
@.str.6 = private unnamed_addr constant [63 x i8] c"rm -r -f /Library/LaunchDaemons/com.internetfilter.if2kd.plist\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"rm -r -f /Library/If2k\00", align 1
@.str.8 = private unnamed_addr constant [42 x i8] c"rm -r -f /Library/Receipts/if2ksystem.pkg\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"rm -r -f /Library/StartupItems/if2k\00", align 1
@.str.10 = private unnamed_addr constant [36 x i8] c"rm -r -f /Library/StartupItems/If2k\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %7
7: ; preds = %2
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2)
%9 = call i32 @system(ptr noundef @.str.2)
br label %10
10: ; preds = %7
br label %11
11: ; preds = %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.3)
%13 = call i32 @system(ptr noundef @.str.3)
br label %14
14: ; preds = %11
br label %15
15: ; preds = %14
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.4)
%17 = call i32 @system(ptr noundef @.str.4)
br label %18
18: ; preds = %15
br label %19
19: ; preds = %18
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.5)
%21 = call i32 @system(ptr noundef @.str.5)
br label %22
22: ; preds = %19
br label %23
23: ; preds = %22
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.6)
%25 = call i32 @system(ptr noundef @.str.6)
br label %26
26: ; preds = %23
br label %27
27: ; preds = %26
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.7)
%29 = call i32 @system(ptr noundef @.str.7)
br label %30
30: ; preds = %27
br label %31
31: ; preds = %30
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.8)
%33 = call i32 @system(ptr noundef @.str.8)
br label %34
34: ; preds = %31
br label %35
35: ; preds = %34
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.9)
%37 = call i32 @system(ptr noundef @.str.9)
br label %38
38: ; preds = %35
br label %39
39: ; preds = %38
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.10)
%41 = call i32 @system(ptr noundef @.str.10)
br label %42
42: ; preds = %39
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsovhxu8b.c'
source_filename = "/tmp/tmpsovhxu8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_pointer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret i32 %4
}
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/tmpsovhxu8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_pointer(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret i32 %4
}
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/tmpllo6214d.c'
source_filename = "/tmp/tmpllo6214d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsstrmove(ptr noundef %0, ptr noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = 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
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %3
br label %17
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %6, align 8
%16 = call ptr @wcsstr(ptr noundef %14, ptr noundef %15)
br label %17
17: ; preds = %13, %12
%18 = phi ptr [ null, %12 ], [ %16, %13 ]
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = call i64 @wcslen(ptr noundef %22)
br label %31
24: ; preds = %17
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %5, align 8
%27 = ptrtoint ptr %25 to i64
%28 = ptrtoint ptr %26 to i64
%29 = sub i64 %27, %28
%30 = sdiv exact i64 %29, 8
br label %31
31: ; preds = %24, %21
%32 = phi i64 [ %23, %21 ], [ %30, %24 ]
store i64 %32, ptr %8, align 8
%33 = load ptr, ptr %7, align 8
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %36
35: ; preds = %31
br label %40
36: ; preds = %31
%37 = load ptr, ptr %4, align 8
%38 = load i64, ptr %8, align 8
%39 = getelementptr inbounds i64, ptr %37, i64 %38
br label %40
40: ; preds = %36, %35
%41 = phi ptr [ null, %35 ], [ %39, %36 ]
store ptr %41, ptr %9, align 8
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %5, align 8
%44 = load i64, ptr %8, align 8
%45 = call i32 @wmemmove(ptr noundef %42, ptr noundef %43, i64 noundef %44)
%46 = load ptr, ptr %4, align 8
%47 = load i64, ptr %8, align 8
%48 = getelementptr inbounds i64, ptr %46, i64 %47
store i64 0, ptr %48, align 8
%49 = load ptr, ptr %9, align 8
ret ptr %49
}
declare ptr @wcsstr(ptr noundef, ptr noundef) #1
declare i64 @wcslen(ptr noundef) #1
declare i32 @wmemmove(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/tmpllo6214d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsstrmove(ptr noundef %0, ptr noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = 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
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %3
br label %17
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %6, align 8
%16 = call ptr @wcsstr(ptr noundef %14, ptr noundef %15)
br label %17
17: ; preds = %13, %12
%18 = phi ptr [ null, %12 ], [ %16, %13 ]
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = call i64 @wcslen(ptr noundef %22)
br label %31
24: ; preds = %17
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %5, align 8
%27 = ptrtoint ptr %25 to i64
%28 = ptrtoint ptr %26 to i64
%29 = sub i64 %27, %28
%30 = sdiv exact i64 %29, 8
br label %31
31: ; preds = %24, %21
%32 = phi i64 [ %23, %21 ], [ %30, %24 ]
store i64 %32, ptr %8, align 8
%33 = load ptr, ptr %7, align 8
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %36
35: ; preds = %31
br label %40
36: ; preds = %31
%37 = load ptr, ptr %4, align 8
%38 = load i64, ptr %8, align 8
%39 = getelementptr inbounds i64, ptr %37, i64 %38
br label %40
40: ; preds = %36, %35
%41 = phi ptr [ null, %35 ], [ %39, %36 ]
store ptr %41, ptr %9, align 8
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %5, align 8
%44 = load i64, ptr %8, align 8
%45 = call i32 @wmemmove(ptr noundef %42, ptr noundef %43, i64 noundef %44)
%46 = load ptr, ptr %4, align 8
%47 = load i64, ptr %8, align 8
%48 = getelementptr inbounds i64, ptr %46, i64 %47
store i64 0, ptr %48, align 8
%49 = load ptr, ptr %9, align 8
ret ptr %49
}
declare ptr @wcsstr(ptr noundef, ptr noundef) #1
declare i64 @wcslen(ptr noundef) #1
declare i32 @wmemmove(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/tmpyvuff1iw.c'
source_filename = "/tmp/tmpyvuff1iw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setup_epoll(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = mul i64 4, %8
%10 = trunc i64 %9 to i32
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
%13 = load ptr, ptr %5, align 8
store ptr %12, ptr %13, align 8
%14 = icmp eq ptr %12, null
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %26
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = call i32 @epoll_create(i32 noundef %17)
store i32 %18, ptr %6, align 4
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %21, align 8
%23 = call i32 @free(ptr noundef %22)
br label %24
24: ; preds = %20, %16
%25 = load i32, ptr %6, align 4
store i32 %25, ptr %3, align 4
br label %26
26: ; preds = %24, %15
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i64 @malloc(i32 noundef) #1
declare i32 @epoll_create(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyvuff1iw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setup_epoll(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = mul i64 4, %8
%10 = trunc i64 %9 to i32
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
%13 = load ptr, ptr %5, align 8
store ptr %12, ptr %13, align 8
%14 = icmp eq ptr %12, null
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %26
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = call i32 @epoll_create(i32 noundef %17)
store i32 %18, ptr %6, align 4
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %21, align 8
%23 = call i32 @free(ptr noundef %22)
br label %24
24: ; preds = %20, %16
%25 = load i32, ptr %6, align 4
store i32 %25, ptr %3, align 4
br label %26
26: ; preds = %24, %15
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i64 @malloc(i32 noundef) #1
declare i32 @epoll_create(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmv58ijjx.c'
source_filename = "/tmp/tmpmv58ijjx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"%d&%d should be %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"bitAnd(%d, %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 i32, align 4
%3 = alloca i32, align 4
store i32 60, ptr %1, align 4
store i32 13, ptr %2, align 4
%4 = load i32, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @bitAnd(i32 noundef %4, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8, i32 noundef 12)
%10 = load i32, ptr %1, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11, i32 noundef %12)
ret i32 0
}
declare i32 @bitAnd(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmv58ijjx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"%d&%d should be %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"bitAnd(%d, %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 i32, align 4
%3 = alloca i32, align 4
store i32 60, ptr %1, align 4
store i32 13, ptr %2, align 4
%4 = load i32, ptr %1, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @bitAnd(i32 noundef %4, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8, i32 noundef 12)
%10 = load i32, ptr %1, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11, i32 noundef %12)
ret i32 0
}
declare i32 @bitAnd(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8t648uvw.c'
source_filename = "/tmp/tmp8t648uvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @next_generation(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %102, %3
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp ne i32 %11, %12
br i1 %13, label %14, label %103
14: ; preds = %10
store i32 0, ptr %8, align 4
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 2
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 0
store i32 %17, ptr %19, align 4
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = getelementptr inbounds i32, ptr %23, i64 -1
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = getelementptr inbounds i32, ptr %29, i64 1
store i32 %25, ptr %30, align 4
store i32 1, ptr %7, align 4
br label %31
31: ; preds = %73, %14
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %35, label %76
35: ; preds = %31
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %35
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %8, align 4
%45 = call i32 @printf(ptr noundef @.str)
br label %48
46: ; preds = %35
%47 = call i32 @printf(ptr noundef @.str.1)
br label %48
48: ; preds = %46, %42
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %7, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
%53 = getelementptr inbounds i32, ptr %52, i64 -1
%54 = load i32, ptr %53, align 4
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %7, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = getelementptr inbounds i32, ptr %58, i64 1
%60 = load i32, ptr %59, align 4
%61 = icmp eq i32 %54, %60
br i1 %61, label %62, label %67
62: ; preds = %48
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %7, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
store i32 0, ptr %66, align 4
br label %72
67: ; preds = %48
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %7, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
store i32 1, ptr %71, align 4
br label %72
72: ; preds = %67, %62
br label %73
73: ; preds = %72
%74 = load i32, ptr %7, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %7, align 4
br label %31, !llvm.loop !6
76: ; preds = %31
%77 = call i32 @printf(ptr noundef @.str.2)
store i32 1, ptr %7, align 4
br label %78
78: ; preds = %92, %76
%79 = load i32, ptr %7, align 4
%80 = load i32, ptr %6, align 4
%81 = icmp sle i32 %79, %80
br i1 %81, label %82, label %95
82: ; preds = %78
%83 = load ptr, ptr %5, align 8
%84 = load i32, ptr %7, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load i32, ptr %86, align 4
%88 = load ptr, ptr %4, 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 %87, ptr %91, align 4
br label %92
92: ; preds = %82
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %7, align 4
br label %78, !llvm.loop !8
95: ; preds = %78
%96 = load i32, ptr %9, align 4
%97 = icmp eq i32 %96, 1000
br i1 %97, label %98, label %99
98: ; preds = %95
br label %103
99: ; preds = %95
%100 = load i32, ptr %9, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %9, align 4
br label %102
102: ; preds = %99
br label %10, !llvm.loop !9
103: ; preds = %98, %10
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8t648uvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @next_generation(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %10, %11
br i1 %12, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %3
br label %13
13: ; preds = %.lr.ph5, %105
store i32 0, ptr %8, align 4
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 2
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i32, ptr %17, i64 0
store i32 %16, ptr %18, align 4
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = getelementptr inbounds i32, ptr %22, i64 -1
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = getelementptr inbounds i32, ptr %28, i64 1
store i32 %24, ptr %29, align 4
store i32 1, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %.lr.ph, label %77
.lr.ph: ; preds = %13
br label %33
33: ; preds = %.lr.ph, %71
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %44
40: ; preds = %33
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
%43 = call i32 @printf(ptr noundef @.str)
br label %46
44: ; preds = %33
%45 = call i32 @printf(ptr noundef @.str.1)
br label %46
46: ; preds = %44, %40
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = getelementptr inbounds i32, ptr %50, i64 -1
%52 = load i32, ptr %51, align 4
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = getelementptr inbounds i32, ptr %56, i64 1
%58 = load i32, ptr %57, align 4
%59 = icmp eq i32 %52, %58
br i1 %59, label %60, label %65
60: ; preds = %46
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %7, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
store i32 0, ptr %64, align 4
br label %70
65: ; preds = %46
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %7, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %66, i64 %68
store i32 1, ptr %69, align 4
br label %70
70: ; preds = %65, %60
br label %71
71: ; preds = %70
%72 = load i32, ptr %7, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %7, align 4
%74 = load i32, ptr %7, align 4
%75 = load i32, ptr %6, align 4
%76 = icmp sle i32 %74, %75
br i1 %76, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %77
77: ; preds = %._crit_edge, %13
%78 = call i32 @printf(ptr noundef @.str.2)
store i32 1, ptr %7, align 4
%79 = load i32, ptr %7, align 4
%80 = load i32, ptr %6, align 4
%81 = icmp sle i32 %79, %80
br i1 %81, label %.lr.ph2, label %98
.lr.ph2: ; preds = %77
br label %82
82: ; preds = %.lr.ph2, %92
%83 = load ptr, ptr %5, align 8
%84 = load i32, ptr %7, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load i32, ptr %86, align 4
%88 = load ptr, ptr %4, 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 %87, ptr %91, align 4
br label %92
92: ; preds = %82
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %7, align 4
%95 = load i32, ptr %7, align 4
%96 = load i32, ptr %6, align 4
%97 = icmp sle i32 %95, %96
br i1 %97, label %82, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %92
br label %98
98: ; preds = %._crit_edge3, %77
%99 = load i32, ptr %9, align 4
%100 = icmp eq i32 %99, 1000
br i1 %100, label %101, label %102
101: ; preds = %98
br label %109
102: ; preds = %98
%103 = load i32, ptr %9, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %9, align 4
br label %105
105: ; preds = %102
%106 = load i32, ptr %8, align 4
%107 = load i32, ptr %6, align 4
%108 = icmp ne i32 %106, %107
br i1 %108, label %13, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %105
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %109
109: ; preds = %.loopexit, %101
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpojmc5bcm.c'
source_filename = "/tmp/tmpojmc5bcm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Welcome to Michael's login page\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Username: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Password: \00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"Congratulations, you've made it!\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"Sorry, please try again.\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"Calling the police!\0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"LoginErrors.txt\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"a+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i8], align 16
%3 = alloca [50 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 (...) @createList()
store i32 0, ptr %4, align 4
br label %8
8: ; preds = %28, %0
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %11, label %31
11: ; preds = %8
%12 = call i32 @printf(ptr noundef @.str.1)
%13 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%14 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %13)
%15 = call i32 (...) @getchar()
%16 = call i32 @printf(ptr noundef @.str.3)
%17 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%18 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %17)
%19 = call i32 (...) @getchar()
%20 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%21 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%22 = call i64 @valid(ptr noundef %20, ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %11
%25 = call i32 @printf(ptr noundef @.str.4)
store i32 0, ptr %1, align 4
br label %36
26: ; preds = %11
%27 = call i32 @printf(ptr noundef @.str.5)
br label %28
28: ; preds = %26
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
br label %8, !llvm.loop !6
31: ; preds = %8
%32 = call i32 @printf(ptr noundef @.str.6)
%33 = call ptr @fopen(ptr noundef @.str.7, ptr noundef @.str.8)
store ptr %33, ptr %5, align 8
%34 = load ptr, ptr %5, align 8
%35 = call i32 @fclose(ptr noundef %34)
store i32 0, ptr %1, align 4
br label %36
36: ; preds = %31, %24
%37 = load i32, ptr %1, align 4
ret i32 %37
}
declare i32 @printf(ptr noundef) #1
declare i32 @createList(...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
declare i64 @valid(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpojmc5bcm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Welcome to Michael's login page\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Username: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Password: \00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"Congratulations, you've made it!\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"Sorry, please try again.\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"Calling the police!\0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"LoginErrors.txt\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"a+\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i8], align 16
%3 = alloca [50 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 (...) @createList()
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %27
%11 = call i32 @printf(ptr noundef @.str.1)
%12 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %12)
%14 = call i32 (...) @getchar()
%15 = call i32 @printf(ptr noundef @.str.3)
%16 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%17 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %16)
%18 = call i32 (...) @getchar()
%19 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%20 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0
%21 = call i64 @valid(ptr noundef %19, ptr noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %10
%24 = call i32 @printf(ptr noundef @.str.4)
store i32 0, ptr %1, align 4
br label %37
25: ; preds = %10
%26 = call i32 @printf(ptr noundef @.str.5)
br label %27
27: ; preds = %25
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %30, 3
br i1 %31, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %0
%33 = call i32 @printf(ptr noundef @.str.6)
%34 = call ptr @fopen(ptr noundef @.str.7, ptr noundef @.str.8)
store ptr %34, ptr %5, align 8
%35 = load ptr, ptr %5, align 8
%36 = call i32 @fclose(ptr noundef %35)
store i32 0, ptr %1, align 4
br label %37
37: ; preds = %32, %23
%38 = load i32, ptr %1, align 4
ret i32 %38
}
declare i32 @printf(ptr noundef) #1
declare i32 @createList(...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
declare i64 @valid(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjiwcqr5d.c'
source_filename = "/tmp/tmpjiwcqr5d.c"
target datalayout = "e-m:e-p270: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/tmpjiwcqr5d.c"
target datalayout = "e-m:e-p270: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/tmp0nfl936g.c'
source_filename = "/tmp/tmp0nfl936g.c"
target datalayout = "e-m:e-p270: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/tmp0nfl936g.c"
target datalayout = "e-m:e-p270: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/tmpn566ntkt.c'
source_filename = "/tmp/tmpn566ntkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_gamma_constant(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [2 x double], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 1, ptr %9, align 4
%12 = load ptr, ptr %10, align 8
%13 = getelementptr inbounds [2 x double], ptr %11, i64 0, i64 0
%14 = load i32, ptr %8, align 4
%15 = call i32 @_ada_use_c2phc(i32 noundef 995, ptr noundef %7, ptr noundef %12, ptr noundef %13, i32 noundef %14)
store i32 %15, ptr %9, align 4
%16 = getelementptr inbounds [2 x double], ptr %11, i64 0, i64 0
%17 = load double, ptr %16, align 16
%18 = load ptr, ptr %5, align 8
store double %17, ptr %18, align 8
%19 = getelementptr inbounds [2 x double], ptr %11, i64 0, i64 1
%20 = load double, ptr %19, align 8
%21 = load ptr, ptr %6, align 8
store double %20, ptr %21, align 8
%22 = load i32, ptr %9, align 4
ret i32 %22
}
declare i32 @_ada_use_c2phc(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/tmpn566ntkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_gamma_constant(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [2 x double], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 1, ptr %9, align 4
%12 = load ptr, ptr %10, align 8
%13 = getelementptr inbounds [2 x double], ptr %11, i64 0, i64 0
%14 = load i32, ptr %8, align 4
%15 = call i32 @_ada_use_c2phc(i32 noundef 995, ptr noundef %7, ptr noundef %12, ptr noundef %13, i32 noundef %14)
store i32 %15, ptr %9, align 4
%16 = getelementptr inbounds [2 x double], ptr %11, i64 0, i64 0
%17 = load double, ptr %16, align 16
%18 = load ptr, ptr %5, align 8
store double %17, ptr %18, align 8
%19 = getelementptr inbounds [2 x double], ptr %11, i64 0, i64 1
%20 = load double, ptr %19, align 8
%21 = load ptr, ptr %6, align 8
store double %20, ptr %21, align 8
%22 = load i32, ptr %9, align 4
ret i32 %22
}
declare i32 @_ada_use_c2phc(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/tmpeaoddxa6.c'
source_filename = "/tmp/tmpeaoddxa6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__remap_file_pages(ptr noundef %0, i64 noundef %1, i32 noundef %2, i64 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i64 %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr @ENOSYS, align 4
%12 = call i32 @__set_errno(i32 noundef %11)
ret i32 -1
}
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/tmpeaoddxa6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__remap_file_pages(ptr noundef %0, i64 noundef %1, i32 noundef %2, i64 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i64 %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load i32, ptr @ENOSYS, align 4
%12 = call i32 @__set_errno(i32 noundef %11)
ret i32 -1
}
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 = '/tmp/tmpk3aywzkm.c'
source_filename = "/tmp/tmpk3aywzkm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stbi_decode_DXT1_block(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [16 x i8], align 16
%13 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 32, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = zext i8 %16 to i32
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 1
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = shl i32 %21, 8
%23 = add nsw i32 %17, %22
store i32 %23, ptr %10, align 4
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 2
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 3
%30 = load i8, ptr %29, align 1
%31 = zext i8 %30 to i32
%32 = shl i32 %31, 8
%33 = add nsw i32 %27, %32
store i32 %33, ptr %11, align 4
%34 = load i32, ptr %10, align 4
%35 = call i32 @stbi_rgb_888_from_565(i32 noundef %34, ptr noundef %7, ptr noundef %8, ptr noundef %9)
%36 = load i32, ptr %7, align 4
%37 = trunc i32 %36 to i8
%38 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
store i8 %37, ptr %38, align 16
%39 = load i32, ptr %8, align 4
%40 = trunc i32 %39 to i8
%41 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 1
store i8 %40, ptr %41, align 1
%42 = load i32, ptr %9, align 4
%43 = trunc i32 %42 to i8
%44 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 2
store i8 %43, ptr %44, align 2
%45 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 3
store i8 -1, ptr %45, align 1
%46 = load i32, ptr %11, align 4
%47 = call i32 @stbi_rgb_888_from_565(i32 noundef %46, ptr noundef %7, ptr noundef %8, ptr noundef %9)
%48 = load i32, ptr %7, align 4
%49 = trunc i32 %48 to i8
%50 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 4
store i8 %49, ptr %50, align 4
%51 = load i32, ptr %8, align 4
%52 = trunc i32 %51 to i8
%53 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 5
store i8 %52, ptr %53, align 1
%54 = load i32, ptr %9, align 4
%55 = trunc i32 %54 to i8
%56 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 6
store i8 %55, ptr %56, align 2
%57 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 7
store i8 -1, ptr %57, align 1
%58 = load i32, ptr %10, align 4
%59 = load i32, ptr %11, align 4
%60 = icmp sgt i32 %58, %59
br i1 %60, label %61, label %130
61: ; preds = %2
%62 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%63 = load i8, ptr %62, align 16
%64 = zext i8 %63 to i32
%65 = mul nsw i32 2, %64
%66 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 4
%67 = load i8, ptr %66, align 4
%68 = zext i8 %67 to i32
%69 = add nsw i32 %65, %68
%70 = sdiv i32 %69, 3
%71 = trunc i32 %70 to i8
%72 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 8
store i8 %71, ptr %72, align 8
%73 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 1
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = mul nsw i32 2, %75
%77 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 5
%78 = load i8, ptr %77, align 1
%79 = zext i8 %78 to i32
%80 = add nsw i32 %76, %79
%81 = sdiv i32 %80, 3
%82 = trunc i32 %81 to i8
%83 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 9
store i8 %82, ptr %83, align 1
%84 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 2
%85 = load i8, ptr %84, align 2
%86 = zext i8 %85 to i32
%87 = mul nsw i32 2, %86
%88 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 6
%89 = load i8, ptr %88, align 2
%90 = zext i8 %89 to i32
%91 = add nsw i32 %87, %90
%92 = sdiv i32 %91, 3
%93 = trunc i32 %92 to i8
%94 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 10
store i8 %93, ptr %94, align 2
%95 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 11
store i8 -1, ptr %95, align 1
%96 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%97 = load i8, ptr %96, align 16
%98 = zext i8 %97 to i32
%99 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 4
%100 = load i8, ptr %99, align 4
%101 = zext i8 %100 to i32
%102 = mul nsw i32 2, %101
%103 = add nsw i32 %98, %102
%104 = sdiv i32 %103, 3
%105 = trunc i32 %104 to i8
%106 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 12
store i8 %105, ptr %106, align 4
%107 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 1
%108 = load i8, ptr %107, align 1
%109 = zext i8 %108 to i32
%110 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 5
%111 = load i8, ptr %110, align 1
%112 = zext i8 %111 to i32
%113 = mul nsw i32 2, %112
%114 = add nsw i32 %109, %113
%115 = sdiv i32 %114, 3
%116 = trunc i32 %115 to i8
%117 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 13
store i8 %116, ptr %117, align 1
%118 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 2
%119 = load i8, ptr %118, align 2
%120 = zext i8 %119 to i32
%121 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 6
%122 = load i8, ptr %121, align 2
%123 = zext i8 %122 to i32
%124 = mul nsw i32 2, %123
%125 = add nsw i32 %120, %124
%126 = sdiv i32 %125, 3
%127 = trunc i32 %126 to i8
%128 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 14
store i8 %127, ptr %128, align 2
%129 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 15
store i8 -1, ptr %129, align 1
br label %166
130: ; preds = %2
%131 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%132 = load i8, ptr %131, align 16
%133 = zext i8 %132 to i32
%134 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 4
%135 = load i8, ptr %134, align 4
%136 = zext i8 %135 to i32
%137 = add nsw i32 %133, %136
%138 = sdiv i32 %137, 2
%139 = trunc i32 %138 to i8
%140 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 8
store i8 %139, ptr %140, align 8
%141 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 1
%142 = load i8, ptr %141, align 1
%143 = zext i8 %142 to i32
%144 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 5
%145 = load i8, ptr %144, align 1
%146 = zext i8 %145 to i32
%147 = add nsw i32 %143, %146
%148 = sdiv i32 %147, 2
%149 = trunc i32 %148 to i8
%150 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 9
store i8 %149, ptr %150, align 1
%151 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 2
%152 = load i8, ptr %151, align 2
%153 = zext i8 %152 to i32
%154 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 6
%155 = load i8, ptr %154, align 2
%156 = zext i8 %155 to i32
%157 = add nsw i32 %153, %156
%158 = sdiv i32 %157, 2
%159 = trunc i32 %158 to i8
%160 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 10
store i8 %159, ptr %160, align 2
%161 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 11
store i8 -1, ptr %161, align 1
%162 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 12
store i8 0, ptr %162, align 4
%163 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 13
store i8 0, ptr %163, align 1
%164 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 14
store i8 0, ptr %164, align 2
%165 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 15
store i8 0, ptr %165, align 1
br label %166
166: ; preds = %130, %61
store i32 0, ptr %6, align 4
br label %167
167: ; preds = %225, %166
%168 = load i32, ptr %6, align 4
%169 = icmp slt i32 %168, 64
br i1 %169, label %170, label %228
170: ; preds = %167
%171 = load ptr, ptr %4, align 8
%172 = load i32, ptr %5, align 4
%173 = ashr i32 %172, 3
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds i8, ptr %171, i64 %174
%176 = load i8, ptr %175, align 1
%177 = zext i8 %176 to i32
%178 = load i32, ptr %5, align 4
%179 = and i32 %178, 7
%180 = ashr i32 %177, %179
%181 = and i32 %180, 3
%182 = mul nsw i32 %181, 4
store i32 %182, ptr %13, align 4
%183 = load i32, ptr %5, align 4
%184 = add nsw i32 %183, 2
store i32 %184, ptr %5, align 4
%185 = load i32, ptr %13, align 4
%186 = add nsw i32 %185, 0
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 %187
%189 = load i8, ptr %188, align 1
%190 = load ptr, ptr %3, align 8
%191 = load i32, ptr %6, align 4
%192 = add nsw i32 %191, 0
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds i8, ptr %190, i64 %193
store i8 %189, ptr %194, align 1
%195 = load i32, ptr %13, align 4
%196 = add nsw i32 %195, 1
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 %197
%199 = load i8, ptr %198, align 1
%200 = load ptr, ptr %3, align 8
%201 = load i32, ptr %6, align 4
%202 = add nsw i32 %201, 1
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds i8, ptr %200, i64 %203
store i8 %199, ptr %204, align 1
%205 = load i32, ptr %13, align 4
%206 = add nsw i32 %205, 2
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 %207
%209 = load i8, ptr %208, align 1
%210 = load ptr, ptr %3, align 8
%211 = load i32, ptr %6, align 4
%212 = add nsw i32 %211, 2
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds i8, ptr %210, i64 %213
store i8 %209, ptr %214, align 1
%215 = load i32, ptr %13, align 4
%216 = add nsw i32 %215, 3
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 %217
%219 = load i8, ptr %218, align 1
%220 = load ptr, ptr %3, align 8
%221 = load i32, ptr %6, align 4
%222 = add nsw i32 %221, 3
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds i8, ptr %220, i64 %223
store i8 %219, ptr %224, align 1
br label %225
225: ; preds = %170
%226 = load i32, ptr %6, align 4
%227 = add nsw i32 %226, 4
store i32 %227, ptr %6, align 4
br label %167, !llvm.loop !6
228: ; preds = %167
ret void
}
declare i32 @stbi_rgb_888_from_565(i32 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/tmpk3aywzkm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stbi_decode_DXT1_block(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [16 x i8], align 16
%13 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 32, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = zext i8 %16 to i32
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 1
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = shl i32 %21, 8
%23 = add nsw i32 %17, %22
store i32 %23, ptr %10, align 4
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 2
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 3
%30 = load i8, ptr %29, align 1
%31 = zext i8 %30 to i32
%32 = shl i32 %31, 8
%33 = add nsw i32 %27, %32
store i32 %33, ptr %11, align 4
%34 = load i32, ptr %10, align 4
%35 = call i32 @stbi_rgb_888_from_565(i32 noundef %34, ptr noundef %7, ptr noundef %8, ptr noundef %9)
%36 = load i32, ptr %7, align 4
%37 = trunc i32 %36 to i8
%38 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
store i8 %37, ptr %38, align 16
%39 = load i32, ptr %8, align 4
%40 = trunc i32 %39 to i8
%41 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 1
store i8 %40, ptr %41, align 1
%42 = load i32, ptr %9, align 4
%43 = trunc i32 %42 to i8
%44 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 2
store i8 %43, ptr %44, align 2
%45 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 3
store i8 -1, ptr %45, align 1
%46 = load i32, ptr %11, align 4
%47 = call i32 @stbi_rgb_888_from_565(i32 noundef %46, ptr noundef %7, ptr noundef %8, ptr noundef %9)
%48 = load i32, ptr %7, align 4
%49 = trunc i32 %48 to i8
%50 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 4
store i8 %49, ptr %50, align 4
%51 = load i32, ptr %8, align 4
%52 = trunc i32 %51 to i8
%53 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 5
store i8 %52, ptr %53, align 1
%54 = load i32, ptr %9, align 4
%55 = trunc i32 %54 to i8
%56 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 6
store i8 %55, ptr %56, align 2
%57 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 7
store i8 -1, ptr %57, align 1
%58 = load i32, ptr %10, align 4
%59 = load i32, ptr %11, align 4
%60 = icmp sgt i32 %58, %59
br i1 %60, label %61, label %130
61: ; preds = %2
%62 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%63 = load i8, ptr %62, align 16
%64 = zext i8 %63 to i32
%65 = mul nsw i32 2, %64
%66 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 4
%67 = load i8, ptr %66, align 4
%68 = zext i8 %67 to i32
%69 = add nsw i32 %65, %68
%70 = sdiv i32 %69, 3
%71 = trunc i32 %70 to i8
%72 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 8
store i8 %71, ptr %72, align 8
%73 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 1
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = mul nsw i32 2, %75
%77 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 5
%78 = load i8, ptr %77, align 1
%79 = zext i8 %78 to i32
%80 = add nsw i32 %76, %79
%81 = sdiv i32 %80, 3
%82 = trunc i32 %81 to i8
%83 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 9
store i8 %82, ptr %83, align 1
%84 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 2
%85 = load i8, ptr %84, align 2
%86 = zext i8 %85 to i32
%87 = mul nsw i32 2, %86
%88 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 6
%89 = load i8, ptr %88, align 2
%90 = zext i8 %89 to i32
%91 = add nsw i32 %87, %90
%92 = sdiv i32 %91, 3
%93 = trunc i32 %92 to i8
%94 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 10
store i8 %93, ptr %94, align 2
%95 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 11
store i8 -1, ptr %95, align 1
%96 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%97 = load i8, ptr %96, align 16
%98 = zext i8 %97 to i32
%99 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 4
%100 = load i8, ptr %99, align 4
%101 = zext i8 %100 to i32
%102 = mul nsw i32 2, %101
%103 = add nsw i32 %98, %102
%104 = sdiv i32 %103, 3
%105 = trunc i32 %104 to i8
%106 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 12
store i8 %105, ptr %106, align 4
%107 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 1
%108 = load i8, ptr %107, align 1
%109 = zext i8 %108 to i32
%110 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 5
%111 = load i8, ptr %110, align 1
%112 = zext i8 %111 to i32
%113 = mul nsw i32 2, %112
%114 = add nsw i32 %109, %113
%115 = sdiv i32 %114, 3
%116 = trunc i32 %115 to i8
%117 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 13
store i8 %116, ptr %117, align 1
%118 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 2
%119 = load i8, ptr %118, align 2
%120 = zext i8 %119 to i32
%121 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 6
%122 = load i8, ptr %121, align 2
%123 = zext i8 %122 to i32
%124 = mul nsw i32 2, %123
%125 = add nsw i32 %120, %124
%126 = sdiv i32 %125, 3
%127 = trunc i32 %126 to i8
%128 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 14
store i8 %127, ptr %128, align 2
%129 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 15
store i8 -1, ptr %129, align 1
br label %166
130: ; preds = %2
%131 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%132 = load i8, ptr %131, align 16
%133 = zext i8 %132 to i32
%134 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 4
%135 = load i8, ptr %134, align 4
%136 = zext i8 %135 to i32
%137 = add nsw i32 %133, %136
%138 = sdiv i32 %137, 2
%139 = trunc i32 %138 to i8
%140 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 8
store i8 %139, ptr %140, align 8
%141 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 1
%142 = load i8, ptr %141, align 1
%143 = zext i8 %142 to i32
%144 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 5
%145 = load i8, ptr %144, align 1
%146 = zext i8 %145 to i32
%147 = add nsw i32 %143, %146
%148 = sdiv i32 %147, 2
%149 = trunc i32 %148 to i8
%150 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 9
store i8 %149, ptr %150, align 1
%151 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 2
%152 = load i8, ptr %151, align 2
%153 = zext i8 %152 to i32
%154 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 6
%155 = load i8, ptr %154, align 2
%156 = zext i8 %155 to i32
%157 = add nsw i32 %153, %156
%158 = sdiv i32 %157, 2
%159 = trunc i32 %158 to i8
%160 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 10
store i8 %159, ptr %160, align 2
%161 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 11
store i8 -1, ptr %161, align 1
%162 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 12
store i8 0, ptr %162, align 4
%163 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 13
store i8 0, ptr %163, align 1
%164 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 14
store i8 0, ptr %164, align 2
%165 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 15
store i8 0, ptr %165, align 1
br label %166
166: ; preds = %130, %61
store i32 0, ptr %6, align 4
%167 = load i32, ptr %6, align 4
%168 = icmp slt i32 %167, 64
br i1 %168, label %.lr.ph, label %229
.lr.ph: ; preds = %166
br label %169
169: ; preds = %.lr.ph, %224
%170 = load ptr, ptr %4, align 8
%171 = load i32, ptr %5, align 4
%172 = ashr i32 %171, 3
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds i8, ptr %170, i64 %173
%175 = load i8, ptr %174, align 1
%176 = zext i8 %175 to i32
%177 = load i32, ptr %5, align 4
%178 = and i32 %177, 7
%179 = ashr i32 %176, %178
%180 = and i32 %179, 3
%181 = mul nsw i32 %180, 4
store i32 %181, ptr %13, align 4
%182 = load i32, ptr %5, align 4
%183 = add nsw i32 %182, 2
store i32 %183, ptr %5, align 4
%184 = load i32, ptr %13, align 4
%185 = add nsw i32 %184, 0
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 %186
%188 = load i8, ptr %187, align 1
%189 = load ptr, ptr %3, align 8
%190 = load i32, ptr %6, align 4
%191 = add nsw i32 %190, 0
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds i8, ptr %189, i64 %192
store i8 %188, ptr %193, align 1
%194 = load i32, ptr %13, align 4
%195 = add nsw i32 %194, 1
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 %196
%198 = load i8, ptr %197, align 1
%199 = load ptr, ptr %3, align 8
%200 = load i32, ptr %6, align 4
%201 = add nsw i32 %200, 1
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds i8, ptr %199, i64 %202
store i8 %198, ptr %203, align 1
%204 = load i32, ptr %13, align 4
%205 = add nsw i32 %204, 2
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 %206
%208 = load i8, ptr %207, align 1
%209 = load ptr, ptr %3, align 8
%210 = load i32, ptr %6, align 4
%211 = add nsw i32 %210, 2
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds i8, ptr %209, i64 %212
store i8 %208, ptr %213, align 1
%214 = load i32, ptr %13, align 4
%215 = add nsw i32 %214, 3
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 %216
%218 = load i8, ptr %217, align 1
%219 = load ptr, ptr %3, align 8
%220 = load i32, ptr %6, align 4
%221 = add nsw i32 %220, 3
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds i8, ptr %219, i64 %222
store i8 %218, ptr %223, align 1
br label %224
224: ; preds = %169
%225 = load i32, ptr %6, align 4
%226 = add nsw i32 %225, 4
store i32 %226, ptr %6, align 4
%227 = load i32, ptr %6, align 4
%228 = icmp slt i32 %227, 64
br i1 %228, label %169, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %224
br label %229
229: ; preds = %._crit_edge, %166
ret void
}
declare i32 @stbi_rgb_888_from_565(i32 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/tmpxe0ha8gl.c'
source_filename = "/tmp/tmpxe0ha8gl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_cells(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %68, %4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, 1
%16 = icmp sle i32 %13, %15
br i1 %16, label %17, label %71
17: ; preds = %12
store i32 0, ptr %10, align 4
br label %18
18: ; preds = %64, %17
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
%22 = icmp sle i32 %19, %21
br i1 %22, label %23, label %67
23: ; preds = %18
store i32 0, ptr %11, align 4
br label %24
24: ; preds = %60, %23
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, 1
%28 = icmp sle i32 %25, %27
br i1 %28, label %29, label %63
29: ; preds = %24
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %11, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = call i32 @isboundary(i32 noundef %42)
%44 = icmp ne i32 %43, 0
br i1 %44, label %59, label %45
45: ; preds = %29
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds ptr, ptr %50, i64 %52
%54 = load ptr, ptr %53, align 8
%55 = load i32, ptr %11, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = call i32 @setcelltype(ptr noundef %57, i32 noundef 1)
br label %59
59: ; preds = %45, %29
br label %60
60: ; preds = %59
%61 = load i32, ptr %11, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %11, align 4
br label %24, !llvm.loop !6
63: ; preds = %24
br label %64
64: ; preds = %63
%65 = load i32, ptr %10, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %10, align 4
br label %18, !llvm.loop !8
67: ; preds = %18
br label %68
68: ; preds = %67
%69 = load i32, ptr %9, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %9, align 4
br label %12, !llvm.loop !9
71: ; preds = %12
ret void
}
declare i32 @isboundary(i32 noundef) #1
declare i32 @setcelltype(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxe0ha8gl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_cells(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %6, align 4
%14 = add nsw i32 %13, 1
%15 = icmp sle i32 %12, %14
br i1 %15, label %.lr.ph5, label %80
.lr.ph5: ; preds = %4
br label %16
16: ; preds = %.lr.ph5, %73
store i32 0, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = load i32, ptr %7, align 4
%19 = add nsw i32 %18, 1
%20 = icmp sle i32 %17, %19
br i1 %20, label %.lr.ph2, label %72
.lr.ph2: ; preds = %16
br label %21
21: ; preds = %.lr.ph2, %65
store i32 0, ptr %11, align 4
%22 = load i32, ptr %11, align 4
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = icmp sle i32 %22, %24
br i1 %25, label %.lr.ph, label %64
.lr.ph: ; preds = %21
br label %26
26: ; preds = %.lr.ph, %57
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %27, i64 %29
%31 = load ptr, ptr %30, align 8
%32 = load i32, ptr %10, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = load i32, ptr %11, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = call i32 @isboundary(i32 noundef %39)
%41 = icmp ne i32 %40, 0
br i1 %41, label %56, label %42
42: ; preds = %26
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %9, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %11, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = call i32 @setcelltype(ptr noundef %54, i32 noundef 1)
br label %56
56: ; preds = %42, %26
br label %57
57: ; preds = %56
%58 = load i32, ptr %11, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %11, align 4
%60 = load i32, ptr %11, align 4
%61 = load i32, ptr %8, align 4
%62 = add nsw i32 %61, 1
%63 = icmp sle i32 %60, %62
br i1 %63, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %57
br label %64
64: ; preds = %._crit_edge, %21
br label %65
65: ; preds = %64
%66 = load i32, ptr %10, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %10, align 4
%68 = load i32, ptr %10, align 4
%69 = load i32, ptr %7, align 4
%70 = add nsw i32 %69, 1
%71 = icmp sle i32 %68, %70
br i1 %71, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %65
br label %72
72: ; preds = %._crit_edge3, %16
br label %73
73: ; preds = %72
%74 = load i32, ptr %9, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %9, align 4
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %6, align 4
%78 = add nsw i32 %77, 1
%79 = icmp sle i32 %76, %78
br i1 %79, label %16, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %73
br label %80
80: ; preds = %._crit_edge6, %4
ret void
}
declare i32 @isboundary(i32 noundef) #1
declare i32 @setcelltype(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpeoyaaoz_.c'
source_filename = "/tmp/tmpeoyaaoz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"give the number of doubles : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"-> give element %d : \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"The %d numbers : \00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c" %.16le\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"The string : %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"number of items : %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"the %d numbers :\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_dbllist2str() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [80 x i8], align 16
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%13 = load i32, ptr %2, align 4
%14 = zext i32 %13 to i64
%15 = call ptr @llvm.stacksave()
store ptr %15, ptr %5, align 8
%16 = alloca double, i64 %14, align 16
store i64 %14, ptr %6, align 8
store i32 0, ptr %1, align 4
br label %17
17: ; preds = %28, %0
%18 = load i32, ptr %1, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %31
21: ; preds = %17
%22 = load i32, ptr %1, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22)
%24 = load i32, ptr %1, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %16, i64 %25
%27 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %26)
br label %28
28: ; preds = %21
%29 = load i32, ptr %1, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %1, align 4
br label %17, !llvm.loop !6
31: ; preds = %17
%32 = load i32, ptr %2, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32)
store i32 0, ptr %1, align 4
br label %34
34: ; preds = %44, %31
%35 = load i32, ptr %1, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %47
38: ; preds = %34
%39 = load i32, ptr %1, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %16, i64 %40
%42 = load double, ptr %41, align 8
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %42)
br label %44
44: ; preds = %38
%45 = load i32, ptr %1, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %1, align 4
br label %34, !llvm.loop !8
47: ; preds = %34
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%49 = load i32, ptr %2, align 4
%50 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%51 = call i32 @dbllist2str(i32 noundef %49, ptr noundef %16, ptr noundef %50)
store i32 %51, ptr %3, align 4
%52 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %52)
%53 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %53)
%55 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%56 = call i32 @itemcount(ptr noundef %55)
store i32 %56, ptr %7, align 4
%57 = load i32, ptr %7, align 4
%58 = zext i32 %57 to i64
%59 = call ptr @llvm.stacksave()
store ptr %59, ptr %8, align 8
%60 = alloca double, i64 %58, align 16
store i64 %58, ptr %9, align 8
%61 = load i32, ptr %7, align 4
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %61)
%63 = load i32, ptr %2, align 4
%64 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%65 = call i32 @str2dbllist(i32 noundef %63, ptr noundef %64, ptr noundef %60)
%66 = load i32, ptr %7, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %66)
store i32 0, ptr %10, align 4
br label %68
68: ; preds = %78, %47
%69 = load i32, ptr %10, align 4
%70 = load i32, ptr %7, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %72, label %81
72: ; preds = %68
%73 = load i32, ptr %10, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, ptr %60, i64 %74
%76 = load double, ptr %75, align 8
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %76)
br label %78
78: ; preds = %72
%79 = load i32, ptr %10, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %10, align 4
br label %68, !llvm.loop !9
81: ; preds = %68
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%83 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %83)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @dbllist2str(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
declare i32 @itemcount(ptr noundef) #1
declare i32 @str2dbllist(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeoyaaoz_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"give the number of doubles : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"-> give element %d : \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"The %d numbers : \00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c" %.16le\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"The string : %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [22 x i8] c"number of items : %d\0A\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"the %d numbers :\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_dbllist2str() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [80 x i8], align 16
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%13 = load i32, ptr %2, align 4
%14 = zext i32 %13 to i64
%15 = call ptr @llvm.stacksave()
store ptr %15, ptr %5, align 8
%16 = alloca double, i64 %14, align 16
store i64 %14, ptr %6, align 8
store i32 0, ptr %1, align 4
%17 = load i32, ptr %1, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %33
.lr.ph: ; preds = %0
br label %20
20: ; preds = %.lr.ph, %27
%21 = load i32, ptr %1, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21)
%23 = load i32, ptr %1, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %16, i64 %24
%26 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %25)
br label %27
27: ; preds = %20
%28 = load i32, ptr %1, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %1, align 4
%30 = load i32, ptr %1, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %0
%34 = load i32, ptr %2, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %34)
store i32 0, ptr %1, align 4
%36 = load i32, ptr %1, align 4
%37 = load i32, ptr %2, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph2, label %51
.lr.ph2: ; preds = %33
br label %39
39: ; preds = %.lr.ph2, %45
%40 = load i32, ptr %1, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %16, i64 %41
%43 = load double, ptr %42, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %43)
br label %45
45: ; preds = %39
%46 = load i32, ptr %1, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %1, align 4
%48 = load i32, ptr %1, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %51
51: ; preds = %._crit_edge3, %33
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%53 = load i32, ptr %2, align 4
%54 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%55 = call i32 @dbllist2str(i32 noundef %53, ptr noundef %16, ptr noundef %54)
store i32 %55, ptr %3, align 4
%56 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %56)
%57 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %57)
%59 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%60 = call i32 @itemcount(ptr noundef %59)
store i32 %60, ptr %7, align 4
%61 = load i32, ptr %7, align 4
%62 = zext i32 %61 to i64
%63 = call ptr @llvm.stacksave()
store ptr %63, ptr %8, align 8
%64 = alloca double, i64 %62, align 16
store i64 %62, ptr %9, align 8
%65 = load i32, ptr %7, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %65)
%67 = load i32, ptr %2, align 4
%68 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%69 = call i32 @str2dbllist(i32 noundef %67, ptr noundef %68, ptr noundef %64)
%70 = load i32, ptr %7, align 4
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %70)
store i32 0, ptr %10, align 4
%72 = load i32, ptr %10, align 4
%73 = load i32, ptr %7, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %.lr.ph5, label %87
.lr.ph5: ; preds = %51
br label %75
75: ; preds = %.lr.ph5, %81
%76 = load i32, ptr %10, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, ptr %64, i64 %77
%79 = load double, ptr %78, align 8
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %79)
br label %81
81: ; preds = %75
%82 = load i32, ptr %10, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %10, align 4
%84 = load i32, ptr %10, align 4
%85 = load i32, ptr %7, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %75, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %81
br label %87
87: ; preds = %._crit_edge6, %51
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%89 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %89)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @dbllist2str(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
declare i32 @itemcount(ptr noundef) #1
declare i32 @str2dbllist(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpgh0eadkk.c'
source_filename = "/tmp/tmpgh0eadkk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Numero %d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(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 0, ptr %5, align 4
br label %6
6: ; preds = %18, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %21
10: ; preds = %6
%11 = load i32, ptr %5, align 4
%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 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %6, !llvm.loop !6
21: ; 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/tmpgh0eadkk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Numero %d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(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 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %17
%10 = load i32, ptr %5, align 4
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; 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/tmphmat1i8k.c'
source_filename = "/tmp/tmphmat1i8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ud\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"Undefined parameter %s: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_uint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @sscanf(ptr noundef %7, ptr noundef @.str, ptr noundef %5)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %17, label %11
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.1, ptr noundef %13, ptr noundef %14)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = load i32, ptr %5, align 4
ret i32 %18
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphmat1i8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ud\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"Undefined parameter %s: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_uint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @sscanf(ptr noundef %7, ptr noundef @.str, ptr noundef %5)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %17, label %11
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.1, ptr noundef %13, ptr noundef %14)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = load i32, ptr %5, align 4
ret i32 %18
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8osofgwd.c'
source_filename = "/tmp/tmp8osofgwd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Ich bin ein KC85/4\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Ich bin ein KC85/2 oder KC85/3\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Bildschirmadressen\0A (neu berechnet):\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"%04x: \00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%04x \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 void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (...) @get_machine_type()
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (...) @hack_und_patch()
br label %10
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %10
10: ; preds = %8, %5
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %12
12: ; preds = %37, %10
%13 = load i32, ptr %1, align 4
%14 = icmp ult i32 %13, 256
br i1 %14, label %15, label %40
15: ; preds = %12
%16 = load i32, ptr %1, align 4
%17 = mul i32 256, %16
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %18)
%20 = load i32, ptr %2, align 4
%21 = or i32 %20, 0
%22 = call i32 @lookup(i32 noundef %21)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %22)
%24 = load i32, ptr %2, align 4
%25 = or i32 %24, 31
%26 = call i32 @lookup(i32 noundef %25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %26)
%28 = load i32, ptr %2, align 4
%29 = or i32 %28, 32
%30 = call i32 @lookup(i32 noundef %29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30)
%32 = load i32, ptr %2, align 4
%33 = or i32 %32, 40
%34 = call i32 @lookup(i32 noundef %33)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %34)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %37
37: ; preds = %15
%38 = load i32, ptr %1, align 4
%39 = add i32 %38, 8
store i32 %39, ptr %1, align 4
br label %12, !llvm.loop !6
40: ; preds = %12
ret void
}
declare i32 @get_machine_type(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @hack_und_patch(...) #1
declare i32 @lookup(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/tmp8osofgwd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Ich bin ein KC85/4\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Ich bin ein KC85/2 oder KC85/3\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Bildschirmadressen\0A (neu berechnet):\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"%04x: \00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%04x \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 void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (...) @get_machine_type()
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (...) @hack_und_patch()
br label %10
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %10
10: ; preds = %8, %5
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
%12 = load i32, ptr %1, align 4
%13 = icmp ult i32 %12, 256
br i1 %13, label %.lr.ph, label %41
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %36
%15 = load i32, ptr %1, align 4
%16 = mul i32 256, %15
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = or i32 %19, 0
%21 = call i32 @lookup(i32 noundef %20)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %21)
%23 = load i32, ptr %2, align 4
%24 = or i32 %23, 31
%25 = call i32 @lookup(i32 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %25)
%27 = load i32, ptr %2, align 4
%28 = or i32 %27, 32
%29 = call i32 @lookup(i32 noundef %28)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %29)
%31 = load i32, ptr %2, align 4
%32 = or i32 %31, 40
%33 = call i32 @lookup(i32 noundef %32)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %36
36: ; preds = %14
%37 = load i32, ptr %1, align 4
%38 = add i32 %37, 8
store i32 %38, ptr %1, align 4
%39 = load i32, ptr %1, align 4
%40 = icmp ult i32 %39, 256
br i1 %40, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %41
41: ; preds = %._crit_edge, %10
ret void
}
declare i32 @get_machine_type(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @hack_und_patch(...) #1
declare i32 @lookup(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/tmpx3x6fcn8.c'
source_filename = "/tmp/tmpx3x6fcn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @flushandreload(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = call i64 (...) @rdtsc()
store i64 %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @flush(ptr noundef %6)
%8 = call i64 (...) @rdtsc()
%9 = load i64, ptr %3, align 8
%10 = sub i64 %8, %9
store i64 %10, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @flush(ptr noundef %11)
%13 = load i64, ptr %4, align 8
ret i64 %13
}
declare i64 @rdtsc(...) #1
declare i32 @flush(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx3x6fcn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @flushandreload(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = call i64 (...) @rdtsc()
store i64 %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @flush(ptr noundef %6)
%8 = call i64 (...) @rdtsc()
%9 = load i64, ptr %3, align 8
%10 = sub i64 %8, %9
store i64 %10, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @flush(ptr noundef %11)
%13 = load i64, ptr %4, align 8
ret i64 %13
}
declare i64 @rdtsc(...) #1
declare i32 @flush(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoku0x_1t.c'
source_filename = "/tmp/tmpoku0x_1t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\x280d\\x280e\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"sm\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"letterDefTest_letter.ctb\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"letterDefTest_lowercase.ctb\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"letterDefTest_uppercase.ctb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca 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
store i32 0, ptr %6, align 4
store ptr @.str, ptr %7, align 8
store ptr @.str.1, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %8, align 8
%11 = call i32 @check_translation(ptr noundef @.str.2, ptr noundef %9, ptr noundef null, ptr noundef %10)
%12 = load i32, ptr %6, align 4
%13 = or i32 %12, %11
store i32 %13, ptr %6, align 4
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = call i32 @check_translation(ptr noundef @.str.3, ptr noundef %14, ptr noundef null, ptr noundef %15)
%17 = load i32, ptr %6, align 4
%18 = or i32 %17, %16
store i32 %18, ptr %6, align 4
%19 = load ptr, ptr %7, align 8
%20 = load ptr, ptr %8, align 8
%21 = call i32 @check_translation(ptr noundef @.str.4, ptr noundef %19, ptr noundef null, ptr noundef %20)
%22 = load i32, ptr %6, align 4
%23 = or i32 %22, %21
store i32 %23, ptr %6, align 4
%24 = call i32 (...) @lou_free()
%25 = load i32, ptr %6, align 4
ret i32 %25
}
declare i32 @check_translation(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @lou_free(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoku0x_1t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\x280d\\x280e\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"sm\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"letterDefTest_letter.ctb\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"letterDefTest_lowercase.ctb\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"letterDefTest_uppercase.ctb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca 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
store i32 0, ptr %6, align 4
store ptr @.str, ptr %7, align 8
store ptr @.str.1, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %8, align 8
%11 = call i32 @check_translation(ptr noundef @.str.2, ptr noundef %9, ptr noundef null, ptr noundef %10)
%12 = load i32, ptr %6, align 4
%13 = or i32 %12, %11
store i32 %13, ptr %6, align 4
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = call i32 @check_translation(ptr noundef @.str.3, ptr noundef %14, ptr noundef null, ptr noundef %15)
%17 = load i32, ptr %6, align 4
%18 = or i32 %17, %16
store i32 %18, ptr %6, align 4
%19 = load ptr, ptr %7, align 8
%20 = load ptr, ptr %8, align 8
%21 = call i32 @check_translation(ptr noundef @.str.4, ptr noundef %19, ptr noundef null, ptr noundef %20)
%22 = load i32, ptr %6, align 4
%23 = or i32 %22, %21
store i32 %23, ptr %6, align 4
%24 = call i32 (...) @lou_free()
%25 = load i32, ptr %6, align 4
ret i32 %25
}
declare i32 @check_translation(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @lou_free(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu3rt03zz.c'
source_filename = "/tmp/tmpu3rt03zz.c"
target datalayout = "e-m:e-p270: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
@EXIT_SUCCESS = 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/tmpu3rt03zz.c"
target datalayout = "e-m:e-p270: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
@EXIT_SUCCESS = 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/tmpf4_xtt1t.c'
source_filename = "/tmp/tmpf4_xtt1t.c"
target datalayout = "e-m:e-p270: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.readstat_sav_date_string.daysPerMonth = private unnamed_addr constant [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@__const.readstat_sav_date_string.daysPerMonthLeap = private unnamed_addr constant [12 x i32] [i32 31, i32 29, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [56 x i8] c"%s:%d time not supported. seconds was %lf, err was %lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/WizardMac/ReadStat/refs/heads/master/src/bin/util/readstat_sav_date.c\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"%04d-%02d-%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readstat_sav_date_string(double noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [12 x i32], align 16
%12 = alloca [12 x i32], align 16
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store double %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 1582, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %10, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.readstat_sav_date_string.daysPerMonth, i64 48, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.readstat_sav_date_string.daysPerMonthLeap, i64 48, i1 false)
%18 = load double, ptr %5, align 8
store double %18, ptr %13, align 8
%19 = load double, ptr %13, align 8
%20 = fadd double %19, 2.471040e+07
store double %20, ptr %13, align 8
%21 = load double, ptr %13, align 8
%22 = fdiv double %21, 8.640000e+04
store double %22, ptr %14, align 8
%23 = load double, ptr %14, align 8
%24 = load double, ptr %14, align 8
%25 = fptosi double %24 to i64
%26 = sitofp i64 %25 to double
%27 = fsub double %23, %26
store double %27, ptr %15, align 8
%28 = load double, ptr %15, align 8
%29 = fcmp une double %28, 0.000000e+00
br i1 %29, label %30, label %35
30: ; preds = %3
%31 = load i32, ptr @stderr, align 4
%32 = load double, ptr %5, align 8
%33 = load double, ptr %15, align 8
%34 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 58, double noundef %32, double noundef %33)
store ptr null, ptr %4, align 8
br label %98
35: ; preds = %3
br label %36
36: ; preds = %83, %76, %49, %35
%37 = load double, ptr %14, align 8
%38 = fcmp ogt double %37, 0.000000e+00
br i1 %38, label %39, label %89
39: ; preds = %36
%40 = load i32, ptr %8, align 4
%41 = call i64 @is_leap(i32 noundef %40)
%42 = icmp ne i64 %41, 0
%43 = zext i1 %42 to i64
%44 = select i1 %42, i32 366, i32 365
store i32 %44, ptr %16, align 4
%45 = load double, ptr %14, align 8
%46 = load i32, ptr %16, align 4
%47 = sitofp i32 %46 to double
%48 = fcmp oge double %45, %47
br i1 %48, label %49, label %56
49: ; preds = %39
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %16, align 4
%53 = sitofp i32 %52 to double
%54 = load double, ptr %14, align 8
%55 = fsub double %54, %53
store double %55, ptr %14, align 8
br label %36, !llvm.loop !6
56: ; preds = %39
%57 = load i32, ptr %8, align 4
%58 = call i64 @is_leap(i32 noundef %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %65
60: ; preds = %56
%61 = load i32, ptr %9, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [12 x i32], ptr %12, i64 0, i64 %62
%64 = load i32, ptr %63, align 4
br label %70
65: ; preds = %56
%66 = load i32, ptr %9, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [12 x i32], ptr %11, i64 0, i64 %67
%69 = load i32, ptr %68, align 4
br label %70
70: ; preds = %65, %60
%71 = phi i32 [ %64, %60 ], [ %69, %65 ]
store i32 %71, ptr %17, align 4
%72 = load double, ptr %14, align 8
%73 = load i32, ptr %17, align 4
%74 = sitofp i32 %73 to double
%75 = fcmp oge double %72, %74
br i1 %75, label %76, label %83
76: ; preds = %70
%77 = load i32, ptr %9, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %9, align 4
%79 = load i32, ptr %17, align 4
%80 = sitofp i32 %79 to double
%81 = load double, ptr %14, align 8
%82 = fsub double %81, %80
store double %82, ptr %14, align 8
br label %36, !llvm.loop !6
83: ; preds = %70
%84 = load double, ptr %14, align 8
%85 = load i32, ptr %10, align 4
%86 = sitofp i32 %85 to double
%87 = fadd double %86, %84
%88 = fptosi double %87 to i32
store i32 %88, ptr %10, align 4
store double 0.000000e+00, ptr %14, align 8
br label %36, !llvm.loop !6
89: ; preds = %36
%90 = load ptr, ptr %6, align 8
%91 = load i32, ptr %7, align 4
%92 = load i32, ptr %8, align 4
%93 = load i32, ptr %9, align 4
%94 = add nsw i32 %93, 1
%95 = load i32, ptr %10, align 4
%96 = call i32 @snprintf(ptr noundef %90, i32 noundef %91, ptr noundef @.str.2, i32 noundef %92, i32 noundef %94, i32 noundef %95)
%97 = load ptr, ptr %6, align 8
store ptr %97, ptr %4, align 8
br label %98
98: ; preds = %89, %30
%99 = load ptr, ptr %4, align 8
ret ptr %99
}
; 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 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef) #2
declare i64 @is_leap(i32 noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf4_xtt1t.c"
target datalayout = "e-m:e-p270: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.readstat_sav_date_string.daysPerMonth = private unnamed_addr constant [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@__const.readstat_sav_date_string.daysPerMonthLeap = private unnamed_addr constant [12 x i32] [i32 31, i32 29, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [56 x i8] c"%s:%d time not supported. seconds was %lf, err was %lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/WizardMac/ReadStat/refs/heads/master/src/bin/util/readstat_sav_date.c\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"%04d-%02d-%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readstat_sav_date_string(double noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [12 x i32], align 16
%12 = alloca [12 x i32], align 16
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store double %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 1582, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %10, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.readstat_sav_date_string.daysPerMonth, i64 48, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.readstat_sav_date_string.daysPerMonthLeap, i64 48, i1 false)
%18 = load double, ptr %5, align 8
store double %18, ptr %13, align 8
%19 = load double, ptr %13, align 8
%20 = fadd double %19, 2.471040e+07
store double %20, ptr %13, align 8
%21 = load double, ptr %13, align 8
%22 = fdiv double %21, 8.640000e+04
store double %22, ptr %14, align 8
%23 = load double, ptr %14, align 8
%24 = load double, ptr %14, align 8
%25 = fptosi double %24 to i64
%26 = sitofp i64 %25 to double
%27 = fsub double %23, %26
store double %27, ptr %15, align 8
%28 = load double, ptr %15, align 8
%29 = fcmp une double %28, 0.000000e+00
br i1 %29, label %30, label %35
30: ; preds = %3
%31 = load i32, ptr @stderr, align 4
%32 = load double, ptr %5, align 8
%33 = load double, ptr %15, align 8
%34 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 58, double noundef %32, double noundef %33)
store ptr null, ptr %4, align 8
br label %99
35: ; preds = %3
%36 = load double, ptr %14, align 8
%37 = fcmp ogt double %36, 0.000000e+00
br i1 %37, label %.lr.ph, label %90
.lr.ph: ; preds = %35
br label %38
38: ; preds = %.lr.ph, %.backedge
%39 = load i32, ptr %8, align 4
%40 = call i64 @is_leap(i32 noundef %39)
%41 = icmp ne i64 %40, 0
%42 = zext i1 %41 to i64
%43 = select i1 %41, i32 366, i32 365
store i32 %43, ptr %16, align 4
%44 = load double, ptr %14, align 8
%45 = load i32, ptr %16, align 4
%46 = sitofp i32 %45 to double
%47 = fcmp oge double %44, %46
br i1 %47, label %48, label %57
48: ; preds = %38
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %8, align 4
%51 = load i32, ptr %16, align 4
%52 = sitofp i32 %51 to double
%53 = load double, ptr %14, align 8
%54 = fsub double %53, %52
store double %54, ptr %14, align 8
br label %.backedge
.backedge: ; preds = %48, %77, %84
%55 = load double, ptr %14, align 8
%56 = fcmp ogt double %55, 0.000000e+00
br i1 %56, label %38, label %._crit_edge, !llvm.loop !6
57: ; preds = %38
%58 = load i32, ptr %8, align 4
%59 = call i64 @is_leap(i32 noundef %58)
%60 = icmp ne i64 %59, 0
br i1 %60, label %61, label %66
61: ; preds = %57
%62 = load i32, ptr %9, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [12 x i32], ptr %12, i64 0, i64 %63
%65 = load i32, ptr %64, align 4
br label %71
66: ; preds = %57
%67 = load i32, ptr %9, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [12 x i32], ptr %11, i64 0, i64 %68
%70 = load i32, ptr %69, align 4
br label %71
71: ; preds = %66, %61
%72 = phi i32 [ %65, %61 ], [ %70, %66 ]
store i32 %72, ptr %17, align 4
%73 = load double, ptr %14, align 8
%74 = load i32, ptr %17, align 4
%75 = sitofp i32 %74 to double
%76 = fcmp oge double %73, %75
br i1 %76, label %77, label %84
77: ; preds = %71
%78 = load i32, ptr %9, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %9, align 4
%80 = load i32, ptr %17, align 4
%81 = sitofp i32 %80 to double
%82 = load double, ptr %14, align 8
%83 = fsub double %82, %81
store double %83, ptr %14, align 8
br label %.backedge
84: ; preds = %71
%85 = load double, ptr %14, align 8
%86 = load i32, ptr %10, align 4
%87 = sitofp i32 %86 to double
%88 = fadd double %87, %85
%89 = fptosi double %88 to i32
store i32 %89, ptr %10, align 4
store double 0.000000e+00, ptr %14, align 8
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %90
90: ; preds = %._crit_edge, %35
%91 = load ptr, ptr %6, align 8
%92 = load i32, ptr %7, align 4
%93 = load i32, ptr %8, align 4
%94 = load i32, ptr %9, align 4
%95 = add nsw i32 %94, 1
%96 = load i32, ptr %10, align 4
%97 = call i32 @snprintf(ptr noundef %91, i32 noundef %92, ptr noundef @.str.2, i32 noundef %93, i32 noundef %95, i32 noundef %96)
%98 = load ptr, ptr %6, align 8
store ptr %98, ptr %4, align 8
br label %99
99: ; preds = %90, %30
%100 = load ptr, ptr %4, align 8
ret ptr %100
}
; 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 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef) #2
declare i64 @is_leap(i32 noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcovghx7p.c'
source_filename = "/tmp/tmpcovghx7p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getCPUCores() #0 {
%1 = call i32 (...) @cpu_num_cores()
ret i32 %1
}
declare i32 @cpu_num_cores(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcovghx7p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getCPUCores() #0 {
%1 = call i32 (...) @cpu_num_cores()
ret i32 %1
}
declare i32 @cpu_num_cores(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_j43cdh5.c'
source_filename = "/tmp/tmp_j43cdh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"pe [option]* file1...\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c" -test\09run tests\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c" -help\09show this help\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c" -logerr\09log only errors (default)\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c" -logmsg\09log informational messages\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c" -escdelay n\09set escape delay (msec)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_j43cdh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"pe [option]* file1...\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c" -test\09run tests\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c" -help\09show this help\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c" -logerr\09log only errors (default)\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c" -logmsg\09log informational messages\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c" -escdelay n\09set escape delay (msec)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_help() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzmec9i6a.c'
source_filename = "/tmp/tmpzmec9i6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetControlVisiable(i16 noundef zeroext %0, i16 noundef zeroext %1, i8 noundef zeroext %2) #0 {
%4 = alloca i16, align 2
%5 = alloca i16, align 2
%6 = alloca i8, align 1
store i16 %0, ptr %4, align 2
store i16 %1, ptr %5, align 2
store i8 %2, ptr %6, align 1
%7 = call i32 @SendChar(i32 noundef 238)
%8 = call i32 @SendChar(i32 noundef 177)
%9 = call i32 @SendChar(i32 noundef 3)
%10 = load i16, ptr %4, align 2
%11 = zext i16 %10 to i32
%12 = ashr i32 %11, 8
%13 = and i32 %12, 255
%14 = call i32 @SendChar(i32 noundef %13)
%15 = load i16, ptr %4, align 2
%16 = zext i16 %15 to i32
%17 = and i32 %16, 255
%18 = call i32 @SendChar(i32 noundef %17)
%19 = load i16, ptr %5, align 2
%20 = zext i16 %19 to i32
%21 = ashr i32 %20, 8
%22 = and i32 %21, 255
%23 = call i32 @SendChar(i32 noundef %22)
%24 = load i16, ptr %5, align 2
%25 = zext i16 %24 to i32
%26 = and i32 %25, 255
%27 = call i32 @SendChar(i32 noundef %26)
%28 = load i8, ptr %6, align 1
%29 = zext i8 %28 to i32
%30 = and i32 %29, 255
%31 = call i32 @SendChar(i32 noundef %30)
%32 = call i32 @SendChar(i32 noundef 255)
%33 = call i32 @SendChar(i32 noundef 252)
%34 = call i32 @SendChar(i32 noundef 255)
%35 = call i32 @SendChar(i32 noundef 255)
ret void
}
declare i32 @SendChar(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/tmpzmec9i6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetControlVisiable(i16 noundef zeroext %0, i16 noundef zeroext %1, i8 noundef zeroext %2) #0 {
%4 = alloca i16, align 2
%5 = alloca i16, align 2
%6 = alloca i8, align 1
store i16 %0, ptr %4, align 2
store i16 %1, ptr %5, align 2
store i8 %2, ptr %6, align 1
%7 = call i32 @SendChar(i32 noundef 238)
%8 = call i32 @SendChar(i32 noundef 177)
%9 = call i32 @SendChar(i32 noundef 3)
%10 = load i16, ptr %4, align 2
%11 = zext i16 %10 to i32
%12 = ashr i32 %11, 8
%13 = and i32 %12, 255
%14 = call i32 @SendChar(i32 noundef %13)
%15 = load i16, ptr %4, align 2
%16 = zext i16 %15 to i32
%17 = and i32 %16, 255
%18 = call i32 @SendChar(i32 noundef %17)
%19 = load i16, ptr %5, align 2
%20 = zext i16 %19 to i32
%21 = ashr i32 %20, 8
%22 = and i32 %21, 255
%23 = call i32 @SendChar(i32 noundef %22)
%24 = load i16, ptr %5, align 2
%25 = zext i16 %24 to i32
%26 = and i32 %25, 255
%27 = call i32 @SendChar(i32 noundef %26)
%28 = load i8, ptr %6, align 1
%29 = zext i8 %28 to i32
%30 = and i32 %29, 255
%31 = call i32 @SendChar(i32 noundef %30)
%32 = call i32 @SendChar(i32 noundef 255)
%33 = call i32 @SendChar(i32 noundef 252)
%34 = call i32 @SendChar(i32 noundef 255)
%35 = call i32 @SendChar(i32 noundef 255)
ret void
}
declare i32 @SendChar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_zcuqrgk.c'
source_filename = "/tmp/tmp_zcuqrgk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca 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 i32 0, ptr %1, align 4
store i32 3, ptr %3, align 4
br label %21
21: ; preds = %41, %0
%22 = load i32, ptr %3, align 4
store i32 %22, ptr %2, align 4
store i32 5, ptr %4, align 4
br label %23
23: ; preds = %34, %21
%24 = load i32, ptr %2, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %2, align 4
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = call i32 @printf(ptr noundef @.str, i32 noundef %30)
%32 = load i32, ptr %2, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %23
br label %23
35: ; preds = %23
%36 = load i32, ptr %3, align 4
%37 = call i32 @printf(ptr noundef @.str, i32 noundef %36)
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %3, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %35
br label %21
42: ; preds = %35
%43 = load i32, ptr %2, align 4
%44 = call i32 @printf(ptr noundef @.str, i32 noundef %43)
%45 = load i32, ptr %3, align 4
%46 = call i32 @printf(ptr noundef @.str, i32 noundef %45)
%47 = load i32, ptr %4, align 4
%48 = call i32 @printf(ptr noundef @.str, i32 noundef %47)
store i32 0, ptr %5, align 4
br label %49
49: ; preds = %42
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
%52 = load i32, ptr %6, align 4
%53 = call i32 @printf(ptr noundef @.str, i32 noundef %52)
%54 = load i32, ptr %6, align 4
%55 = sdiv i32 %54, 2
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = call i32 @printf(ptr noundef @.str, i32 noundef %56)
store i32 3, ptr %8, align 4
%58 = load i32, ptr %8, align 4
%59 = call i32 @printf(ptr noundef @.str, i32 noundef %58)
br label %60
60: ; preds = %49
%61 = load i32, ptr %5, align 4
%62 = call i32 @printf(ptr noundef @.str, i32 noundef %61)
store i32 100, ptr %10, align 4
%63 = load i32, ptr %10, align 4
%64 = call i32 @printf(ptr noundef @.str, i32 noundef %63)
br label %65
65: ; preds = %60
store i32 200, ptr %11, align 4
%66 = load i32, ptr %11, align 4
%67 = call i32 @printf(ptr noundef @.str, i32 noundef %66)
store i32 10, ptr %12, align 4
%68 = load i32, ptr %12, align 4
%69 = call i32 @printf(ptr noundef @.str, i32 noundef %68)
br label %70
70: ; preds = %65
%71 = load i32, ptr %14, align 4
%72 = call i32 @printf(ptr noundef @.str, i32 noundef %71)
br label %73
73: ; preds = %70
store i32 6, ptr %17, align 4
%74 = load i32, ptr %17, align 4
%75 = call i32 @printf(ptr noundef @.str, i32 noundef %74)
store i32 2, ptr %18, align 4
store i32 321, ptr %19, align 4
br label %76
76: ; preds = %89, %73
%77 = load i32, ptr %19, align 4
%78 = call i32 @printf(ptr noundef @.str, i32 noundef %77)
%79 = load i32, ptr %19, align 4
%80 = call i32 @printf(ptr noundef @.str, i32 noundef %79)
%81 = load i32, ptr %19, align 4
%82 = sdiv i32 %81, 2
store i32 %82, ptr %19, align 4
%83 = load i32, ptr %18, align 4
%84 = add nsw i32 %83, -1
store i32 %84, ptr %18, align 4
store i32 123, ptr %20, align 4
%85 = load i32, ptr %20, align 4
%86 = call i32 @printf(ptr noundef @.str, i32 noundef %85)
%87 = load i32, ptr %18, align 4
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %90
89: ; preds = %76
br label %76
90: ; preds = %76
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_zcuqrgk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca 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 i32 0, ptr %1, align 4
store i32 3, ptr %3, align 4
br label %21
21: ; preds = %34, %0
%22 = load i32, ptr %3, align 4
store i32 %22, ptr %2, align 4
store i32 5, ptr %4, align 4
br label %23
23: ; preds = %23, %21
%24 = load i32, ptr %2, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %2, align 4
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = call i32 @printf(ptr noundef @.str, i32 noundef %30)
%32 = load i32, ptr %2, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %23, label %34
34: ; preds = %23
%35 = load i32, ptr %3, align 4
%36 = call i32 @printf(ptr noundef @.str, i32 noundef %35)
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %3, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %21, label %40
40: ; preds = %34
%41 = load i32, ptr %2, align 4
%42 = call i32 @printf(ptr noundef @.str, i32 noundef %41)
%43 = load i32, ptr %3, align 4
%44 = call i32 @printf(ptr noundef @.str, i32 noundef %43)
%45 = load i32, ptr %4, align 4
%46 = call i32 @printf(ptr noundef @.str, i32 noundef %45)
store i32 0, ptr %5, align 4
br label %47
47: ; preds = %40
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %6, align 4
%50 = load i32, ptr %6, align 4
%51 = call i32 @printf(ptr noundef @.str, i32 noundef %50)
%52 = load i32, ptr %6, align 4
%53 = sdiv i32 %52, 2
store i32 %53, ptr %7, align 4
%54 = load i32, ptr %7, align 4
%55 = call i32 @printf(ptr noundef @.str, i32 noundef %54)
store i32 3, ptr %8, align 4
%56 = load i32, ptr %8, align 4
%57 = call i32 @printf(ptr noundef @.str, i32 noundef %56)
br label %58
58: ; preds = %47
%59 = load i32, ptr %5, align 4
%60 = call i32 @printf(ptr noundef @.str, i32 noundef %59)
store i32 100, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = call i32 @printf(ptr noundef @.str, i32 noundef %61)
br label %63
63: ; preds = %58
store i32 200, ptr %11, align 4
%64 = load i32, ptr %11, align 4
%65 = call i32 @printf(ptr noundef @.str, i32 noundef %64)
store i32 10, ptr %12, align 4
%66 = load i32, ptr %12, align 4
%67 = call i32 @printf(ptr noundef @.str, i32 noundef %66)
br label %68
68: ; preds = %63
%69 = load i32, ptr %14, align 4
%70 = call i32 @printf(ptr noundef @.str, i32 noundef %69)
br label %71
71: ; preds = %68
store i32 6, ptr %17, align 4
%72 = load i32, ptr %17, align 4
%73 = call i32 @printf(ptr noundef @.str, i32 noundef %72)
store i32 2, ptr %18, align 4
store i32 321, ptr %19, align 4
br label %74
74: ; preds = %74, %71
%75 = load i32, ptr %19, align 4
%76 = call i32 @printf(ptr noundef @.str, i32 noundef %75)
%77 = load i32, ptr %19, align 4
%78 = call i32 @printf(ptr noundef @.str, i32 noundef %77)
%79 = load i32, ptr %19, align 4
%80 = sdiv i32 %79, 2
store i32 %80, ptr %19, align 4
%81 = load i32, ptr %18, align 4
%82 = add nsw i32 %81, -1
store i32 %82, ptr %18, align 4
store i32 123, ptr %20, align 4
%83 = load i32, ptr %20, align 4
%84 = call i32 @printf(ptr noundef @.str, i32 noundef %83)
%85 = load i32, ptr %18, align 4
%86 = icmp ne i32 %85, 0
br i1 %86, label %74, label %87
87: ; preds = %74
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpweujphuh.c'
source_filename = "/tmp/tmpweujphuh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AClosing Sender... '%d' \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @closingSender() #0 {
%1 = call i32 (...) @getpid()
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
%3 = call i32 (...) @fcloseall()
%4 = call i32 @exit(i32 noundef 2) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @fcloseall(...) #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/tmpweujphuh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AClosing Sender... '%d' \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @closingSender() #0 {
%1 = call i32 (...) @getpid()
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
%3 = call i32 (...) @fcloseall()
%4 = call i32 @exit(i32 noundef 2) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @fcloseall(...) #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/tmp0kr4m46c.c'
source_filename = "/tmp/tmp0kr4m46c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @SDIO_IRQHandler() #0 {
%1 = call i32 (...) @SDIO_DriverIRQHandler()
ret void
}
declare i32 @SDIO_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0kr4m46c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @SDIO_IRQHandler() #0 {
%1 = call i32 (...) @SDIO_DriverIRQHandler()
ret void
}
declare i32 @SDIO_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_vhdn57g.c'
source_filename = "/tmp/tmp_vhdn57g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hashlittle(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %union.anon, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load i64, ptr %6, align 8
%14 = trunc i64 %13 to i32
%15 = add i32 -559038737, %14
%16 = load i32, ptr %7, align 4
%17 = add i32 %15, %16
store i32 %17, ptr %10, align 4
store i32 %17, ptr %9, align 4
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %5, align 8
store ptr %18, ptr %11, align 8
%19 = load ptr, ptr %5, align 8
store ptr %19, ptr %12, align 8
br label %20
20: ; preds = %23, %3
%21 = load i64, ptr %6, align 8
%22 = icmp ugt i64 %21, 12
br i1 %22, label %23, label %175
23: ; preds = %20
%24 = load ptr, ptr %12, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 0
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, %26
store i32 %28, ptr %8, align 4
%29 = load ptr, ptr %12, align 8
%30 = getelementptr inbounds i32, ptr %29, i64 1
%31 = load i32, ptr %30, align 4
%32 = shl i32 %31, 8
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, %32
store i32 %34, ptr %8, align 4
%35 = load ptr, ptr %12, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 2
%37 = load i32, ptr %36, align 4
%38 = shl i32 %37, 16
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, %38
store i32 %40, ptr %8, align 4
%41 = load ptr, ptr %12, align 8
%42 = getelementptr inbounds i32, ptr %41, i64 3
%43 = load i32, ptr %42, align 4
%44 = shl i32 %43, 24
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, %44
store i32 %46, ptr %8, align 4
%47 = load ptr, ptr %12, align 8
%48 = getelementptr inbounds i32, ptr %47, i64 4
%49 = load i32, ptr %48, align 4
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %50, %49
store i32 %51, ptr %9, align 4
%52 = load ptr, ptr %12, align 8
%53 = getelementptr inbounds i32, ptr %52, i64 5
%54 = load i32, ptr %53, align 4
%55 = shl i32 %54, 8
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, %55
store i32 %57, ptr %9, align 4
%58 = load ptr, ptr %12, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 6
%60 = load i32, ptr %59, align 4
%61 = shl i32 %60, 16
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, %61
store i32 %63, ptr %9, align 4
%64 = load ptr, ptr %12, align 8
%65 = getelementptr inbounds i32, ptr %64, i64 7
%66 = load i32, ptr %65, align 4
%67 = shl i32 %66, 24
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, %67
store i32 %69, ptr %9, align 4
%70 = load ptr, ptr %12, align 8
%71 = getelementptr inbounds i32, ptr %70, i64 8
%72 = load i32, ptr %71, align 4
%73 = load i32, ptr %10, align 4
%74 = add nsw i32 %73, %72
store i32 %74, ptr %10, align 4
%75 = load ptr, ptr %12, align 8
%76 = getelementptr inbounds i32, ptr %75, i64 9
%77 = load i32, ptr %76, align 4
%78 = shl i32 %77, 8
%79 = load i32, ptr %10, align 4
%80 = add nsw i32 %79, %78
store i32 %80, ptr %10, align 4
%81 = load ptr, ptr %12, align 8
%82 = getelementptr inbounds i32, ptr %81, i64 10
%83 = load i32, ptr %82, align 4
%84 = shl i32 %83, 16
%85 = load i32, ptr %10, align 4
%86 = add nsw i32 %85, %84
store i32 %86, ptr %10, align 4
%87 = load ptr, ptr %12, align 8
%88 = getelementptr inbounds i32, ptr %87, i64 11
%89 = load i32, ptr %88, align 4
%90 = shl i32 %89, 24
%91 = load i32, ptr %10, align 4
%92 = add nsw i32 %91, %90
store i32 %92, ptr %10, align 4
%93 = load i32, ptr %10, align 4
%94 = load i32, ptr %8, align 4
%95 = sub nsw i32 %94, %93
store i32 %95, ptr %8, align 4
%96 = load i32, ptr %10, align 4
%97 = shl i32 %96, 4
%98 = load i32, ptr %10, align 4
%99 = ashr i32 %98, 28
%100 = or i32 %97, %99
%101 = load i32, ptr %8, align 4
%102 = xor i32 %101, %100
store i32 %102, ptr %8, align 4
%103 = load i32, ptr %9, align 4
%104 = load i32, ptr %10, align 4
%105 = add nsw i32 %104, %103
store i32 %105, ptr %10, align 4
%106 = load i32, ptr %8, align 4
%107 = load i32, ptr %9, align 4
%108 = sub nsw i32 %107, %106
store i32 %108, ptr %9, align 4
%109 = load i32, ptr %8, align 4
%110 = shl i32 %109, 6
%111 = load i32, ptr %8, align 4
%112 = ashr i32 %111, 26
%113 = or i32 %110, %112
%114 = load i32, ptr %9, align 4
%115 = xor i32 %114, %113
store i32 %115, ptr %9, align 4
%116 = load i32, ptr %10, align 4
%117 = load i32, ptr %8, align 4
%118 = add nsw i32 %117, %116
store i32 %118, ptr %8, align 4
%119 = load i32, ptr %9, align 4
%120 = load i32, ptr %10, align 4
%121 = sub nsw i32 %120, %119
store i32 %121, ptr %10, align 4
%122 = load i32, ptr %9, align 4
%123 = shl i32 %122, 8
%124 = load i32, ptr %9, align 4
%125 = ashr i32 %124, 24
%126 = or i32 %123, %125
%127 = load i32, ptr %10, align 4
%128 = xor i32 %127, %126
store i32 %128, ptr %10, align 4
%129 = load i32, ptr %8, align 4
%130 = load i32, ptr %9, align 4
%131 = add nsw i32 %130, %129
store i32 %131, ptr %9, align 4
%132 = load i32, ptr %10, align 4
%133 = load i32, ptr %8, align 4
%134 = sub nsw i32 %133, %132
store i32 %134, ptr %8, align 4
%135 = load i32, ptr %10, align 4
%136 = shl i32 %135, 16
%137 = load i32, ptr %10, align 4
%138 = ashr i32 %137, 16
%139 = or i32 %136, %138
%140 = load i32, ptr %8, align 4
%141 = xor i32 %140, %139
store i32 %141, ptr %8, align 4
%142 = load i32, ptr %9, align 4
%143 = load i32, ptr %10, align 4
%144 = add nsw i32 %143, %142
store i32 %144, ptr %10, align 4
%145 = load i32, ptr %8, align 4
%146 = load i32, ptr %9, align 4
%147 = sub nsw i32 %146, %145
store i32 %147, ptr %9, align 4
%148 = load i32, ptr %8, align 4
%149 = shl i32 %148, 19
%150 = load i32, ptr %8, align 4
%151 = ashr i32 %150, 13
%152 = or i32 %149, %151
%153 = load i32, ptr %9, align 4
%154 = xor i32 %153, %152
store i32 %154, ptr %9, align 4
%155 = load i32, ptr %10, align 4
%156 = load i32, ptr %8, align 4
%157 = add nsw i32 %156, %155
store i32 %157, ptr %8, align 4
%158 = load i32, ptr %9, align 4
%159 = load i32, ptr %10, align 4
%160 = sub nsw i32 %159, %158
store i32 %160, ptr %10, align 4
%161 = load i32, ptr %9, align 4
%162 = shl i32 %161, 4
%163 = load i32, ptr %9, align 4
%164 = ashr i32 %163, 28
%165 = or i32 %162, %164
%166 = load i32, ptr %10, align 4
%167 = xor i32 %166, %165
store i32 %167, ptr %10, align 4
%168 = load i32, ptr %8, align 4
%169 = load i32, ptr %9, align 4
%170 = add nsw i32 %169, %168
store i32 %170, ptr %9, align 4
%171 = load i64, ptr %6, align 8
%172 = sub i64 %171, 12
store i64 %172, ptr %6, align 8
%173 = load ptr, ptr %12, align 8
%174 = getelementptr inbounds i32, ptr %173, i64 12
store ptr %174, ptr %12, align 8
br label %20, !llvm.loop !6
175: ; preds = %20
%176 = load i64, ptr %6, align 8
switch i64 %176, label %260 [
i64 12, label %177
i64 11, label %184
i64 10, label %191
i64 9, label %198
i64 8, label %204
i64 7, label %211
i64 6, label %218
i64 5, label %225
i64 4, label %231
i64 3, label %238
i64 2, label %245
i64 1, label %252
i64 0, label %258
]
177: ; preds = %175
%178 = load ptr, ptr %12, align 8
%179 = getelementptr inbounds i32, ptr %178, i64 11
%180 = load i32, ptr %179, align 4
%181 = shl i32 %180, 24
%182 = load i32, ptr %10, align 4
%183 = add nsw i32 %182, %181
store i32 %183, ptr %10, align 4
br label %184
184: ; preds = %175, %177
%185 = load ptr, ptr %12, align 8
%186 = getelementptr inbounds i32, ptr %185, i64 10
%187 = load i32, ptr %186, align 4
%188 = shl i32 %187, 16
%189 = load i32, ptr %10, align 4
%190 = add nsw i32 %189, %188
store i32 %190, ptr %10, align 4
br label %191
191: ; preds = %175, %184
%192 = load ptr, ptr %12, align 8
%193 = getelementptr inbounds i32, ptr %192, i64 9
%194 = load i32, ptr %193, align 4
%195 = shl i32 %194, 8
%196 = load i32, ptr %10, align 4
%197 = add nsw i32 %196, %195
store i32 %197, ptr %10, align 4
br label %198
198: ; preds = %175, %191
%199 = load ptr, ptr %12, align 8
%200 = getelementptr inbounds i32, ptr %199, i64 8
%201 = load i32, ptr %200, align 4
%202 = load i32, ptr %10, align 4
%203 = add nsw i32 %202, %201
store i32 %203, ptr %10, align 4
br label %204
204: ; preds = %175, %198
%205 = load ptr, ptr %12, align 8
%206 = getelementptr inbounds i32, ptr %205, i64 7
%207 = load i32, ptr %206, align 4
%208 = shl i32 %207, 24
%209 = load i32, ptr %9, align 4
%210 = add nsw i32 %209, %208
store i32 %210, ptr %9, align 4
br label %211
211: ; preds = %175, %204
%212 = load ptr, ptr %12, align 8
%213 = getelementptr inbounds i32, ptr %212, i64 6
%214 = load i32, ptr %213, align 4
%215 = shl i32 %214, 16
%216 = load i32, ptr %9, align 4
%217 = add nsw i32 %216, %215
store i32 %217, ptr %9, align 4
br label %218
218: ; preds = %175, %211
%219 = load ptr, ptr %12, align 8
%220 = getelementptr inbounds i32, ptr %219, i64 5
%221 = load i32, ptr %220, align 4
%222 = shl i32 %221, 8
%223 = load i32, ptr %9, align 4
%224 = add nsw i32 %223, %222
store i32 %224, ptr %9, align 4
br label %225
225: ; preds = %175, %218
%226 = load ptr, ptr %12, align 8
%227 = getelementptr inbounds i32, ptr %226, i64 4
%228 = load i32, ptr %227, align 4
%229 = load i32, ptr %9, align 4
%230 = add nsw i32 %229, %228
store i32 %230, ptr %9, align 4
br label %231
231: ; preds = %175, %225
%232 = load ptr, ptr %12, align 8
%233 = getelementptr inbounds i32, ptr %232, i64 3
%234 = load i32, ptr %233, align 4
%235 = shl i32 %234, 24
%236 = load i32, ptr %8, align 4
%237 = add nsw i32 %236, %235
store i32 %237, ptr %8, align 4
br label %238
238: ; preds = %175, %231
%239 = load ptr, ptr %12, align 8
%240 = getelementptr inbounds i32, ptr %239, i64 2
%241 = load i32, ptr %240, align 4
%242 = shl i32 %241, 16
%243 = load i32, ptr %8, align 4
%244 = add nsw i32 %243, %242
store i32 %244, ptr %8, align 4
br label %245
245: ; preds = %175, %238
%246 = load ptr, ptr %12, align 8
%247 = getelementptr inbounds i32, ptr %246, i64 1
%248 = load i32, ptr %247, align 4
%249 = shl i32 %248, 8
%250 = load i32, ptr %8, align 4
%251 = add nsw i32 %250, %249
store i32 %251, ptr %8, align 4
br label %252
252: ; preds = %175, %245
%253 = load ptr, ptr %12, align 8
%254 = getelementptr inbounds i32, ptr %253, i64 0
%255 = load i32, ptr %254, align 4
%256 = load i32, ptr %8, align 4
%257 = add nsw i32 %256, %255
store i32 %257, ptr %8, align 4
br label %260
258: ; preds = %175
%259 = load i32, ptr %10, align 4
store i32 %259, ptr %4, align 4
br label %332
260: ; preds = %175, %252
%261 = load i32, ptr %9, align 4
%262 = load i32, ptr %10, align 4
%263 = xor i32 %262, %261
store i32 %263, ptr %10, align 4
%264 = load i32, ptr %9, align 4
%265 = shl i32 %264, 14
%266 = load i32, ptr %9, align 4
%267 = ashr i32 %266, 18
%268 = or i32 %265, %267
%269 = load i32, ptr %10, align 4
%270 = sub nsw i32 %269, %268
store i32 %270, ptr %10, align 4
%271 = load i32, ptr %10, align 4
%272 = load i32, ptr %8, align 4
%273 = xor i32 %272, %271
store i32 %273, ptr %8, align 4
%274 = load i32, ptr %10, align 4
%275 = shl i32 %274, 11
%276 = load i32, ptr %10, align 4
%277 = ashr i32 %276, 21
%278 = or i32 %275, %277
%279 = load i32, ptr %8, align 4
%280 = sub nsw i32 %279, %278
store i32 %280, ptr %8, align 4
%281 = load i32, ptr %8, align 4
%282 = load i32, ptr %9, align 4
%283 = xor i32 %282, %281
store i32 %283, ptr %9, align 4
%284 = load i32, ptr %8, align 4
%285 = shl i32 %284, 25
%286 = load i32, ptr %8, align 4
%287 = ashr i32 %286, 7
%288 = or i32 %285, %287
%289 = load i32, ptr %9, align 4
%290 = sub nsw i32 %289, %288
store i32 %290, ptr %9, align 4
%291 = load i32, ptr %9, align 4
%292 = load i32, ptr %10, align 4
%293 = xor i32 %292, %291
store i32 %293, ptr %10, align 4
%294 = load i32, ptr %9, align 4
%295 = shl i32 %294, 16
%296 = load i32, ptr %9, align 4
%297 = ashr i32 %296, 16
%298 = or i32 %295, %297
%299 = load i32, ptr %10, align 4
%300 = sub nsw i32 %299, %298
store i32 %300, ptr %10, align 4
%301 = load i32, ptr %10, align 4
%302 = load i32, ptr %8, align 4
%303 = xor i32 %302, %301
store i32 %303, ptr %8, align 4
%304 = load i32, ptr %10, align 4
%305 = shl i32 %304, 4
%306 = load i32, ptr %10, align 4
%307 = ashr i32 %306, 28
%308 = or i32 %305, %307
%309 = load i32, ptr %8, align 4
%310 = sub nsw i32 %309, %308
store i32 %310, ptr %8, align 4
%311 = load i32, ptr %8, align 4
%312 = load i32, ptr %9, align 4
%313 = xor i32 %312, %311
store i32 %313, ptr %9, align 4
%314 = load i32, ptr %8, align 4
%315 = shl i32 %314, 14
%316 = load i32, ptr %8, align 4
%317 = ashr i32 %316, 18
%318 = or i32 %315, %317
%319 = load i32, ptr %9, align 4
%320 = sub nsw i32 %319, %318
store i32 %320, ptr %9, align 4
%321 = load i32, ptr %9, align 4
%322 = load i32, ptr %10, align 4
%323 = xor i32 %322, %321
store i32 %323, ptr %10, align 4
%324 = load i32, ptr %9, align 4
%325 = shl i32 %324, 24
%326 = load i32, ptr %9, align 4
%327 = ashr i32 %326, 8
%328 = or i32 %325, %327
%329 = load i32, ptr %10, align 4
%330 = sub nsw i32 %329, %328
store i32 %330, ptr %10, align 4
%331 = load i32, ptr %10, align 4
store i32 %331, ptr %4, align 4
br label %332
332: ; preds = %260, %258
%333 = load i32, ptr %4, align 4
ret i32 %333
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_vhdn57g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hashlittle(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %union.anon, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load i64, ptr %6, align 8
%14 = trunc i64 %13 to i32
%15 = add i32 -559038737, %14
%16 = load i32, ptr %7, align 4
%17 = add i32 %15, %16
store i32 %17, ptr %10, align 4
store i32 %17, ptr %9, align 4
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %5, align 8
store ptr %18, ptr %11, align 8
%19 = load ptr, ptr %5, align 8
store ptr %19, ptr %12, align 8
%20 = load i64, ptr %6, align 8
%21 = icmp ugt i64 %20, 12
br i1 %21, label %.lr.ph, label %176
.lr.ph: ; preds = %3
br label %22
22: ; preds = %.lr.ph, %22
%23 = load ptr, ptr %12, align 8
%24 = getelementptr inbounds i32, ptr %23, i64 0
%25 = load i32, ptr %24, align 4
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, %25
store i32 %27, ptr %8, align 4
%28 = load ptr, ptr %12, align 8
%29 = getelementptr inbounds i32, ptr %28, i64 1
%30 = load i32, ptr %29, align 4
%31 = shl i32 %30, 8
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, %31
store i32 %33, ptr %8, align 4
%34 = load ptr, ptr %12, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 2
%36 = load i32, ptr %35, align 4
%37 = shl i32 %36, 16
%38 = load i32, ptr %8, align 4
%39 = add nsw i32 %38, %37
store i32 %39, ptr %8, align 4
%40 = load ptr, ptr %12, align 8
%41 = getelementptr inbounds i32, ptr %40, i64 3
%42 = load i32, ptr %41, align 4
%43 = shl i32 %42, 24
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %44, %43
store i32 %45, ptr %8, align 4
%46 = load ptr, ptr %12, align 8
%47 = getelementptr inbounds i32, ptr %46, i64 4
%48 = load i32, ptr %47, align 4
%49 = load i32, ptr %9, align 4
%50 = add nsw i32 %49, %48
store i32 %50, ptr %9, align 4
%51 = load ptr, ptr %12, align 8
%52 = getelementptr inbounds i32, ptr %51, i64 5
%53 = load i32, ptr %52, align 4
%54 = shl i32 %53, 8
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, %54
store i32 %56, ptr %9, align 4
%57 = load ptr, ptr %12, align 8
%58 = getelementptr inbounds i32, ptr %57, i64 6
%59 = load i32, ptr %58, align 4
%60 = shl i32 %59, 16
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %61, %60
store i32 %62, ptr %9, align 4
%63 = load ptr, ptr %12, align 8
%64 = getelementptr inbounds i32, ptr %63, i64 7
%65 = load i32, ptr %64, align 4
%66 = shl i32 %65, 24
%67 = load i32, ptr %9, align 4
%68 = add nsw i32 %67, %66
store i32 %68, ptr %9, align 4
%69 = load ptr, ptr %12, align 8
%70 = getelementptr inbounds i32, ptr %69, i64 8
%71 = load i32, ptr %70, align 4
%72 = load i32, ptr %10, align 4
%73 = add nsw i32 %72, %71
store i32 %73, ptr %10, align 4
%74 = load ptr, ptr %12, align 8
%75 = getelementptr inbounds i32, ptr %74, i64 9
%76 = load i32, ptr %75, align 4
%77 = shl i32 %76, 8
%78 = load i32, ptr %10, align 4
%79 = add nsw i32 %78, %77
store i32 %79, ptr %10, align 4
%80 = load ptr, ptr %12, align 8
%81 = getelementptr inbounds i32, ptr %80, i64 10
%82 = load i32, ptr %81, align 4
%83 = shl i32 %82, 16
%84 = load i32, ptr %10, align 4
%85 = add nsw i32 %84, %83
store i32 %85, ptr %10, align 4
%86 = load ptr, ptr %12, align 8
%87 = getelementptr inbounds i32, ptr %86, i64 11
%88 = load i32, ptr %87, align 4
%89 = shl i32 %88, 24
%90 = load i32, ptr %10, align 4
%91 = add nsw i32 %90, %89
store i32 %91, ptr %10, align 4
%92 = load i32, ptr %10, align 4
%93 = load i32, ptr %8, align 4
%94 = sub nsw i32 %93, %92
store i32 %94, ptr %8, align 4
%95 = load i32, ptr %10, align 4
%96 = shl i32 %95, 4
%97 = load i32, ptr %10, align 4
%98 = ashr i32 %97, 28
%99 = or i32 %96, %98
%100 = load i32, ptr %8, align 4
%101 = xor i32 %100, %99
store i32 %101, ptr %8, align 4
%102 = load i32, ptr %9, align 4
%103 = load i32, ptr %10, align 4
%104 = add nsw i32 %103, %102
store i32 %104, ptr %10, align 4
%105 = load i32, ptr %8, align 4
%106 = load i32, ptr %9, align 4
%107 = sub nsw i32 %106, %105
store i32 %107, ptr %9, align 4
%108 = load i32, ptr %8, align 4
%109 = shl i32 %108, 6
%110 = load i32, ptr %8, align 4
%111 = ashr i32 %110, 26
%112 = or i32 %109, %111
%113 = load i32, ptr %9, align 4
%114 = xor i32 %113, %112
store i32 %114, ptr %9, align 4
%115 = load i32, ptr %10, align 4
%116 = load i32, ptr %8, align 4
%117 = add nsw i32 %116, %115
store i32 %117, ptr %8, align 4
%118 = load i32, ptr %9, align 4
%119 = load i32, ptr %10, align 4
%120 = sub nsw i32 %119, %118
store i32 %120, ptr %10, align 4
%121 = load i32, ptr %9, align 4
%122 = shl i32 %121, 8
%123 = load i32, ptr %9, align 4
%124 = ashr i32 %123, 24
%125 = or i32 %122, %124
%126 = load i32, ptr %10, align 4
%127 = xor i32 %126, %125
store i32 %127, ptr %10, align 4
%128 = load i32, ptr %8, align 4
%129 = load i32, ptr %9, align 4
%130 = add nsw i32 %129, %128
store i32 %130, ptr %9, align 4
%131 = load i32, ptr %10, align 4
%132 = load i32, ptr %8, align 4
%133 = sub nsw i32 %132, %131
store i32 %133, ptr %8, align 4
%134 = load i32, ptr %10, align 4
%135 = shl i32 %134, 16
%136 = load i32, ptr %10, align 4
%137 = ashr i32 %136, 16
%138 = or i32 %135, %137
%139 = load i32, ptr %8, align 4
%140 = xor i32 %139, %138
store i32 %140, ptr %8, align 4
%141 = load i32, ptr %9, align 4
%142 = load i32, ptr %10, align 4
%143 = add nsw i32 %142, %141
store i32 %143, ptr %10, align 4
%144 = load i32, ptr %8, align 4
%145 = load i32, ptr %9, align 4
%146 = sub nsw i32 %145, %144
store i32 %146, ptr %9, align 4
%147 = load i32, ptr %8, align 4
%148 = shl i32 %147, 19
%149 = load i32, ptr %8, align 4
%150 = ashr i32 %149, 13
%151 = or i32 %148, %150
%152 = load i32, ptr %9, align 4
%153 = xor i32 %152, %151
store i32 %153, ptr %9, align 4
%154 = load i32, ptr %10, align 4
%155 = load i32, ptr %8, align 4
%156 = add nsw i32 %155, %154
store i32 %156, ptr %8, align 4
%157 = load i32, ptr %9, align 4
%158 = load i32, ptr %10, align 4
%159 = sub nsw i32 %158, %157
store i32 %159, ptr %10, align 4
%160 = load i32, ptr %9, align 4
%161 = shl i32 %160, 4
%162 = load i32, ptr %9, align 4
%163 = ashr i32 %162, 28
%164 = or i32 %161, %163
%165 = load i32, ptr %10, align 4
%166 = xor i32 %165, %164
store i32 %166, ptr %10, align 4
%167 = load i32, ptr %8, align 4
%168 = load i32, ptr %9, align 4
%169 = add nsw i32 %168, %167
store i32 %169, ptr %9, align 4
%170 = load i64, ptr %6, align 8
%171 = sub i64 %170, 12
store i64 %171, ptr %6, align 8
%172 = load ptr, ptr %12, align 8
%173 = getelementptr inbounds i32, ptr %172, i64 12
store ptr %173, ptr %12, align 8
%174 = load i64, ptr %6, align 8
%175 = icmp ugt i64 %174, 12
br i1 %175, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %176
176: ; preds = %._crit_edge, %3
%177 = load i64, ptr %6, align 8
switch i64 %177, label %261 [
i64 12, label %178
i64 11, label %185
i64 10, label %192
i64 9, label %199
i64 8, label %205
i64 7, label %212
i64 6, label %219
i64 5, label %226
i64 4, label %232
i64 3, label %239
i64 2, label %246
i64 1, label %253
i64 0, label %259
]
178: ; preds = %176
%179 = load ptr, ptr %12, align 8
%180 = getelementptr inbounds i32, ptr %179, i64 11
%181 = load i32, ptr %180, align 4
%182 = shl i32 %181, 24
%183 = load i32, ptr %10, align 4
%184 = add nsw i32 %183, %182
store i32 %184, ptr %10, align 4
br label %185
185: ; preds = %178, %176
%186 = load ptr, ptr %12, align 8
%187 = getelementptr inbounds i32, ptr %186, i64 10
%188 = load i32, ptr %187, align 4
%189 = shl i32 %188, 16
%190 = load i32, ptr %10, align 4
%191 = add nsw i32 %190, %189
store i32 %191, ptr %10, align 4
br label %192
192: ; preds = %185, %176
%193 = load ptr, ptr %12, align 8
%194 = getelementptr inbounds i32, ptr %193, i64 9
%195 = load i32, ptr %194, align 4
%196 = shl i32 %195, 8
%197 = load i32, ptr %10, align 4
%198 = add nsw i32 %197, %196
store i32 %198, ptr %10, align 4
br label %199
199: ; preds = %192, %176
%200 = load ptr, ptr %12, align 8
%201 = getelementptr inbounds i32, ptr %200, i64 8
%202 = load i32, ptr %201, align 4
%203 = load i32, ptr %10, align 4
%204 = add nsw i32 %203, %202
store i32 %204, ptr %10, align 4
br label %205
205: ; preds = %199, %176
%206 = load ptr, ptr %12, align 8
%207 = getelementptr inbounds i32, ptr %206, i64 7
%208 = load i32, ptr %207, align 4
%209 = shl i32 %208, 24
%210 = load i32, ptr %9, align 4
%211 = add nsw i32 %210, %209
store i32 %211, ptr %9, align 4
br label %212
212: ; preds = %205, %176
%213 = load ptr, ptr %12, align 8
%214 = getelementptr inbounds i32, ptr %213, i64 6
%215 = load i32, ptr %214, align 4
%216 = shl i32 %215, 16
%217 = load i32, ptr %9, align 4
%218 = add nsw i32 %217, %216
store i32 %218, ptr %9, align 4
br label %219
219: ; preds = %212, %176
%220 = load ptr, ptr %12, align 8
%221 = getelementptr inbounds i32, ptr %220, i64 5
%222 = load i32, ptr %221, align 4
%223 = shl i32 %222, 8
%224 = load i32, ptr %9, align 4
%225 = add nsw i32 %224, %223
store i32 %225, ptr %9, align 4
br label %226
226: ; preds = %219, %176
%227 = load ptr, ptr %12, align 8
%228 = getelementptr inbounds i32, ptr %227, i64 4
%229 = load i32, ptr %228, align 4
%230 = load i32, ptr %9, align 4
%231 = add nsw i32 %230, %229
store i32 %231, ptr %9, align 4
br label %232
232: ; preds = %226, %176
%233 = load ptr, ptr %12, align 8
%234 = getelementptr inbounds i32, ptr %233, i64 3
%235 = load i32, ptr %234, align 4
%236 = shl i32 %235, 24
%237 = load i32, ptr %8, align 4
%238 = add nsw i32 %237, %236
store i32 %238, ptr %8, align 4
br label %239
239: ; preds = %232, %176
%240 = load ptr, ptr %12, align 8
%241 = getelementptr inbounds i32, ptr %240, i64 2
%242 = load i32, ptr %241, align 4
%243 = shl i32 %242, 16
%244 = load i32, ptr %8, align 4
%245 = add nsw i32 %244, %243
store i32 %245, ptr %8, align 4
br label %246
246: ; preds = %239, %176
%247 = load ptr, ptr %12, align 8
%248 = getelementptr inbounds i32, ptr %247, i64 1
%249 = load i32, ptr %248, align 4
%250 = shl i32 %249, 8
%251 = load i32, ptr %8, align 4
%252 = add nsw i32 %251, %250
store i32 %252, ptr %8, align 4
br label %253
253: ; preds = %246, %176
%254 = load ptr, ptr %12, align 8
%255 = getelementptr inbounds i32, ptr %254, i64 0
%256 = load i32, ptr %255, align 4
%257 = load i32, ptr %8, align 4
%258 = add nsw i32 %257, %256
store i32 %258, ptr %8, align 4
br label %261
259: ; preds = %176
%260 = load i32, ptr %10, align 4
store i32 %260, ptr %4, align 4
br label %333
261: ; preds = %253, %176
%262 = load i32, ptr %9, align 4
%263 = load i32, ptr %10, align 4
%264 = xor i32 %263, %262
store i32 %264, ptr %10, align 4
%265 = load i32, ptr %9, align 4
%266 = shl i32 %265, 14
%267 = load i32, ptr %9, align 4
%268 = ashr i32 %267, 18
%269 = or i32 %266, %268
%270 = load i32, ptr %10, align 4
%271 = sub nsw i32 %270, %269
store i32 %271, ptr %10, align 4
%272 = load i32, ptr %10, align 4
%273 = load i32, ptr %8, align 4
%274 = xor i32 %273, %272
store i32 %274, ptr %8, align 4
%275 = load i32, ptr %10, align 4
%276 = shl i32 %275, 11
%277 = load i32, ptr %10, align 4
%278 = ashr i32 %277, 21
%279 = or i32 %276, %278
%280 = load i32, ptr %8, align 4
%281 = sub nsw i32 %280, %279
store i32 %281, ptr %8, align 4
%282 = load i32, ptr %8, align 4
%283 = load i32, ptr %9, align 4
%284 = xor i32 %283, %282
store i32 %284, ptr %9, align 4
%285 = load i32, ptr %8, align 4
%286 = shl i32 %285, 25
%287 = load i32, ptr %8, align 4
%288 = ashr i32 %287, 7
%289 = or i32 %286, %288
%290 = load i32, ptr %9, align 4
%291 = sub nsw i32 %290, %289
store i32 %291, ptr %9, align 4
%292 = load i32, ptr %9, align 4
%293 = load i32, ptr %10, align 4
%294 = xor i32 %293, %292
store i32 %294, ptr %10, align 4
%295 = load i32, ptr %9, align 4
%296 = shl i32 %295, 16
%297 = load i32, ptr %9, align 4
%298 = ashr i32 %297, 16
%299 = or i32 %296, %298
%300 = load i32, ptr %10, align 4
%301 = sub nsw i32 %300, %299
store i32 %301, ptr %10, align 4
%302 = load i32, ptr %10, align 4
%303 = load i32, ptr %8, align 4
%304 = xor i32 %303, %302
store i32 %304, ptr %8, align 4
%305 = load i32, ptr %10, align 4
%306 = shl i32 %305, 4
%307 = load i32, ptr %10, align 4
%308 = ashr i32 %307, 28
%309 = or i32 %306, %308
%310 = load i32, ptr %8, align 4
%311 = sub nsw i32 %310, %309
store i32 %311, ptr %8, align 4
%312 = load i32, ptr %8, align 4
%313 = load i32, ptr %9, align 4
%314 = xor i32 %313, %312
store i32 %314, ptr %9, align 4
%315 = load i32, ptr %8, align 4
%316 = shl i32 %315, 14
%317 = load i32, ptr %8, align 4
%318 = ashr i32 %317, 18
%319 = or i32 %316, %318
%320 = load i32, ptr %9, align 4
%321 = sub nsw i32 %320, %319
store i32 %321, ptr %9, align 4
%322 = load i32, ptr %9, align 4
%323 = load i32, ptr %10, align 4
%324 = xor i32 %323, %322
store i32 %324, ptr %10, align 4
%325 = load i32, ptr %9, align 4
%326 = shl i32 %325, 24
%327 = load i32, ptr %9, align 4
%328 = ashr i32 %327, 8
%329 = or i32 %326, %328
%330 = load i32, ptr %10, align 4
%331 = sub nsw i32 %330, %329
store i32 %331, ptr %10, align 4
%332 = load i32, ptr %10, align 4
store i32 %332, ptr %4, align 4
br label %333
333: ; preds = %261, %259
%334 = load i32, ptr %4, align 4
ret i32 %334
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpx3x0nav4.c'
source_filename = "/tmp/tmpx3x0nav4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(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 3, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = shl i32 %7, %8
%10 = load i32, ptr %6, align 4
%11 = call i32 @sum(i32 noundef %9, i32 noundef %10)
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sum(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/tmpx3x0nav4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(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 3, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = shl i32 %7, %8
%10 = load i32, ptr %6, align 4
%11 = call i32 @sum(i32 noundef %9, i32 noundef %10)
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sum(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/tmphmj3j_zu.c'
source_filename = "/tmp/tmphmj3j_zu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_for_x(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 (...) @rand()
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %7, %8
%10 = srem i32 %6, %9
%11 = add nsw i32 %5, %10
ret i32 %11
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphmj3j_zu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_for_x(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 (...) @rand()
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %7, %8
%10 = srem i32 %6, %9
%11 = add nsw i32 %5, %10
ret i32 %11
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx59jf431.c'
source_filename = "/tmp/tmpx59jf431.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitwrite(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %6, align 4
%10 = sdiv i32 %9, 32
%11 = load ptr, ptr %5, align 8
%12 = sext i32 %10 to i64
%13 = getelementptr inbounds i32, ptr %11, i64 %12
store ptr %13, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = srem i32 %14, 32
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp eq i32 %16, 32
br i1 %17, label %18, label %51
18: ; preds = %4
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr %6, align 4
%22 = shl i32 1, %21
%23 = sub nsw i32 %22, 1
%24 = and i32 %20, %23
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %6, align 4
%27 = shl i32 %25, %26
%28 = or i32 %24, %27
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %29, align 4
%31 = or i32 %30, %28
store i32 %31, ptr %29, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %35, label %34
34: ; preds = %18
br label %102
35: ; preds = %18
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds i32, ptr %36, i32 1
store ptr %37, ptr %5, align 8
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %6, align 4
%41 = shl i32 1, %40
%42 = sub nsw i32 %41, 1
%43 = xor i32 %42, -1
%44 = and i32 %39, %43
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %6, align 4
%47 = sub nsw i32 32, %46
%48 = ashr i32 %45, %47
%49 = or i32 %44, %48
%50 = load ptr, ptr %5, align 8
store i32 %49, ptr %50, align 4
br label %102
51: ; preds = %4
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %7, align 4
%54 = add nsw i32 %52, %53
%55 = icmp sle i32 %54, 32
br i1 %55, label %56, label %71
56: ; preds = %51
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %7, align 4
%60 = shl i32 1, %59
%61 = sub nsw i32 %60, 1
%62 = load i32, ptr %6, align 4
%63 = shl i32 %61, %62
%64 = xor i32 %63, -1
%65 = and i32 %58, %64
%66 = load i32, ptr %8, align 4
%67 = load i32, ptr %6, align 4
%68 = shl i32 %66, %67
%69 = or i32 %65, %68
%70 = load ptr, ptr %5, align 8
store i32 %69, ptr %70, align 4
br label %102
71: ; preds = %51
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %72, align 4
%74 = load i32, ptr %6, align 4
%75 = shl i32 1, %74
%76 = sub nsw i32 %75, 1
%77 = and i32 %73, %76
%78 = load i32, ptr %8, align 4
%79 = load i32, ptr %6, align 4
%80 = shl i32 %78, %79
%81 = or i32 %77, %80
%82 = load ptr, ptr %5, align 8
store i32 %81, ptr %82, align 4
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds i32, ptr %83, i32 1
store ptr %84, ptr %5, align 8
%85 = load i32, ptr %6, align 4
%86 = sub nsw i32 32, %85
%87 = load i32, ptr %7, align 4
%88 = sub nsw i32 %87, %86
store i32 %88, ptr %7, align 4
%89 = load ptr, ptr %5, align 8
%90 = load i32, ptr %89, align 4
%91 = load i32, ptr %7, align 4
%92 = shl i32 1, %91
%93 = sub nsw i32 %92, 1
%94 = xor i32 %93, -1
%95 = and i32 %90, %94
%96 = load i32, ptr %8, align 4
%97 = load i32, ptr %6, align 4
%98 = sub nsw i32 32, %97
%99 = ashr i32 %96, %98
%100 = or i32 %95, %99
%101 = load ptr, ptr %5, align 8
store i32 %100, ptr %101, align 4
br label %102
102: ; preds = %34, %56, %71, %35
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx59jf431.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitwrite(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %6, align 4
%10 = sdiv i32 %9, 32
%11 = load ptr, ptr %5, align 8
%12 = sext i32 %10 to i64
%13 = getelementptr inbounds i32, ptr %11, i64 %12
store ptr %13, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = srem i32 %14, 32
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp eq i32 %16, 32
br i1 %17, label %18, label %51
18: ; preds = %4
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr %6, align 4
%22 = shl i32 1, %21
%23 = sub nsw i32 %22, 1
%24 = and i32 %20, %23
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %6, align 4
%27 = shl i32 %25, %26
%28 = or i32 %24, %27
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %29, align 4
%31 = or i32 %30, %28
store i32 %31, ptr %29, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %35, label %34
34: ; preds = %18
br label %102
35: ; preds = %18
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds i32, ptr %36, i32 1
store ptr %37, ptr %5, align 8
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %6, align 4
%41 = shl i32 1, %40
%42 = sub nsw i32 %41, 1
%43 = xor i32 %42, -1
%44 = and i32 %39, %43
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %6, align 4
%47 = sub nsw i32 32, %46
%48 = ashr i32 %45, %47
%49 = or i32 %44, %48
%50 = load ptr, ptr %5, align 8
store i32 %49, ptr %50, align 4
br label %102
51: ; preds = %4
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %7, align 4
%54 = add nsw i32 %52, %53
%55 = icmp sle i32 %54, 32
br i1 %55, label %56, label %71
56: ; preds = %51
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %7, align 4
%60 = shl i32 1, %59
%61 = sub nsw i32 %60, 1
%62 = load i32, ptr %6, align 4
%63 = shl i32 %61, %62
%64 = xor i32 %63, -1
%65 = and i32 %58, %64
%66 = load i32, ptr %8, align 4
%67 = load i32, ptr %6, align 4
%68 = shl i32 %66, %67
%69 = or i32 %65, %68
%70 = load ptr, ptr %5, align 8
store i32 %69, ptr %70, align 4
br label %102
71: ; preds = %51
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %72, align 4
%74 = load i32, ptr %6, align 4
%75 = shl i32 1, %74
%76 = sub nsw i32 %75, 1
%77 = and i32 %73, %76
%78 = load i32, ptr %8, align 4
%79 = load i32, ptr %6, align 4
%80 = shl i32 %78, %79
%81 = or i32 %77, %80
%82 = load ptr, ptr %5, align 8
store i32 %81, ptr %82, align 4
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds i32, ptr %83, i32 1
store ptr %84, ptr %5, align 8
%85 = load i32, ptr %6, align 4
%86 = sub nsw i32 32, %85
%87 = load i32, ptr %7, align 4
%88 = sub nsw i32 %87, %86
store i32 %88, ptr %7, align 4
%89 = load ptr, ptr %5, align 8
%90 = load i32, ptr %89, align 4
%91 = load i32, ptr %7, align 4
%92 = shl i32 1, %91
%93 = sub nsw i32 %92, 1
%94 = xor i32 %93, -1
%95 = and i32 %90, %94
%96 = load i32, ptr %8, align 4
%97 = load i32, ptr %6, align 4
%98 = sub nsw i32 32, %97
%99 = ashr i32 %96, %98
%100 = or i32 %95, %99
%101 = load ptr, ptr %5, align 8
store i32 %100, ptr %101, align 4
br label %102
102: ; preds = %71, %56, %35, %34
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiwmll5ai.c'
source_filename = "/tmp/tmpiwmll5ai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func2() #0 {
%1 = alloca i8, align 1
%2 = alloca ptr, align 8
store ptr %1, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiwmll5ai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func2() #0 {
%1 = alloca i8, align 1
%2 = alloca ptr, align 8
store ptr %1, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdghoiycx.c'
source_filename = "/tmp/tmpdghoiycx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CHK INSTRUCTION EXCEPTION !\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_chkinst_callback() #0 {
%1 = call i32 (...) @VDP_init()
%2 = call i32 @VDP_drawText(ptr noundef @.str, i32 noundef 5, i32 noundef 10)
%3 = call i32 @showException4WDump(i32 noundef 12)
br label %4
4: ; preds = %0, %4
br label %4
}
declare i32 @VDP_init(...) #1
declare i32 @VDP_drawText(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @showException4WDump(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/tmpdghoiycx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CHK INSTRUCTION EXCEPTION !\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_chkinst_callback() #0 {
%1 = call i32 (...) @VDP_init()
%2 = call i32 @VDP_drawText(ptr noundef @.str, i32 noundef 5, i32 noundef 10)
%3 = call i32 @showException4WDump(i32 noundef 12)
br label %4
4: ; preds = %4, %0
br label %4
}
declare i32 @VDP_init(...) #1
declare i32 @VDP_drawText(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @showException4WDump(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/tmpd4edsxww.c'
source_filename = "/tmp/tmpd4edsxww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_strnew(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = add i64 %5, 1
%7 = mul i64 1, %6
%8 = trunc i64 %7 to i32
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %18
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %3, align 8
%15 = add i64 %14, 1
%16 = call i32 @ft_bzero(ptr noundef %13, i64 noundef %15)
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %2, align 8
br label %19
18: ; preds = %1
store ptr null, ptr %2, align 8
br label %19
19: ; preds = %18, %12
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare ptr @malloc(i32 noundef) #1
declare i32 @ft_bzero(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/tmpd4edsxww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_strnew(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = add i64 %5, 1
%7 = mul i64 1, %6
%8 = trunc i64 %7 to i32
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %18
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %3, align 8
%15 = add i64 %14, 1
%16 = call i32 @ft_bzero(ptr noundef %13, i64 noundef %15)
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %2, align 8
br label %19
18: ; preds = %1
store ptr null, ptr %2, align 8
br label %19
19: ; preds = %18, %12
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare ptr @malloc(i32 noundef) #1
declare i32 @ft_bzero(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/tmpyhxp8jvr.c'
source_filename = "/tmp/tmpyhxp8jvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Dali SP e lesen predmet? (d/n): \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"I jas mislam taka!\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Navistina?\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Ova e DA ili NE?\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
switch i32 %6, label %11 [
i32 68, label %7
i32 100, label %7
i32 78, label %9
i32 110, label %9
]
7: ; preds = %0, %0
%8 = call i32 @printf(ptr noundef @.str.2)
br label %13
9: ; preds = %0, %0
%10 = call i32 @printf(ptr noundef @.str.3)
br label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.4)
br label %13
13: ; preds = %11, %9, %7
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyhxp8jvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Dali SP e lesen predmet? (d/n): \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"I jas mislam taka!\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Navistina?\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Ova e DA ili NE?\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
switch i32 %6, label %11 [
i32 68, label %7
i32 100, label %7
i32 78, label %9
i32 110, label %9
]
7: ; preds = %0, %0
%8 = call i32 @printf(ptr noundef @.str.2)
br label %13
9: ; preds = %0, %0
%10 = call i32 @printf(ptr noundef @.str.3)
br label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.4)
br label %13
13: ; preds = %11, %9, %7
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf7xgyihd.c'
source_filename = "/tmp/tmpf7xgyihd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_ZNSaIPiEC2Ev(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ZN9__gnu_cxx13new_allocatorIPiEC2Ev(ptr noundef %8)
ret void
}
declare i32 @_ZN9__gnu_cxx13new_allocatorIPiEC2Ev(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf7xgyihd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_ZNSaIPiEC2Ev(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ZN9__gnu_cxx13new_allocatorIPiEC2Ev(ptr noundef %8)
ret void
}
declare i32 @_ZN9__gnu_cxx13new_allocatorIPiEC2Ev(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_070eol9.c'
source_filename = "/tmp/tmp_070eol9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fileutils___file_exists_p(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 @file_exists_p(ptr noundef %3)
ret i32 %4
}
declare i32 @file_exists_p(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_070eol9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fileutils___file_exists_p(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 @file_exists_p(ptr noundef %3)
ret i32 %4
}
declare i32 @file_exists_p(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjepv_auw.c'
source_filename = "/tmp/tmpjepv_auw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_END = 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/tmpjepv_auw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_END = 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/tmphpno7wqt.c'
source_filename = "/tmp/tmphpno7wqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @type(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp eq i32 %4, %5
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %51
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = icmp sge i32 %9, 48
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = icmp sle i32 %12, 57
br i1 %13, label %14, label %15
14: ; preds = %11
store i32 1, ptr %2, align 4
br label %51
15: ; preds = %11, %8
%16 = load i32, ptr %3, align 4
%17 = icmp sge i32 %16, 65
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load i32, ptr %3, align 4
%20 = icmp sle i32 %19, 90
br i1 %20, label %27, label %21
21: ; preds = %18, %15
%22 = load i32, ptr %3, align 4
%23 = icmp sge i32 %22, 97
br i1 %23, label %24, label %28
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = icmp sle i32 %25, 122
br i1 %26, label %27, label %28
27: ; preds = %24, %18
store i32 2, ptr %2, align 4
br label %51
28: ; preds = %24, %21
%29 = load i32, ptr %3, align 4
%30 = icmp eq i32 %29, 32
br i1 %30, label %37, label %31
31: ; preds = %28
%32 = load i32, ptr %3, align 4
%33 = icmp eq i32 %32, 9
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = load i32, ptr %3, align 4
%36 = icmp eq i32 %35, 10
br i1 %36, label %37, label %38
37: ; preds = %34, %31, %28
store i32 0, ptr %2, align 4
br label %51
38: ; preds = %34
%39 = load i32, ptr %3, align 4
%40 = icmp eq i32 %39, 34
br i1 %40, label %41, label %42
41: ; preds = %38
store i32 3, ptr %2, align 4
br label %51
42: ; preds = %38
%43 = load i32, ptr %3, align 4
%44 = icmp eq i32 %43, 59
br i1 %44, label %45, label %46
45: ; preds = %42
store i32 4, ptr %2, align 4
br label %51
46: ; preds = %42
%47 = load i32, ptr %3, align 4
%48 = icmp eq i32 %47, 42
br i1 %48, label %49, label %50
49: ; preds = %46
store i32 5, ptr %2, align 4
br label %51
50: ; preds = %46
store i32 6, ptr %2, align 4
br label %51
51: ; preds = %50, %49, %45, %41, %37, %27, %14, %7
%52 = load i32, ptr %2, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphpno7wqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @type(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp eq i32 %4, %5
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %51
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = icmp sge i32 %9, 48
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = icmp sle i32 %12, 57
br i1 %13, label %14, label %15
14: ; preds = %11
store i32 1, ptr %2, align 4
br label %51
15: ; preds = %11, %8
%16 = load i32, ptr %3, align 4
%17 = icmp sge i32 %16, 65
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load i32, ptr %3, align 4
%20 = icmp sle i32 %19, 90
br i1 %20, label %27, label %21
21: ; preds = %18, %15
%22 = load i32, ptr %3, align 4
%23 = icmp sge i32 %22, 97
br i1 %23, label %24, label %28
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = icmp sle i32 %25, 122
br i1 %26, label %27, label %28
27: ; preds = %24, %18
store i32 2, ptr %2, align 4
br label %51
28: ; preds = %24, %21
%29 = load i32, ptr %3, align 4
%30 = icmp eq i32 %29, 32
br i1 %30, label %37, label %31
31: ; preds = %28
%32 = load i32, ptr %3, align 4
%33 = icmp eq i32 %32, 9
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = load i32, ptr %3, align 4
%36 = icmp eq i32 %35, 10
br i1 %36, label %37, label %38
37: ; preds = %34, %31, %28
store i32 0, ptr %2, align 4
br label %51
38: ; preds = %34
%39 = load i32, ptr %3, align 4
%40 = icmp eq i32 %39, 34
br i1 %40, label %41, label %42
41: ; preds = %38
store i32 3, ptr %2, align 4
br label %51
42: ; preds = %38
%43 = load i32, ptr %3, align 4
%44 = icmp eq i32 %43, 59
br i1 %44, label %45, label %46
45: ; preds = %42
store i32 4, ptr %2, align 4
br label %51
46: ; preds = %42
%47 = load i32, ptr %3, align 4
%48 = icmp eq i32 %47, 42
br i1 %48, label %49, label %50
49: ; preds = %46
store i32 5, ptr %2, align 4
br label %51
50: ; preds = %46
store i32 6, ptr %2, align 4
br label %51
51: ; preds = %50, %49, %45, %41, %37, %27, %14, %7
%52 = load i32, ptr %2, 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"}
|
; ModuleID = '/tmp/tmp4is9z422.c'
source_filename = "/tmp/tmp4is9z422.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rising_fact(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load double, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call double @pochhammer_func(double noundef %5, i32 noundef %6, i32 noundef 1)
ret double %7
}
declare double @pochhammer_func(double noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4is9z422.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rising_fact(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load double, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call double @pochhammer_func(double noundef %5, i32 noundef %6, i32 noundef 1)
ret double %7
}
declare double @pochhammer_func(double noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjgp6wm15.c'
source_filename = "/tmp/tmpjgp6wm15.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Failed to allocate memory for %zd bytes.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_arg_int(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %10, align 4
%12 = call ptr @malloc(i32 noundef 64)
store ptr %12, ptr %11, align 8
%13 = load ptr, ptr %11, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 @printf(ptr noundef @.str, i32 noundef 64)
store ptr null, ptr %4, align 8
br label %47
17: ; preds = %3
store i32 16, ptr %10, align 4
br label %18
18: ; preds = %36, %17
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %6, align 8
%21 = call i32 @fscanf(ptr noundef %19, ptr noundef %20, ptr noundef %9)
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %43
23: ; preds = %18
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp eq i32 %24, %25
br i1 %26, label %27, label %36
27: ; preds = %23
%28 = load i32, ptr %10, align 4
%29 = mul nsw i32 %28, 2
store i32 %29, ptr %10, align 4
%30 = load ptr, ptr %11, align 8
%31 = load i32, ptr %10, align 4
%32 = sext i32 %31 to i64
%33 = mul i64 %32, 4
%34 = trunc i64 %33 to i32
%35 = call ptr @realloc(ptr noundef %30, i32 noundef %34)
store ptr %35, ptr %11, align 8
br label %36
36: ; preds = %27, %23
%37 = load i32, ptr %9, align 4
%38 = load ptr, ptr %11, align 8
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %8, align 4
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds i32, ptr %38, i64 %41
store i32 %37, ptr %42, align 4
br label %18, !llvm.loop !6
43: ; preds = %18
%44 = load i32, ptr %8, align 4
%45 = load ptr, ptr %7, align 8
store i32 %44, ptr %45, align 4
%46 = load ptr, ptr %11, align 8
store ptr %46, ptr %4, align 8
br label %47
47: ; preds = %43, %15
%48 = load ptr, ptr %4, align 8
ret ptr %48
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjgp6wm15.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Failed to allocate memory for %zd bytes.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_arg_int(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %10, align 4
%12 = call ptr @malloc(i32 noundef 64)
store ptr %12, ptr %11, align 8
%13 = load ptr, ptr %11, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 @printf(ptr noundef @.str, i32 noundef 64)
store ptr null, ptr %4, align 8
br label %50
17: ; preds = %3
store i32 16, ptr %10, align 4
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %6, align 8
%20 = call i32 @fscanf(ptr noundef %18, ptr noundef %19, ptr noundef %9)
%21 = icmp eq i32 %20, 1
br i1 %21, label %.lr.ph, label %46
.lr.ph: ; preds = %17
br label %22
22: ; preds = %.lr.ph, %35
%23 = load i32, ptr %10, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %26, label %35
26: ; preds = %22
%27 = load i32, ptr %10, align 4
%28 = mul nsw i32 %27, 2
store i32 %28, ptr %10, align 4
%29 = load ptr, ptr %11, align 8
%30 = load i32, ptr %10, align 4
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 4
%33 = trunc i64 %32 to i32
%34 = call ptr @realloc(ptr noundef %29, i32 noundef %33)
store ptr %34, ptr %11, align 8
br label %35
35: ; preds = %26, %22
%36 = load i32, ptr %9, align 4
%37 = load ptr, ptr %11, align 8
%38 = load i32, ptr %8, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %8, align 4
%40 = sext i32 %38 to i64
%41 = getelementptr inbounds i32, ptr %37, i64 %40
store i32 %36, ptr %41, align 4
%42 = load ptr, ptr %5, align 8
%43 = load ptr, ptr %6, align 8
%44 = call i32 @fscanf(ptr noundef %42, ptr noundef %43, ptr noundef %9)
%45 = icmp eq i32 %44, 1
br i1 %45, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %46
46: ; preds = %._crit_edge, %17
%47 = load i32, ptr %8, align 4
%48 = load ptr, ptr %7, align 8
store i32 %47, ptr %48, align 4
%49 = load ptr, ptr %11, align 8
store ptr %49, ptr %4, align 8
br label %50
50: ; preds = %46, %15
%51 = load ptr, ptr %4, align 8
ret ptr %51
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcj5utqw9.c'
source_filename = "/tmp/tmpcj5utqw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"BDT clld\0A\00", align 1
@.str.1 = private unnamed_addr constant [74 x i8] c"Copyright (c) 2008-2011 Brown Deer Technology, LLC. All Rights Reserved.\0A\00", align 1
@.str.2 = private unnamed_addr constant [56 x i8] c"This program is free software distributed under GPLv3.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcj5utqw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"BDT clld\0A\00", align 1
@.str.1 = private unnamed_addr constant [74 x i8] c"Copyright (c) 2008-2011 Brown Deer Technology, LLC. All Rights Reserved.\0A\00", align 1
@.str.2 = private unnamed_addr constant [56 x i8] c"This program is free software distributed under GPLv3.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwh6mp0gv.c'
source_filename = "/tmp/tmpwh6mp0gv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iswctype_l(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = call i32 @iswctype(i32 noundef %7, i32 noundef %8)
ret i32 %9
}
declare i32 @iswctype(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/tmpwh6mp0gv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iswctype_l(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = call i32 @iswctype(i32 noundef %7, i32 noundef %8)
ret i32 %9
}
declare i32 @iswctype(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/tmp9huttv0a.c'
source_filename = "/tmp/tmp9huttv0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i64 0, align 8
@INT_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wet_str2int(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @str2ll(ptr noundef %5)
store i64 %6, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = load i64, ptr @INT_MAX, align 8
%9 = icmp sgt i64 %7, %8
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load i64, ptr @INT_MAX, align 8
%12 = trunc i64 %11 to i32
store i32 %12, ptr %3, align 4
br label %24
13: ; preds = %1
%14 = load i64, ptr %4, align 8
%15 = load i64, ptr @INT_MIN, align 8
%16 = icmp slt i64 %14, %15
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i64, ptr @INT_MIN, align 8
%19 = trunc i64 %18 to i32
store i32 %19, ptr %3, align 4
br label %23
20: ; preds = %13
%21 = load i64, ptr %4, align 8
%22 = trunc i64 %21 to i32
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %20, %17
br label %24
24: ; preds = %23, %10
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i64 @str2ll(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9huttv0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i64 0, align 8
@INT_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wet_str2int(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @str2ll(ptr noundef %5)
store i64 %6, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = load i64, ptr @INT_MAX, align 8
%9 = icmp sgt i64 %7, %8
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load i64, ptr @INT_MAX, align 8
%12 = trunc i64 %11 to i32
store i32 %12, ptr %3, align 4
br label %24
13: ; preds = %1
%14 = load i64, ptr %4, align 8
%15 = load i64, ptr @INT_MIN, align 8
%16 = icmp slt i64 %14, %15
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i64, ptr @INT_MIN, align 8
%19 = trunc i64 %18 to i32
store i32 %19, ptr %3, align 4
br label %23
20: ; preds = %13
%21 = load i64, ptr %4, align 8
%22 = trunc i64 %21 to i32
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %20, %17
br label %24
24: ; preds = %23, %10
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i64 @str2ll(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm7pwxf4j.c'
source_filename = "/tmp/tmpm7pwxf4j.c"
target datalayout = "e-m:e-p270: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/tmpm7pwxf4j.c"
target datalayout = "e-m:e-p270: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/tmp9f9s93ah.c'
source_filename = "/tmp/tmp9f9s93ah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %33, %0
%4 = call i64 (...) @unknown1()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %34
6: ; preds = %3
%7 = call i64 (...) @unknown2()
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = load i32, ptr %1, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %1, align 4
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 100
store i32 %13, ptr %2, align 4
br label %33
14: ; preds = %6
%15 = call i64 (...) @unknown3()
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %32
17: ; preds = %14
%18 = load i32, ptr %1, align 4
%19 = icmp sge i32 %18, 4
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load i32, ptr %1, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %1, align 4
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
br label %25
25: ; preds = %20, %17
%26 = load i32, ptr %1, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %2, align 4
br label %31
31: ; preds = %28, %25
br label %32
32: ; preds = %31, %14
br label %33
33: ; preds = %32, %9
br label %3, !llvm.loop !6
34: ; preds = %3
%35 = load i32, ptr %1, align 4
%36 = icmp slt i32 %35, 4
br i1 %36, label %40, label %37
37: ; preds = %34
%38 = load i32, ptr %2, align 4
%39 = icmp sgt i32 %38, 2
br label %40
40: ; preds = %37, %34
%41 = phi i1 [ true, %34 ], [ %39, %37 ]
%42 = zext i1 %41 to i32
%43 = call i32 @static_assert(i32 noundef %42)
ret void
}
declare i64 @unknown1(...) #1
declare i64 @unknown2(...) #1
declare i64 @unknown3(...) #1
declare i32 @static_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9f9s93ah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i64 (...) @unknown1()
%4 = icmp ne i64 %3, 0
br i1 %4, label %.lr.ph, label %35
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %32
%6 = call i64 (...) @unknown2()
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %5
%9 = load i32, ptr %1, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %1, align 4
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 100
store i32 %12, ptr %2, align 4
br label %32
13: ; preds = %5
%14 = call i64 (...) @unknown3()
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %31
16: ; preds = %13
%17 = load i32, ptr %1, align 4
%18 = icmp sge i32 %17, 4
br i1 %18, label %19, label %24
19: ; preds = %16
%20 = load i32, ptr %1, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %1, align 4
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
br label %24
24: ; preds = %19, %16
%25 = load i32, ptr %1, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %27, %24
br label %31
31: ; preds = %30, %13
br label %32
32: ; preds = %31, %8
%33 = call i64 (...) @unknown1()
%34 = icmp ne i64 %33, 0
br i1 %34, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %35
35: ; preds = %._crit_edge, %0
%36 = load i32, ptr %1, align 4
%37 = icmp slt i32 %36, 4
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = load i32, ptr %2, align 4
%40 = icmp sgt i32 %39, 2
br label %41
41: ; preds = %38, %35
%42 = phi i1 [ true, %35 ], [ %40, %38 ]
%43 = zext i1 %42 to i32
%44 = call i32 @static_assert(i32 noundef %43)
ret void
}
declare i64 @unknown1(...) #1
declare i64 @unknown2(...) #1
declare i64 @unknown3(...) #1
declare i32 @static_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeas7isqr.c'
source_filename = "/tmp/tmpeas7isqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"C TRAIL\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_trail() #0 {
%1 = alloca [80 x i8], align 16
%2 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @sprintf(ptr noundef %2, ptr noundef @.str)
%4 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%5 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @strlen(ptr noundef %5)
%7 = call i64 @send_msg(ptr noundef %4, i32 noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 (...) @recv_ack()
br label %11
11: ; preds = %9, %0
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i64 @send_msg(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @recv_ack(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeas7isqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"C TRAIL\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_trail() #0 {
%1 = alloca [80 x i8], align 16
%2 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @sprintf(ptr noundef %2, ptr noundef @.str)
%4 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%5 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @strlen(ptr noundef %5)
%7 = call i64 @send_msg(ptr noundef %4, i32 noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 (...) @recv_ack()
br label %11
11: ; preds = %9, %0
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i64 @send_msg(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @recv_ack(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc8zz_ep6.c'
source_filename = "/tmp/tmpc8zz_ep6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_main() #0 {
%1 = call i32 @make_tree(i32 noundef 4, i32 noundef 3, i32 noundef 3, i32 noundef 4)
ret void
}
declare i32 @make_tree(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc8zz_ep6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_main() #0 {
%1 = call i32 @make_tree(i32 noundef 4, i32 noundef 3, i32 noundef 3, i32 noundef 4)
ret void
}
declare i32 @make_tree(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphal9nrtw.c'
source_filename = "/tmp/tmphal9nrtw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"The 1500'th ugly number 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
%3 = alloca i32, align 4
%4 = alloca [1500 x i32], align 16
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 0
store i32 1, ptr %5, align 16
store i32 1, ptr %2, align 4
br label %6
6: ; preds = %123, %0
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 1500
br i1 %8, label %9, label %126
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %11
store i32 900000000, ptr %12, align 4
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %119, %9
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %122
17: ; preds = %13
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = mul nsw i32 %21, 2
%23 = load i32, ptr %2, align 4
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = icmp sgt i32 %22, %27
br i1 %28, label %29, label %50
29: ; preds = %17
%30 = load i32, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = mul nsw i32 %33, 2
%35 = load i32, ptr %2, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = icmp slt i32 %34, %38
br i1 %39, label %40, label %49
40: ; preds = %29
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %42
%44 = load i32, ptr %43, align 4
%45 = mul nsw i32 %44, 2
%46 = load i32, ptr %2, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %47
store i32 %45, ptr %48, align 4
br label %49
49: ; preds = %40, %29
br label %118
50: ; preds = %17
%51 = load i32, ptr %3, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %52
%54 = load i32, ptr %53, align 4
%55 = mul nsw i32 %54, 3
%56 = load i32, ptr %2, align 4
%57 = sub nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %58
%60 = load i32, ptr %59, align 4
%61 = icmp sgt i32 %55, %60
br i1 %61, label %62, label %83
62: ; preds = %50
%63 = load i32, ptr %3, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %64
%66 = load i32, ptr %65, align 4
%67 = mul nsw i32 %66, 3
%68 = load i32, ptr %2, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %69
%71 = load i32, ptr %70, align 4
%72 = icmp slt i32 %67, %71
br i1 %72, label %73, label %82
73: ; preds = %62
%74 = load i32, ptr %3, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %75
%77 = load i32, ptr %76, align 4
%78 = mul nsw i32 %77, 3
%79 = load i32, ptr %2, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %80
store i32 %78, ptr %81, align 4
br label %82
82: ; preds = %73, %62
br label %117
83: ; preds = %50
%84 = load i32, ptr %3, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %85
%87 = load i32, ptr %86, align 4
%88 = mul nsw i32 %87, 5
%89 = load i32, ptr %2, align 4
%90 = sub nsw i32 %89, 1
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %91
%93 = load i32, ptr %92, align 4
%94 = icmp sgt i32 %88, %93
br i1 %94, label %95, label %116
95: ; preds = %83
%96 = load i32, ptr %3, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %97
%99 = load i32, ptr %98, align 4
%100 = mul nsw i32 %99, 5
%101 = load i32, ptr %2, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %102
%104 = load i32, ptr %103, align 4
%105 = icmp slt i32 %100, %104
br i1 %105, label %106, label %115
106: ; preds = %95
%107 = load i32, ptr %3, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %108
%110 = load i32, ptr %109, align 4
%111 = mul nsw i32 %110, 5
%112 = load i32, ptr %2, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %113
store i32 %111, ptr %114, align 4
br label %115
115: ; preds = %106, %95
br label %116
116: ; preds = %115, %83
br label %117
117: ; preds = %116, %82
br label %118
118: ; preds = %117, %49
br label %119
119: ; preds = %118
%120 = load i32, ptr %3, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %3, align 4
br label %13, !llvm.loop !6
122: ; preds = %13
br label %123
123: ; preds = %122
%124 = load i32, ptr %2, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %2, align 4
br label %6, !llvm.loop !8
126: ; preds = %6
%127 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 1499
%128 = load i32, ptr %127, align 4
%129 = call i32 @printf(ptr noundef @.str, i32 noundef %128)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphal9nrtw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"The 1500'th ugly number 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
%3 = alloca i32, align 4
%4 = alloca [1500 x i32], align 16
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 0
store i32 1, ptr %5, align 16
store i32 1, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 1500
br i1 %7, label %.lr.ph2, label %129
.lr.ph2: ; preds = %0
br label %8
8: ; preds = %.lr.ph2, %124
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %10
store i32 900000000, ptr %11, align 4
store i32 0, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %123
.lr.ph: ; preds = %8
br label %15
15: ; preds = %.lr.ph, %117
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %17
%19 = load i32, ptr %18, align 4
%20 = mul nsw i32 %19, 2
%21 = load i32, ptr %2, align 4
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = icmp sgt i32 %20, %25
br i1 %26, label %27, label %48
27: ; preds = %15
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = mul nsw i32 %31, 2
%33 = load i32, ptr %2, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = icmp slt i32 %32, %36
br i1 %37, label %38, label %47
38: ; preds = %27
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = mul nsw i32 %42, 2
%44 = load i32, ptr %2, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %45
store i32 %43, ptr %46, align 4
br label %47
47: ; preds = %38, %27
br label %116
48: ; preds = %15
%49 = load i32, ptr %3, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
%53 = mul nsw i32 %52, 3
%54 = load i32, ptr %2, align 4
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
%59 = icmp sgt i32 %53, %58
br i1 %59, label %60, label %81
60: ; preds = %48
%61 = load i32, ptr %3, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %62
%64 = load i32, ptr %63, align 4
%65 = mul nsw i32 %64, 3
%66 = load i32, ptr %2, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %67
%69 = load i32, ptr %68, align 4
%70 = icmp slt i32 %65, %69
br i1 %70, label %71, label %80
71: ; preds = %60
%72 = load i32, ptr %3, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %73
%75 = load i32, ptr %74, align 4
%76 = mul nsw i32 %75, 3
%77 = load i32, ptr %2, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %78
store i32 %76, ptr %79, align 4
br label %80
80: ; preds = %71, %60
br label %115
81: ; preds = %48
%82 = load i32, ptr %3, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %83
%85 = load i32, ptr %84, align 4
%86 = mul nsw i32 %85, 5
%87 = load i32, ptr %2, align 4
%88 = sub nsw i32 %87, 1
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %89
%91 = load i32, ptr %90, align 4
%92 = icmp sgt i32 %86, %91
br i1 %92, label %93, label %114
93: ; preds = %81
%94 = load i32, ptr %3, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %95
%97 = load i32, ptr %96, align 4
%98 = mul nsw i32 %97, 5
%99 = load i32, ptr %2, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %100
%102 = load i32, ptr %101, align 4
%103 = icmp slt i32 %98, %102
br i1 %103, label %104, label %113
104: ; preds = %93
%105 = load i32, ptr %3, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %106
%108 = load i32, ptr %107, align 4
%109 = mul nsw i32 %108, 5
%110 = load i32, ptr %2, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 %111
store i32 %109, ptr %112, align 4
br label %113
113: ; preds = %104, %93
br label %114
114: ; preds = %113, %81
br label %115
115: ; preds = %114, %80
br label %116
116: ; preds = %115, %47
br label %117
117: ; preds = %116
%118 = load i32, ptr %3, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %3, align 4
%120 = load i32, ptr %3, align 4
%121 = load i32, ptr %2, align 4
%122 = icmp slt i32 %120, %121
br i1 %122, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %117
br label %123
123: ; preds = %._crit_edge, %8
br label %124
124: ; preds = %123
%125 = load i32, ptr %2, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %2, align 4
%127 = load i32, ptr %2, align 4
%128 = icmp slt i32 %127, 1500
br i1 %128, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %124
br label %129
129: ; preds = %._crit_edge3, %0
%130 = getelementptr inbounds [1500 x i32], ptr %4, i64 0, i64 1499
%131 = load i32, ptr %130, align 4
%132 = call i32 @printf(ptr noundef @.str, i32 noundef %131)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpw7490wr6.c'
source_filename = "/tmp/tmpw7490wr6.c"
target datalayout = "e-m:e-p270: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/tmpw7490wr6.c"
target datalayout = "e-m:e-p270: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/tmp7ohir11b.c'
source_filename = "/tmp/tmp7ohir11b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Error while closing socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @close_connection(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @close(i32 noundef %4)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %10
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
10: ; preds = %9, %7
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @close(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ohir11b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Error while closing socket\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @close_connection(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @close(i32 noundef %4)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %10
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
10: ; preds = %9, %7
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @close(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1zzhd1gf.c'
source_filename = "/tmp/tmp1zzhd1gf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @index_160_to_deg(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 %3, 45
%5 = sdiv i32 %4, 2
%6 = call i32 @fix_angle(i32 noundef %5)
ret i32 %6
}
declare i32 @fix_angle(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/tmp1zzhd1gf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @index_160_to_deg(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 %3, 45
%5 = sdiv i32 %4, 2
%6 = call i32 @fix_angle(i32 noundef %5)
ret i32 %6
}
declare i32 @fix_angle(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/tmpd645olxb.c'
source_filename = "/tmp/tmpd645olxb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @telnet_send_output(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%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 %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = mul nsw i32 %11, 2
%13 = add nsw i32 %12, 1
%14 = call ptr @alloca(i32 noundef %13)
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %5, align 8
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %9, align 8
store ptr %16, ptr %8, align 8
br label %17
17: ; preds = %50, %3
%18 = load ptr, ptr %8, align 8
%19 = load ptr, ptr %9, align 8
%20 = ptrtoint ptr %18 to i64
%21 = ptrtoint ptr %19 to i64
%22 = sub i64 %20, %21
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = icmp slt i64 %22, %24
br i1 %25, label %26, label %55
26: ; preds = %17
%27 = load ptr, ptr %7, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 10
br i1 %30, label %31, label %46
31: ; preds = %26
%32 = load ptr, ptr %7, align 8
%33 = load ptr, ptr %5, align 8
%34 = icmp eq ptr %32, %33
br i1 %34, label %41, label %35
35: ; preds = %31
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i64 -1
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp ne i32 %39, 13
br i1 %40, label %41, label %46
41: ; preds = %35, %31
%42 = load ptr, ptr %8, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 1
store ptr %43, ptr %8, align 8
store i8 13, ptr %42, align 1
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %6, align 4
br label %46
46: ; preds = %41, %35, %26
%47 = load ptr, ptr %7, align 8
%48 = load i8, ptr %47, align 1
%49 = load ptr, ptr %8, align 8
store i8 %48, ptr %49, align 1
br label %50
50: ; preds = %46
%51 = load ptr, ptr %7, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %7, align 8
%53 = load ptr, ptr %8, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %8, align 8
br label %17, !llvm.loop !6
55: ; preds = %17
%56 = load i32, ptr %4, align 4
%57 = load ptr, ptr %9, align 8
%58 = load i32, ptr %6, align 4
%59 = call i32 @write(i32 noundef %56, ptr noundef %57, i32 noundef %58)
store i32 %59, ptr %10, align 4
ret void
}
declare ptr @alloca(i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd645olxb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @telnet_send_output(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%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 %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = mul nsw i32 %11, 2
%13 = add nsw i32 %12, 1
%14 = call ptr @alloca(i32 noundef %13)
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %5, align 8
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %9, align 8
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %8, align 8
%18 = load ptr, ptr %9, align 8
%19 = ptrtoint ptr %17 to i64
%20 = ptrtoint ptr %18 to i64
%21 = sub i64 %19, %20
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = icmp slt i64 %21, %23
br i1 %24, label %.lr.ph, label %62
.lr.ph: ; preds = %3
br label %25
25: ; preds = %.lr.ph, %49
%26 = load ptr, ptr %7, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 10
br i1 %29, label %30, label %45
30: ; preds = %25
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %5, align 8
%33 = icmp eq ptr %31, %32
br i1 %33, label %40, label %34
34: ; preds = %30
%35 = load ptr, ptr %7, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 -1
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 13
br i1 %39, label %40, label %45
40: ; preds = %34, %30
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %8, align 8
store i8 13, ptr %41, align 1
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
br label %45
45: ; preds = %40, %34, %25
%46 = load ptr, ptr %7, align 8
%47 = load i8, ptr %46, align 1
%48 = load ptr, ptr %8, align 8
store i8 %47, ptr %48, align 1
br label %49
49: ; preds = %45
%50 = load ptr, ptr %7, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %7, align 8
%52 = load ptr, ptr %8, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %8, align 8
%54 = load ptr, ptr %8, align 8
%55 = load ptr, ptr %9, align 8
%56 = ptrtoint ptr %54 to i64
%57 = ptrtoint ptr %55 to i64
%58 = sub i64 %56, %57
%59 = load i32, ptr %6, align 4
%60 = sext i32 %59 to i64
%61 = icmp slt i64 %58, %60
br i1 %61, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %62
62: ; preds = %._crit_edge, %3
%63 = load i32, ptr %4, align 4
%64 = load ptr, ptr %9, align 8
%65 = load i32, ptr %6, align 4
%66 = call i32 @write(i32 noundef %63, ptr noundef %64, i32 noundef %65)
store i32 %66, ptr %10, align 4
ret void
}
declare ptr @alloca(i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7v5imzep.c'
source_filename = "/tmp/tmp7v5imzep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Podaj liczb\C4\99 x: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Podaj liczb\C4\99 y: \00", align 1
@.str.3 = private unnamed_addr constant [5 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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @newton(i32 noundef %7, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @newton(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/tmp7v5imzep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Podaj liczb\C4\99 x: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Podaj liczb\C4\99 y: \00", align 1
@.str.3 = private unnamed_addr constant [5 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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @newton(i32 noundef %7, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @newton(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/tmph_q48e43.c'
source_filename = "/tmp/tmph_q48e43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(i32 noundef 1, i32 noundef 2)
%3 = call i32 @g(i32 noundef 1, i32 noundef 2)
%4 = sub nsw i32 %2, %3
ret i32 %4
}
declare i32 @f(i32 noundef, i32 noundef) #1
declare i32 @g(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/tmph_q48e43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f(i32 noundef 1, i32 noundef 2)
%3 = call i32 @g(i32 noundef 1, i32 noundef 2)
%4 = sub nsw i32 %2, %3
ret i32 %4
}
declare i32 @f(i32 noundef, i32 noundef) #1
declare i32 @g(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/tmpi4mc5qh6.c'
source_filename = "/tmp/tmpi4mc5qh6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global 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/tmpi4mc5qh6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global 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/tmpvrl234hb.c'
source_filename = "/tmp/tmpvrl234hb.c"
target datalayout = "e-m:e-p270: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/tmpvrl234hb.c"
target datalayout = "e-m:e-p270: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/tmpjtmx71qq.c'
source_filename = "/tmp/tmpjtmx71qq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
%7 = call i32 (...) @fork()
store i32 %7, ptr %5, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %24
9: ; preds = %0
store i32 1, ptr %6, align 4
br label %10
10: ; preds = %18, %9
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %21
14: ; preds = %10
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, %15
store i32 %17, ptr %3, align 4
br label %18
18: ; preds = %14
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
br label %10, !llvm.loop !6
21: ; preds = %10
%22 = load i32, ptr %3, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %22)
br label %44
24: ; preds = %0
%25 = load i32, ptr %5, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %43
27: ; preds = %24
store i32 1, ptr %6, align 4
br label %28
28: ; preds = %36, %27
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %32, label %39
32: ; preds = %28
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %6, align 4
%35 = mul nsw i32 %33, %34
store i32 %35, ptr %4, align 4
br label %36
36: ; preds = %32
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
br label %28, !llvm.loop !8
39: ; preds = %28
%40 = load i32, ptr %4, align 4
%41 = call i32 @printf(ptr noundef @.str, i32 noundef %40)
%42 = call i32 @sleep(i32 noundef 1)
br label %43
43: ; preds = %39, %24
br label %44
44: ; preds = %43, %21
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjtmx71qq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 1, ptr %4, align 4
%7 = call i32 (...) @fork()
store i32 %7, ptr %5, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %26
9: ; preds = %0
store i32 1, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %.lr.ph2, label %23
.lr.ph2: ; preds = %9
br label %13
13: ; preds = %.lr.ph2, %17
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %3, align 4
br label %17
17: ; preds = %13
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %13, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %17
br label %23
23: ; preds = %._crit_edge3, %9
%24 = load i32, ptr %3, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
br label %48
26: ; preds = %0
%27 = load i32, ptr %5, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %47
29: ; preds = %26
store i32 1, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %.lr.ph, label %43
.lr.ph: ; preds = %29
br label %33
33: ; preds = %.lr.ph, %37
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %6, align 4
%36 = mul nsw i32 %34, %35
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %33
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %33, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %29
%44 = load i32, ptr %4, align 4
%45 = call i32 @printf(ptr noundef @.str, i32 noundef %44)
%46 = call i32 @sleep(i32 noundef 1)
br label %47
47: ; preds = %43, %26
br label %48
48: ; preds = %47, %23
ret i32 0
}
declare i32 @fork(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpl8xl9bsb.c'
source_filename = "/tmp/tmpl8xl9bsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Error while closing\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @file_close(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 = call i32 @close(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl8xl9bsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Error while closing\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @file_close(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 = call i32 @close(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2i7s83wr.c'
source_filename = "/tmp/tmp2i7s83wr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logging_exit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @close_log()
ret void
}
declare i32 @close_log(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2i7s83wr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logging_exit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @close_log()
ret void
}
declare i32 @close_log(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprsyaplzw.c'
source_filename = "/tmp/tmprsyaplzw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_test_various_MIN_smallerint_biggeruint() #0 {
%1 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef -1, i32 noundef 0)
%2 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef -1, i32 noundef 1)
%3 = load i32, ptr @CHAR_BIT, align 4
%4 = sext i32 %3 to i64
%5 = mul i64 4, %4
%6 = sub i64 %5, 2
%7 = trunc i64 %6 to i32
%8 = shl i32 1, %7
%9 = load i32, ptr @CHAR_BIT, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 4, %10
%12 = sub i64 %11, 2
%13 = trunc i64 %12 to i32
%14 = shl i32 1, %13
%15 = sub i32 %14, 1
%16 = add i32 %8, %15
%17 = icmp ugt i32 %16, -1
br i1 %17, label %18, label %33
18: ; preds = %0
%19 = load i32, ptr @CHAR_BIT, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 4, %20
%22 = sub i64 %21, 2
%23 = trunc i64 %22 to i32
%24 = shl i32 1, %23
%25 = load i32, ptr @CHAR_BIT, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 4, %26
%28 = sub i64 %27, 2
%29 = trunc i64 %28 to i32
%30 = shl i32 1, %29
%31 = sub i32 %30, 1
%32 = add i32 %24, %31
br label %34
33: ; preds = %0
br label %34
34: ; preds = %33, %18
%35 = phi i32 [ %32, %18 ], [ -1, %33 ]
%36 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef -1, i32 noundef %35)
%37 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef 0, i32 noundef 1)
%38 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef 0, i32 noundef 2)
%39 = load i32, ptr @CHAR_BIT, align 4
%40 = sext i32 %39 to i64
%41 = mul i64 4, %40
%42 = sub i64 %41, 2
%43 = trunc i64 %42 to i32
%44 = shl i32 1, %43
%45 = load i32, ptr @CHAR_BIT, align 4
%46 = sext i32 %45 to i64
%47 = mul i64 4, %46
%48 = sub i64 %47, 2
%49 = trunc i64 %48 to i32
%50 = shl i32 1, %49
%51 = sub i32 %50, 1
%52 = add i32 %44, %51
%53 = icmp ugt i32 %52, -1
br i1 %53, label %54, label %69
54: ; preds = %34
%55 = load i32, ptr @CHAR_BIT, align 4
%56 = sext i32 %55 to i64
%57 = mul i64 4, %56
%58 = sub i64 %57, 2
%59 = trunc i64 %58 to i32
%60 = shl i32 1, %59
%61 = load i32, ptr @CHAR_BIT, align 4
%62 = sext i32 %61 to i64
%63 = mul i64 4, %62
%64 = sub i64 %63, 2
%65 = trunc i64 %64 to i32
%66 = shl i32 1, %65
%67 = sub i32 %66, 1
%68 = add i32 %60, %67
br label %70
69: ; preds = %34
br label %70
70: ; preds = %69, %54
%71 = phi i32 [ %68, %54 ], [ -1, %69 ]
%72 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef 0, i32 noundef %71)
%73 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef 1, i32 noundef 2)
%74 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef 1, i32 noundef 3)
%75 = load i32, ptr @CHAR_BIT, align 4
%76 = sext i32 %75 to i64
%77 = mul i64 4, %76
%78 = sub i64 %77, 2
%79 = trunc i64 %78 to i32
%80 = shl i32 1, %79
%81 = load i32, ptr @CHAR_BIT, align 4
%82 = sext i32 %81 to i64
%83 = mul i64 4, %82
%84 = sub i64 %83, 2
%85 = trunc i64 %84 to i32
%86 = shl i32 1, %85
%87 = sub i32 %86, 1
%88 = add i32 %80, %87
%89 = icmp ugt i32 %88, -1
br i1 %89, label %90, label %105
90: ; preds = %70
%91 = load i32, ptr @CHAR_BIT, align 4
%92 = sext i32 %91 to i64
%93 = mul i64 4, %92
%94 = sub i64 %93, 2
%95 = trunc i64 %94 to i32
%96 = shl i32 1, %95
%97 = load i32, ptr @CHAR_BIT, align 4
%98 = sext i32 %97 to i64
%99 = mul i64 4, %98
%100 = sub i64 %99, 2
%101 = trunc i64 %100 to i32
%102 = shl i32 1, %101
%103 = sub i32 %102, 1
%104 = add i32 %96, %103
br label %106
105: ; preds = %70
br label %106
106: ; preds = %105, %90
%107 = phi i32 [ %104, %90 ], [ -1, %105 ]
%108 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef 1, i32 noundef %107)
%109 = load i32, ptr @CHAR_BIT, align 4
%110 = sext i32 %109 to i64
%111 = mul i64 4, %110
%112 = sub i64 %111, 2
%113 = trunc i64 %112 to i32
%114 = shl i32 1, %113
%115 = load i32, ptr @CHAR_BIT, align 4
%116 = sext i32 %115 to i64
%117 = mul i64 4, %116
%118 = sub i64 %117, 2
%119 = trunc i64 %118 to i32
%120 = shl i32 1, %119
%121 = sub nsw i32 %120, 1
%122 = add nsw i32 %114, %121
%123 = sub nsw i32 0, %122
%124 = sub nsw i32 %123, 1
%125 = icmp slt i32 %124, 0
br i1 %125, label %126, label %143
126: ; preds = %106
%127 = load i32, ptr @CHAR_BIT, align 4
%128 = sext i32 %127 to i64
%129 = mul i64 4, %128
%130 = sub i64 %129, 2
%131 = trunc i64 %130 to i32
%132 = shl i32 1, %131
%133 = load i32, ptr @CHAR_BIT, align 4
%134 = sext i32 %133 to i64
%135 = mul i64 4, %134
%136 = sub i64 %135, 2
%137 = trunc i64 %136 to i32
%138 = shl i32 1, %137
%139 = sub nsw i32 %138, 1
%140 = add nsw i32 %132, %139
%141 = sub nsw i32 0, %140
%142 = sub nsw i32 %141, 1
br label %144
143: ; preds = %106
br label %144
144: ; preds = %143, %126
%145 = phi i32 [ %142, %126 ], [ 0, %143 ]
%146 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef %145, i32 noundef 0)
%147 = load i32, ptr @CHAR_BIT, align 4
%148 = sext i32 %147 to i64
%149 = mul i64 4, %148
%150 = sub i64 %149, 2
%151 = trunc i64 %150 to i32
%152 = shl i32 1, %151
%153 = load i32, ptr @CHAR_BIT, align 4
%154 = sext i32 %153 to i64
%155 = mul i64 4, %154
%156 = sub i64 %155, 2
%157 = trunc i64 %156 to i32
%158 = shl i32 1, %157
%159 = sub nsw i32 %158, 1
%160 = add nsw i32 %152, %159
%161 = sub nsw i32 0, %160
%162 = sub nsw i32 %161, 1
%163 = icmp slt i32 %162, 0
br i1 %163, label %164, label %181
164: ; preds = %144
%165 = load i32, ptr @CHAR_BIT, align 4
%166 = sext i32 %165 to i64
%167 = mul i64 4, %166
%168 = sub i64 %167, 2
%169 = trunc i64 %168 to i32
%170 = shl i32 1, %169
%171 = load i32, ptr @CHAR_BIT, align 4
%172 = sext i32 %171 to i64
%173 = mul i64 4, %172
%174 = sub i64 %173, 2
%175 = trunc i64 %174 to i32
%176 = shl i32 1, %175
%177 = sub nsw i32 %176, 1
%178 = add nsw i32 %170, %177
%179 = sub nsw i32 0, %178
%180 = sub nsw i32 %179, 1
br label %182
181: ; preds = %144
br label %182
182: ; preds = %181, %164
%183 = phi i32 [ %180, %164 ], [ 0, %181 ]
%184 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef %183, i32 noundef 2)
%185 = load i32, ptr @CHAR_BIT, align 4
%186 = sext i32 %185 to i64
%187 = mul i64 4, %186
%188 = sub i64 %187, 2
%189 = trunc i64 %188 to i32
%190 = shl i32 1, %189
%191 = load i32, ptr @CHAR_BIT, align 4
%192 = sext i32 %191 to i64
%193 = mul i64 4, %192
%194 = sub i64 %193, 2
%195 = trunc i64 %194 to i32
%196 = shl i32 1, %195
%197 = sub nsw i32 %196, 1
%198 = add nsw i32 %190, %197
%199 = sub nsw i32 0, %198
%200 = sub nsw i32 %199, 1
%201 = icmp slt i32 %200, 0
br i1 %201, label %202, label %219
202: ; preds = %182
%203 = load i32, ptr @CHAR_BIT, align 4
%204 = sext i32 %203 to i64
%205 = mul i64 4, %204
%206 = sub i64 %205, 2
%207 = trunc i64 %206 to i32
%208 = shl i32 1, %207
%209 = load i32, ptr @CHAR_BIT, align 4
%210 = sext i32 %209 to i64
%211 = mul i64 4, %210
%212 = sub i64 %211, 2
%213 = trunc i64 %212 to i32
%214 = shl i32 1, %213
%215 = sub nsw i32 %214, 1
%216 = add nsw i32 %208, %215
%217 = sub nsw i32 0, %216
%218 = sub nsw i32 %217, 1
br label %220
219: ; preds = %182
br label %220
220: ; preds = %219, %202
%221 = phi i32 [ %218, %202 ], [ 0, %219 ]
%222 = load i32, ptr @CHAR_BIT, align 4
%223 = sext i32 %222 to i64
%224 = mul i64 4, %223
%225 = sub i64 %224, 2
%226 = trunc i64 %225 to i32
%227 = shl i32 1, %226
%228 = load i32, ptr @CHAR_BIT, align 4
%229 = sext i32 %228 to i64
%230 = mul i64 4, %229
%231 = sub i64 %230, 2
%232 = trunc i64 %231 to i32
%233 = shl i32 1, %232
%234 = sub i32 %233, 1
%235 = add i32 %227, %234
%236 = icmp ugt i32 %235, -1
br i1 %236, label %237, label %252
237: ; preds = %220
%238 = load i32, ptr @CHAR_BIT, align 4
%239 = sext i32 %238 to i64
%240 = mul i64 4, %239
%241 = sub i64 %240, 2
%242 = trunc i64 %241 to i32
%243 = shl i32 1, %242
%244 = load i32, ptr @CHAR_BIT, align 4
%245 = sext i32 %244 to i64
%246 = mul i64 4, %245
%247 = sub i64 %246, 2
%248 = trunc i64 %247 to i32
%249 = shl i32 1, %248
%250 = sub i32 %249, 1
%251 = add i32 %243, %250
br label %253
252: ; preds = %220
br label %253
253: ; preds = %252, %237
%254 = phi i32 [ %251, %237 ], [ -1, %252 ]
%255 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef %221, i32 noundef %254)
%256 = load i32, ptr @CHAR_BIT, align 4
%257 = sext i32 %256 to i64
%258 = mul i64 4, %257
%259 = sub i64 %258, 2
%260 = trunc i64 %259 to i32
%261 = shl i32 1, %260
%262 = load i32, ptr @CHAR_BIT, align 4
%263 = sext i32 %262 to i64
%264 = mul i64 4, %263
%265 = sub i64 %264, 2
%266 = trunc i64 %265 to i32
%267 = shl i32 1, %266
%268 = sub nsw i32 %267, 1
%269 = add nsw i32 %261, %268
%270 = sub nsw i32 0, %269
%271 = sub nsw i32 %270, 1
%272 = icmp slt i32 %271, 0
br i1 %272, label %273, label %290
273: ; preds = %253
%274 = load i32, ptr @CHAR_BIT, align 4
%275 = sext i32 %274 to i64
%276 = mul i64 4, %275
%277 = sub i64 %276, 2
%278 = trunc i64 %277 to i32
%279 = shl i32 1, %278
%280 = load i32, ptr @CHAR_BIT, align 4
%281 = sext i32 %280 to i64
%282 = mul i64 4, %281
%283 = sub i64 %282, 2
%284 = trunc i64 %283 to i32
%285 = shl i32 1, %284
%286 = sub nsw i32 %285, 1
%287 = add nsw i32 %279, %286
%288 = sub nsw i32 0, %287
%289 = sub nsw i32 %288, 1
br label %291
290: ; preds = %253
br label %291
291: ; preds = %290, %273
%292 = phi i32 [ %289, %273 ], [ 0, %290 ]
%293 = load i32, ptr @CHAR_BIT, align 4
%294 = sext i32 %293 to i64
%295 = mul i64 4, %294
%296 = sub i64 %295, 2
%297 = trunc i64 %296 to i32
%298 = shl i32 1, %297
%299 = load i32, ptr @CHAR_BIT, align 4
%300 = sext i32 %299 to i64
%301 = mul i64 4, %300
%302 = sub i64 %301, 2
%303 = trunc i64 %302 to i32
%304 = shl i32 1, %303
%305 = sub i32 %304, 1
%306 = add i32 %298, %305
%307 = sub i32 0, %306
%308 = sub i32 %307, 1
%309 = icmp ult i32 %308, 0
br i1 %309, label %310, label %327
310: ; preds = %291
%311 = load i32, ptr @CHAR_BIT, align 4
%312 = sext i32 %311 to i64
%313 = mul i64 4, %312
%314 = sub i64 %313, 2
%315 = trunc i64 %314 to i32
%316 = shl i32 1, %315
%317 = load i32, ptr @CHAR_BIT, align 4
%318 = sext i32 %317 to i64
%319 = mul i64 4, %318
%320 = sub i64 %319, 2
%321 = trunc i64 %320 to i32
%322 = shl i32 1, %321
%323 = sub i32 %322, 1
%324 = add i32 %316, %323
%325 = sub i32 0, %324
%326 = sub i32 %325, 1
br label %328
327: ; preds = %291
br label %328
328: ; preds = %327, %310
%329 = phi i32 [ %326, %310 ], [ 0, %327 ]
%330 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef %292, i32 noundef %329)
ret i32 0
}
declare i32 @_test_MIN_smallerint_biggeruint(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/tmprsyaplzw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_test_various_MIN_smallerint_biggeruint() #0 {
%1 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef -1, i32 noundef 0)
%2 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef -1, i32 noundef 1)
%3 = load i32, ptr @CHAR_BIT, align 4
%4 = sext i32 %3 to i64
%5 = mul i64 4, %4
%6 = sub i64 %5, 2
%7 = trunc i64 %6 to i32
%8 = shl i32 1, %7
%9 = load i32, ptr @CHAR_BIT, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 4, %10
%12 = sub i64 %11, 2
%13 = trunc i64 %12 to i32
%14 = shl i32 1, %13
%15 = sub i32 %14, 1
%16 = add i32 %8, %15
%17 = icmp ugt i32 %16, -1
br i1 %17, label %18, label %33
18: ; preds = %0
%19 = load i32, ptr @CHAR_BIT, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 4, %20
%22 = sub i64 %21, 2
%23 = trunc i64 %22 to i32
%24 = shl i32 1, %23
%25 = load i32, ptr @CHAR_BIT, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 4, %26
%28 = sub i64 %27, 2
%29 = trunc i64 %28 to i32
%30 = shl i32 1, %29
%31 = sub i32 %30, 1
%32 = add i32 %24, %31
br label %34
33: ; preds = %0
br label %34
34: ; preds = %33, %18
%35 = phi i32 [ %32, %18 ], [ -1, %33 ]
%36 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef -1, i32 noundef %35)
%37 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef 0, i32 noundef 1)
%38 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef 0, i32 noundef 2)
%39 = load i32, ptr @CHAR_BIT, align 4
%40 = sext i32 %39 to i64
%41 = mul i64 4, %40
%42 = sub i64 %41, 2
%43 = trunc i64 %42 to i32
%44 = shl i32 1, %43
%45 = load i32, ptr @CHAR_BIT, align 4
%46 = sext i32 %45 to i64
%47 = mul i64 4, %46
%48 = sub i64 %47, 2
%49 = trunc i64 %48 to i32
%50 = shl i32 1, %49
%51 = sub i32 %50, 1
%52 = add i32 %44, %51
%53 = icmp ugt i32 %52, -1
br i1 %53, label %54, label %69
54: ; preds = %34
%55 = load i32, ptr @CHAR_BIT, align 4
%56 = sext i32 %55 to i64
%57 = mul i64 4, %56
%58 = sub i64 %57, 2
%59 = trunc i64 %58 to i32
%60 = shl i32 1, %59
%61 = load i32, ptr @CHAR_BIT, align 4
%62 = sext i32 %61 to i64
%63 = mul i64 4, %62
%64 = sub i64 %63, 2
%65 = trunc i64 %64 to i32
%66 = shl i32 1, %65
%67 = sub i32 %66, 1
%68 = add i32 %60, %67
br label %70
69: ; preds = %34
br label %70
70: ; preds = %69, %54
%71 = phi i32 [ %68, %54 ], [ -1, %69 ]
%72 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef 0, i32 noundef %71)
%73 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef 1, i32 noundef 2)
%74 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef 1, i32 noundef 3)
%75 = load i32, ptr @CHAR_BIT, align 4
%76 = sext i32 %75 to i64
%77 = mul i64 4, %76
%78 = sub i64 %77, 2
%79 = trunc i64 %78 to i32
%80 = shl i32 1, %79
%81 = load i32, ptr @CHAR_BIT, align 4
%82 = sext i32 %81 to i64
%83 = mul i64 4, %82
%84 = sub i64 %83, 2
%85 = trunc i64 %84 to i32
%86 = shl i32 1, %85
%87 = sub i32 %86, 1
%88 = add i32 %80, %87
%89 = icmp ugt i32 %88, -1
br i1 %89, label %90, label %105
90: ; preds = %70
%91 = load i32, ptr @CHAR_BIT, align 4
%92 = sext i32 %91 to i64
%93 = mul i64 4, %92
%94 = sub i64 %93, 2
%95 = trunc i64 %94 to i32
%96 = shl i32 1, %95
%97 = load i32, ptr @CHAR_BIT, align 4
%98 = sext i32 %97 to i64
%99 = mul i64 4, %98
%100 = sub i64 %99, 2
%101 = trunc i64 %100 to i32
%102 = shl i32 1, %101
%103 = sub i32 %102, 1
%104 = add i32 %96, %103
br label %106
105: ; preds = %70
br label %106
106: ; preds = %105, %90
%107 = phi i32 [ %104, %90 ], [ -1, %105 ]
%108 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef 1, i32 noundef %107)
%109 = load i32, ptr @CHAR_BIT, align 4
%110 = sext i32 %109 to i64
%111 = mul i64 4, %110
%112 = sub i64 %111, 2
%113 = trunc i64 %112 to i32
%114 = shl i32 1, %113
%115 = load i32, ptr @CHAR_BIT, align 4
%116 = sext i32 %115 to i64
%117 = mul i64 4, %116
%118 = sub i64 %117, 2
%119 = trunc i64 %118 to i32
%120 = shl i32 1, %119
%121 = sub nsw i32 %120, 1
%122 = add nsw i32 %114, %121
%123 = sub nsw i32 0, %122
%124 = sub nsw i32 %123, 1
%125 = icmp slt i32 %124, 0
br i1 %125, label %126, label %143
126: ; preds = %106
%127 = load i32, ptr @CHAR_BIT, align 4
%128 = sext i32 %127 to i64
%129 = mul i64 4, %128
%130 = sub i64 %129, 2
%131 = trunc i64 %130 to i32
%132 = shl i32 1, %131
%133 = load i32, ptr @CHAR_BIT, align 4
%134 = sext i32 %133 to i64
%135 = mul i64 4, %134
%136 = sub i64 %135, 2
%137 = trunc i64 %136 to i32
%138 = shl i32 1, %137
%139 = sub nsw i32 %138, 1
%140 = add nsw i32 %132, %139
%141 = sub nsw i32 0, %140
%142 = sub nsw i32 %141, 1
br label %144
143: ; preds = %106
br label %144
144: ; preds = %143, %126
%145 = phi i32 [ %142, %126 ], [ 0, %143 ]
%146 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef %145, i32 noundef 0)
%147 = load i32, ptr @CHAR_BIT, align 4
%148 = sext i32 %147 to i64
%149 = mul i64 4, %148
%150 = sub i64 %149, 2
%151 = trunc i64 %150 to i32
%152 = shl i32 1, %151
%153 = load i32, ptr @CHAR_BIT, align 4
%154 = sext i32 %153 to i64
%155 = mul i64 4, %154
%156 = sub i64 %155, 2
%157 = trunc i64 %156 to i32
%158 = shl i32 1, %157
%159 = sub nsw i32 %158, 1
%160 = add nsw i32 %152, %159
%161 = sub nsw i32 0, %160
%162 = sub nsw i32 %161, 1
%163 = icmp slt i32 %162, 0
br i1 %163, label %164, label %181
164: ; preds = %144
%165 = load i32, ptr @CHAR_BIT, align 4
%166 = sext i32 %165 to i64
%167 = mul i64 4, %166
%168 = sub i64 %167, 2
%169 = trunc i64 %168 to i32
%170 = shl i32 1, %169
%171 = load i32, ptr @CHAR_BIT, align 4
%172 = sext i32 %171 to i64
%173 = mul i64 4, %172
%174 = sub i64 %173, 2
%175 = trunc i64 %174 to i32
%176 = shl i32 1, %175
%177 = sub nsw i32 %176, 1
%178 = add nsw i32 %170, %177
%179 = sub nsw i32 0, %178
%180 = sub nsw i32 %179, 1
br label %182
181: ; preds = %144
br label %182
182: ; preds = %181, %164
%183 = phi i32 [ %180, %164 ], [ 0, %181 ]
%184 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef %183, i32 noundef 2)
%185 = load i32, ptr @CHAR_BIT, align 4
%186 = sext i32 %185 to i64
%187 = mul i64 4, %186
%188 = sub i64 %187, 2
%189 = trunc i64 %188 to i32
%190 = shl i32 1, %189
%191 = load i32, ptr @CHAR_BIT, align 4
%192 = sext i32 %191 to i64
%193 = mul i64 4, %192
%194 = sub i64 %193, 2
%195 = trunc i64 %194 to i32
%196 = shl i32 1, %195
%197 = sub nsw i32 %196, 1
%198 = add nsw i32 %190, %197
%199 = sub nsw i32 0, %198
%200 = sub nsw i32 %199, 1
%201 = icmp slt i32 %200, 0
br i1 %201, label %202, label %219
202: ; preds = %182
%203 = load i32, ptr @CHAR_BIT, align 4
%204 = sext i32 %203 to i64
%205 = mul i64 4, %204
%206 = sub i64 %205, 2
%207 = trunc i64 %206 to i32
%208 = shl i32 1, %207
%209 = load i32, ptr @CHAR_BIT, align 4
%210 = sext i32 %209 to i64
%211 = mul i64 4, %210
%212 = sub i64 %211, 2
%213 = trunc i64 %212 to i32
%214 = shl i32 1, %213
%215 = sub nsw i32 %214, 1
%216 = add nsw i32 %208, %215
%217 = sub nsw i32 0, %216
%218 = sub nsw i32 %217, 1
br label %220
219: ; preds = %182
br label %220
220: ; preds = %219, %202
%221 = phi i32 [ %218, %202 ], [ 0, %219 ]
%222 = load i32, ptr @CHAR_BIT, align 4
%223 = sext i32 %222 to i64
%224 = mul i64 4, %223
%225 = sub i64 %224, 2
%226 = trunc i64 %225 to i32
%227 = shl i32 1, %226
%228 = load i32, ptr @CHAR_BIT, align 4
%229 = sext i32 %228 to i64
%230 = mul i64 4, %229
%231 = sub i64 %230, 2
%232 = trunc i64 %231 to i32
%233 = shl i32 1, %232
%234 = sub i32 %233, 1
%235 = add i32 %227, %234
%236 = icmp ugt i32 %235, -1
br i1 %236, label %237, label %252
237: ; preds = %220
%238 = load i32, ptr @CHAR_BIT, align 4
%239 = sext i32 %238 to i64
%240 = mul i64 4, %239
%241 = sub i64 %240, 2
%242 = trunc i64 %241 to i32
%243 = shl i32 1, %242
%244 = load i32, ptr @CHAR_BIT, align 4
%245 = sext i32 %244 to i64
%246 = mul i64 4, %245
%247 = sub i64 %246, 2
%248 = trunc i64 %247 to i32
%249 = shl i32 1, %248
%250 = sub i32 %249, 1
%251 = add i32 %243, %250
br label %253
252: ; preds = %220
br label %253
253: ; preds = %252, %237
%254 = phi i32 [ %251, %237 ], [ -1, %252 ]
%255 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef %221, i32 noundef %254)
%256 = load i32, ptr @CHAR_BIT, align 4
%257 = sext i32 %256 to i64
%258 = mul i64 4, %257
%259 = sub i64 %258, 2
%260 = trunc i64 %259 to i32
%261 = shl i32 1, %260
%262 = load i32, ptr @CHAR_BIT, align 4
%263 = sext i32 %262 to i64
%264 = mul i64 4, %263
%265 = sub i64 %264, 2
%266 = trunc i64 %265 to i32
%267 = shl i32 1, %266
%268 = sub nsw i32 %267, 1
%269 = add nsw i32 %261, %268
%270 = sub nsw i32 0, %269
%271 = sub nsw i32 %270, 1
%272 = icmp slt i32 %271, 0
br i1 %272, label %273, label %290
273: ; preds = %253
%274 = load i32, ptr @CHAR_BIT, align 4
%275 = sext i32 %274 to i64
%276 = mul i64 4, %275
%277 = sub i64 %276, 2
%278 = trunc i64 %277 to i32
%279 = shl i32 1, %278
%280 = load i32, ptr @CHAR_BIT, align 4
%281 = sext i32 %280 to i64
%282 = mul i64 4, %281
%283 = sub i64 %282, 2
%284 = trunc i64 %283 to i32
%285 = shl i32 1, %284
%286 = sub nsw i32 %285, 1
%287 = add nsw i32 %279, %286
%288 = sub nsw i32 0, %287
%289 = sub nsw i32 %288, 1
br label %291
290: ; preds = %253
br label %291
291: ; preds = %290, %273
%292 = phi i32 [ %289, %273 ], [ 0, %290 ]
%293 = load i32, ptr @CHAR_BIT, align 4
%294 = sext i32 %293 to i64
%295 = mul i64 4, %294
%296 = sub i64 %295, 2
%297 = trunc i64 %296 to i32
%298 = shl i32 1, %297
%299 = load i32, ptr @CHAR_BIT, align 4
%300 = sext i32 %299 to i64
%301 = mul i64 4, %300
%302 = sub i64 %301, 2
%303 = trunc i64 %302 to i32
%304 = shl i32 1, %303
%305 = sub i32 %304, 1
%306 = add i32 %298, %305
%307 = sub i32 0, %306
%308 = sub i32 %307, 1
%309 = icmp ult i32 %308, 0
br i1 %309, label %310, label %327
310: ; preds = %291
%311 = load i32, ptr @CHAR_BIT, align 4
%312 = sext i32 %311 to i64
%313 = mul i64 4, %312
%314 = sub i64 %313, 2
%315 = trunc i64 %314 to i32
%316 = shl i32 1, %315
%317 = load i32, ptr @CHAR_BIT, align 4
%318 = sext i32 %317 to i64
%319 = mul i64 4, %318
%320 = sub i64 %319, 2
%321 = trunc i64 %320 to i32
%322 = shl i32 1, %321
%323 = sub i32 %322, 1
%324 = add i32 %316, %323
%325 = sub i32 0, %324
%326 = sub i32 %325, 1
br label %328
327: ; preds = %291
br label %328
328: ; preds = %327, %310
%329 = phi i32 [ %326, %310 ], [ 0, %327 ]
%330 = call i32 @_test_MIN_smallerint_biggeruint(i32 noundef %292, i32 noundef %329)
ret i32 0
}
declare i32 @_test_MIN_smallerint_biggeruint(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/tmpnatpqxkf.c'
source_filename = "/tmp/tmpnatpqxkf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @maybe_unsave_line() #0 {
%1 = call i32 (...) @rl_maybe_unsave_line()
ret i32 %1
}
declare i32 @rl_maybe_unsave_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/tmpnatpqxkf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @maybe_unsave_line() #0 {
%1 = call i32 (...) @rl_maybe_unsave_line()
ret i32 %1
}
declare i32 @rl_maybe_unsave_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/tmpztbp5o6y.c'
source_filename = "/tmp/tmpztbp5o6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"1.849016\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpztbp5o6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"1.849016\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb4evgi3h.c'
source_filename = "/tmp/tmpb4evgi3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_BROADCAST = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"setsockopt SO_BROADCAST\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setsock_broadcast(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @SOL_SOCKET, align 4
%8 = load i32, ptr @SO_BROADCAST, align 4
%9 = call i32 @setsockopt(i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %4, i32 noundef 4)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load i32, ptr @errno, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr %5, align 4
%15 = call i32 @perror(ptr noundef @.str)
br label %16
16: ; preds = %12, %2
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb4evgi3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_BROADCAST = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"setsockopt SO_BROADCAST\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setsock_broadcast(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @SOL_SOCKET, align 4
%8 = load i32, ptr @SO_BROADCAST, align 4
%9 = call i32 @setsockopt(i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %4, i32 noundef 4)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load i32, ptr @errno, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr %5, align 4
%15 = call i32 @perror(ptr noundef @.str)
br label %16
16: ; preds = %12, %2
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt33trry_.c'
source_filename = "/tmp/tmpt33trry_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Hello world! %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0x4036666660000000, ptr %3, align 4
%4 = load float, ptr %3, align 4
%5 = fpext float %4 to double
%6 = fmul double 3.141500e+00, %5
%7 = load float, ptr %3, align 4
%8 = fpext float %7 to double
%9 = fmul double %6, %8
%10 = fptrunc double %9 to float
store float %10, ptr %2, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = load float, ptr %2, align 4
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt33trry_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Hello world! %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0x4036666660000000, ptr %3, align 4
%4 = load float, ptr %3, align 4
%5 = fpext float %4 to double
%6 = fmul double 3.141500e+00, %5
%7 = load float, ptr %3, align 4
%8 = fpext float %7 to double
%9 = fmul double %6, %8
%10 = fptrunc double %9 to float
store float %10, ptr %2, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = load float, ptr %2, align 4
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd5qcb4tm.c'
source_filename = "/tmp/tmpd5qcb4tm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dhill(ptr noundef %0, ptr noundef %1, i32 noundef %2, float noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca float, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%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 float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store float %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %18, align 4
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = mul i64 %28, 4
%30 = trunc i64 %29 to i32
%31 = call i64 @malloc(i32 noundef %30)
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %24, align 8
%33 = load ptr, ptr %12, align 8
store i32 0, ptr %33, align 4
store i32 0, ptr %17, align 4
br label %34
34: ; preds = %64, %6
%35 = load i32, ptr %17, align 4
%36 = load i32, ptr %9, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %67
38: ; preds = %34
store float 0.000000e+00, ptr %20, align 4
store i32 0, ptr %13, align 4
br label %39
39: ; preds = %55, %38
%40 = load i32, ptr %13, align 4
%41 = load i32, ptr %18, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %58
43: ; preds = %39
%44 = load ptr, ptr %7, align 8
%45 = load i32, ptr %13, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds ptr, ptr %44, i64 %46
%48 = load ptr, ptr %47, align 8
%49 = load i32, ptr %17, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds float, ptr %48, i64 %50
%52 = load float, ptr %51, align 4
%53 = load float, ptr %20, align 4
%54 = fadd float %53, %52
store float %54, ptr %20, align 4
br label %55
55: ; preds = %43
%56 = load i32, ptr %13, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %13, align 4
br label %39, !llvm.loop !6
58: ; preds = %39
%59 = load float, ptr %20, align 4
%60 = load ptr, ptr %24, align 8
%61 = load i32, ptr %17, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds float, ptr %60, i64 %62
store float %59, ptr %63, align 4
br label %64
64: ; preds = %58
%65 = load i32, ptr %17, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %17, align 4
br label %34, !llvm.loop !8
67: ; preds = %34
br label %68
68: ; preds = %388, %67
store i32 0, ptr %15, align 4
%69 = load ptr, ptr %8, align 8
%70 = getelementptr inbounds float, ptr %69, i64 0
%71 = load float, ptr %70, align 4
%72 = load ptr, ptr %8, align 8
%73 = getelementptr inbounds float, ptr %72, i64 1
%74 = load float, ptr %73, align 4
%75 = fcmp ogt float %71, %74
br i1 %75, label %76, label %77
76: ; preds = %68
store i32 1, ptr %16, align 4
br label %78
77: ; preds = %68
store i32 0, ptr %16, align 4
br label %78
78: ; preds = %77, %76
%79 = phi i32 [ 0, %76 ], [ 1, %77 ]
store i32 %79, ptr %14, align 4
store i32 0, ptr %13, align 4
br label %80
80: ; preds = %133, %78
%81 = load i32, ptr %13, align 4
%82 = load i32, ptr %18, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %84, label %136
84: ; preds = %80
%85 = load ptr, ptr %8, align 8
%86 = load i32, ptr %13, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds float, ptr %85, i64 %87
%89 = load float, ptr %88, align 4
%90 = load ptr, ptr %8, align 8
%91 = load i32, ptr %15, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds float, ptr %90, i64 %92
%94 = load float, ptr %93, align 4
%95 = fcmp ole float %89, %94
br i1 %95, label %96, label %98
96: ; preds = %84
%97 = load i32, ptr %13, align 4
store i32 %97, ptr %15, align 4
br label %98
98: ; preds = %96, %84
%99 = load ptr, ptr %8, align 8
%100 = load i32, ptr %13, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds float, ptr %99, i64 %101
%103 = load float, ptr %102, align 4
%104 = load ptr, ptr %8, align 8
%105 = load i32, ptr %14, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds float, ptr %104, i64 %106
%108 = load float, ptr %107, align 4
%109 = fcmp ogt float %103, %108
br i1 %109, label %110, label %113
110: ; preds = %98
%111 = load i32, ptr %14, align 4
store i32 %111, ptr %16, align 4
%112 = load i32, ptr %13, align 4
store i32 %112, ptr %14, align 4
br label %132
113: ; preds = %98
%114 = load ptr, ptr %8, align 8
%115 = load i32, ptr %13, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds float, ptr %114, i64 %116
%118 = load float, ptr %117, align 4
%119 = load ptr, ptr %8, align 8
%120 = load i32, ptr %16, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds float, ptr %119, i64 %121
%123 = load float, ptr %122, align 4
%124 = fcmp ogt float %118, %123
br i1 %124, label %125, label %131
125: ; preds = %113
%126 = load i32, ptr %13, align 4
%127 = load i32, ptr %14, align 4
%128 = icmp ne i32 %126, %127
br i1 %128, label %129, label %131
129: ; preds = %125
%130 = load i32, ptr %13, align 4
store i32 %130, ptr %16, align 4
br label %131
131: ; preds = %129, %125, %113
br label %132
132: ; preds = %131, %110
br label %133
133: ; preds = %132
%134 = load i32, ptr %13, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %13, align 4
br label %80, !llvm.loop !9
136: ; preds = %80
%137 = load ptr, ptr %8, align 8
%138 = load i32, ptr %14, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds float, ptr %137, i64 %139
%141 = load float, ptr %140, align 4
%142 = load ptr, ptr %8, align 8
%143 = load i32, ptr %15, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds float, ptr %142, i64 %144
%146 = load float, ptr %145, align 4
%147 = fsub float %141, %146
%148 = call double @fabs(float noundef %147)
%149 = fmul double 2.000000e+00, %148
%150 = load ptr, ptr %8, align 8
%151 = load i32, ptr %14, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds float, ptr %150, i64 %152
%154 = load float, ptr %153, align 4
%155 = call double @fabs(float noundef %154)
%156 = load ptr, ptr %8, align 8
%157 = load i32, ptr %15, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds float, ptr %156, i64 %158
%160 = load float, ptr %159, align 4
%161 = call double @fabs(float noundef %160)
%162 = fadd double %155, %161
%163 = fadd double %162, 1.000000e-10
%164 = fdiv double %149, %163
%165 = fptrunc double %164 to float
store float %165, ptr %19, align 4
%166 = load float, ptr %19, align 4
%167 = load float, ptr %10, align 4
%168 = fcmp olt float %166, %167
br i1 %168, label %173, label %169
169: ; preds = %136
%170 = load ptr, ptr %12, align 8
%171 = load i32, ptr %170, align 4
%172 = icmp sge i32 %171, 5000
br i1 %172, label %173, label %229
173: ; preds = %169, %136
%174 = load ptr, ptr %8, align 8
%175 = getelementptr inbounds float, ptr %174, i64 0
%176 = load float, ptr %175, align 4
store float %176, ptr %21, align 4
%177 = load ptr, ptr %8, align 8
%178 = load i32, ptr %15, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds float, ptr %177, i64 %179
%181 = load float, ptr %180, align 4
%182 = load ptr, ptr %8, align 8
%183 = getelementptr inbounds float, ptr %182, i64 0
store float %181, ptr %183, align 4
%184 = load float, ptr %21, align 4
%185 = load ptr, ptr %8, align 8
%186 = load i32, ptr %15, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds float, ptr %185, i64 %187
store float %184, ptr %188, align 4
store i32 0, ptr %13, align 4
br label %189
189: ; preds = %225, %173
%190 = load i32, ptr %13, align 4
%191 = load i32, ptr %9, align 4
%192 = icmp slt i32 %190, %191
br i1 %192, label %193, label %228
193: ; preds = %189
%194 = load ptr, ptr %7, align 8
%195 = getelementptr inbounds ptr, ptr %194, i64 0
%196 = load ptr, ptr %195, align 8
%197 = load i32, ptr %13, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds float, ptr %196, i64 %198
%200 = load float, ptr %199, align 4
store float %200, ptr %21, align 4
%201 = load ptr, ptr %7, align 8
%202 = load i32, ptr %15, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds ptr, ptr %201, i64 %203
%205 = load ptr, ptr %204, align 8
%206 = load i32, ptr %13, align 4
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds float, ptr %205, i64 %207
%209 = load float, ptr %208, align 4
%210 = load ptr, ptr %7, align 8
%211 = getelementptr inbounds ptr, ptr %210, i64 0
%212 = load ptr, ptr %211, align 8
%213 = load i32, ptr %13, align 4
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds float, ptr %212, i64 %214
store float %209, ptr %215, align 4
%216 = load float, ptr %21, align 4
%217 = load ptr, ptr %7, align 8
%218 = load i32, ptr %15, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds ptr, ptr %217, i64 %219
%221 = load ptr, ptr %220, align 8
%222 = load i32, ptr %13, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds float, ptr %221, i64 %223
store float %216, ptr %224, align 4
br label %225
225: ; preds = %193
%226 = load i32, ptr %13, align 4
%227 = add nsw i32 %226, 1
store i32 %227, ptr %13, align 4
br label %189, !llvm.loop !10
228: ; preds = %189
br label %389
229: ; preds = %169
%230 = load ptr, ptr %12, align 8
%231 = load i32, ptr %230, align 4
%232 = add nsw i32 %231, 2
store i32 %232, ptr %230, align 4
%233 = load ptr, ptr %7, align 8
%234 = load ptr, ptr %8, align 8
%235 = load ptr, ptr %24, align 8
%236 = load i32, ptr %9, align 4
%237 = load ptr, ptr %11, align 8
%238 = load i32, ptr %14, align 4
%239 = call float @dhtry(ptr noundef %233, ptr noundef %234, ptr noundef %235, i32 noundef %236, ptr noundef %237, i32 noundef %238, float noundef -1.000000e+00)
store float %239, ptr %23, align 4
%240 = load float, ptr %23, align 4
%241 = load ptr, ptr %8, align 8
%242 = load i32, ptr %15, align 4
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds float, ptr %241, i64 %243
%245 = load float, ptr %244, align 4
%246 = fcmp ole float %240, %245
br i1 %246, label %247, label %255
247: ; preds = %229
%248 = load ptr, ptr %7, align 8
%249 = load ptr, ptr %8, align 8
%250 = load ptr, ptr %24, align 8
%251 = load i32, ptr %9, align 4
%252 = load ptr, ptr %11, align 8
%253 = load i32, ptr %14, align 4
%254 = call float @dhtry(ptr noundef %248, ptr noundef %249, ptr noundef %250, i32 noundef %251, ptr noundef %252, i32 noundef %253, float noundef 2.000000e+00)
store float %254, ptr %23, align 4
br label %388
255: ; preds = %229
%256 = load float, ptr %23, align 4
%257 = load ptr, ptr %8, align 8
%258 = load i32, ptr %16, align 4
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds float, ptr %257, i64 %259
%261 = load float, ptr %260, align 4
%262 = fcmp oge float %256, %261
br i1 %262, label %263, label %383
263: ; preds = %255
%264 = load ptr, ptr %8, align 8
%265 = load i32, ptr %14, align 4
%266 = sext i32 %265 to i64
%267 = getelementptr inbounds float, ptr %264, i64 %266
%268 = load float, ptr %267, align 4
store float %268, ptr %22, align 4
%269 = load ptr, ptr %7, align 8
%270 = load ptr, ptr %8, align 8
%271 = load ptr, ptr %24, align 8
%272 = load i32, ptr %9, align 4
%273 = load ptr, ptr %11, align 8
%274 = load i32, ptr %14, align 4
%275 = call float @dhtry(ptr noundef %269, ptr noundef %270, ptr noundef %271, i32 noundef %272, ptr noundef %273, i32 noundef %274, float noundef 5.000000e-01)
store float %275, ptr %23, align 4
%276 = load float, ptr %23, align 4
%277 = load float, ptr %22, align 4
%278 = fcmp oge float %276, %277
br i1 %278, label %279, label %382
279: ; preds = %263
store i32 0, ptr %13, align 4
br label %280
280: ; preds = %340, %279
%281 = load i32, ptr %13, align 4
%282 = load i32, ptr %18, align 4
%283 = icmp slt i32 %281, %282
br i1 %283, label %284, label %343
284: ; preds = %280
%285 = load i32, ptr %13, align 4
%286 = load i32, ptr %15, align 4
%287 = icmp ne i32 %285, %286
br i1 %287, label %288, label %339
288: ; preds = %284
store i32 0, ptr %17, align 4
br label %289
289: ; preds = %328, %288
%290 = load i32, ptr %17, align 4
%291 = load i32, ptr %9, align 4
%292 = icmp slt i32 %290, %291
br i1 %292, label %293, label %331
293: ; preds = %289
%294 = load ptr, ptr %7, align 8
%295 = load i32, ptr %13, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds ptr, ptr %294, i64 %296
%298 = load ptr, ptr %297, align 8
%299 = load i32, ptr %17, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds float, ptr %298, i64 %300
%302 = load float, ptr %301, align 4
%303 = load ptr, ptr %7, align 8
%304 = load i32, ptr %15, align 4
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds ptr, ptr %303, i64 %305
%307 = load ptr, ptr %306, align 8
%308 = load i32, ptr %17, align 4
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds float, ptr %307, i64 %309
%311 = load float, ptr %310, align 4
%312 = fadd float %302, %311
%313 = fpext float %312 to double
%314 = fmul double 5.000000e-01, %313
%315 = fptrunc double %314 to float
%316 = load ptr, ptr %24, align 8
%317 = load i32, ptr %17, align 4
%318 = sext i32 %317 to i64
%319 = getelementptr inbounds float, ptr %316, i64 %318
store float %315, ptr %319, align 4
%320 = load ptr, ptr %7, align 8
%321 = load i32, ptr %13, align 4
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds ptr, ptr %320, i64 %322
%324 = load ptr, ptr %323, align 8
%325 = load i32, ptr %17, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds float, ptr %324, i64 %326
store float %315, ptr %327, align 4
br label %328
328: ; preds = %293
%329 = load i32, ptr %17, align 4
%330 = add nsw i32 %329, 1
store i32 %330, ptr %17, align 4
br label %289, !llvm.loop !11
331: ; preds = %289
%332 = load ptr, ptr %11, align 8
%333 = load ptr, ptr %24, align 8
%334 = call float %332(ptr noundef %333)
%335 = load ptr, ptr %8, align 8
%336 = load i32, ptr %13, align 4
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds float, ptr %335, i64 %337
store float %334, ptr %338, align 4
br label %339
339: ; preds = %331, %284
br label %340
340: ; preds = %339
%341 = load i32, ptr %13, align 4
%342 = add nsw i32 %341, 1
store i32 %342, ptr %13, align 4
br label %280, !llvm.loop !12
343: ; preds = %280
%344 = load i32, ptr %9, align 4
%345 = load ptr, ptr %12, align 8
%346 = load i32, ptr %345, align 4
%347 = add nsw i32 %346, %344
store i32 %347, ptr %345, align 4
store i32 0, ptr %17, align 4
br label %348
348: ; preds = %378, %343
%349 = load i32, ptr %17, align 4
%350 = load i32, ptr %9, align 4
%351 = icmp slt i32 %349, %350
br i1 %351, label %352, label %381
352: ; preds = %348
store float 0.000000e+00, ptr %20, align 4
store i32 0, ptr %13, align 4
br label %353
353: ; preds = %369, %352
%354 = load i32, ptr %13, align 4
%355 = load i32, ptr %18, align 4
%356 = icmp slt i32 %354, %355
br i1 %356, label %357, label %372
357: ; preds = %353
%358 = load ptr, ptr %7, align 8
%359 = load i32, ptr %13, align 4
%360 = sext i32 %359 to i64
%361 = getelementptr inbounds ptr, ptr %358, i64 %360
%362 = load ptr, ptr %361, align 8
%363 = load i32, ptr %17, align 4
%364 = sext i32 %363 to i64
%365 = getelementptr inbounds float, ptr %362, i64 %364
%366 = load float, ptr %365, align 4
%367 = load float, ptr %20, align 4
%368 = fadd float %367, %366
store float %368, ptr %20, align 4
br label %369
369: ; preds = %357
%370 = load i32, ptr %13, align 4
%371 = add nsw i32 %370, 1
store i32 %371, ptr %13, align 4
br label %353, !llvm.loop !13
372: ; preds = %353
%373 = load float, ptr %20, align 4
%374 = load ptr, ptr %24, align 8
%375 = load i32, ptr %17, align 4
%376 = sext i32 %375 to i64
%377 = getelementptr inbounds float, ptr %374, i64 %376
store float %373, ptr %377, align 4
br label %378
378: ; preds = %372
%379 = load i32, ptr %17, align 4
%380 = add nsw i32 %379, 1
store i32 %380, ptr %17, align 4
br label %348, !llvm.loop !14
381: ; preds = %348
br label %382
382: ; preds = %381, %263
br label %387
383: ; preds = %255
%384 = load ptr, ptr %12, align 8
%385 = load i32, ptr %384, align 4
%386 = add nsw i32 %385, -1
store i32 %386, ptr %384, align 4
br label %387
387: ; preds = %383, %382
br label %388
388: ; preds = %387, %247
br label %68
389: ; preds = %228
%390 = load ptr, ptr %24, align 8
%391 = call i32 @free(ptr noundef %390)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare double @fabs(float noundef) #1
declare float @dhtry(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd5qcb4tm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dhill(ptr noundef %0, ptr noundef %1, i32 noundef %2, float noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca float, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%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 float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store float %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %18, align 4
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = mul i64 %28, 4
%30 = trunc i64 %29 to i32
%31 = call i64 @malloc(i32 noundef %30)
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %24, align 8
%33 = load ptr, ptr %12, align 8
store i32 0, ptr %33, align 4
store i32 0, ptr %17, align 4
%34 = load i32, ptr %17, align 4
%35 = load i32, ptr %9, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %.lr.ph2, label %71
.lr.ph2: ; preds = %6
br label %37
37: ; preds = %.lr.ph2, %65
store float 0.000000e+00, ptr %20, align 4
store i32 0, ptr %13, align 4
%38 = load i32, ptr %13, align 4
%39 = load i32, ptr %18, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %.lr.ph, label %59
.lr.ph: ; preds = %37
br label %41
41: ; preds = %.lr.ph, %53
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %13, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = load i32, ptr %17, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds float, ptr %46, i64 %48
%50 = load float, ptr %49, align 4
%51 = load float, ptr %20, align 4
%52 = fadd float %51, %50
store float %52, ptr %20, align 4
br label %53
53: ; preds = %41
%54 = load i32, ptr %13, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %13, align 4
%56 = load i32, ptr %13, align 4
%57 = load i32, ptr %18, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %41, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %59
59: ; preds = %._crit_edge, %37
%60 = load float, ptr %20, align 4
%61 = load ptr, ptr %24, align 8
%62 = load i32, ptr %17, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds float, ptr %61, i64 %63
store float %60, ptr %64, align 4
br label %65
65: ; preds = %59
%66 = load i32, ptr %17, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %17, align 4
%68 = load i32, ptr %17, align 4
%69 = load i32, ptr %9, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %65
br label %71
71: ; preds = %._crit_edge3, %6
br label %72
72: ; preds = %404, %71
store i32 0, ptr %15, align 4
%73 = load ptr, ptr %8, align 8
%74 = getelementptr inbounds float, ptr %73, i64 0
%75 = load float, ptr %74, align 4
%76 = load ptr, ptr %8, align 8
%77 = getelementptr inbounds float, ptr %76, i64 1
%78 = load float, ptr %77, align 4
%79 = fcmp ogt float %75, %78
br i1 %79, label %80, label %81
80: ; preds = %72
store i32 1, ptr %16, align 4
br label %82
81: ; preds = %72
store i32 0, ptr %16, align 4
br label %82
82: ; preds = %81, %80
%83 = phi i32 [ 0, %80 ], [ 1, %81 ]
store i32 %83, ptr %14, align 4
store i32 0, ptr %13, align 4
%84 = load i32, ptr %13, align 4
%85 = load i32, ptr %18, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %.lr.ph5, label %142
.lr.ph5: ; preds = %82
br label %87
87: ; preds = %.lr.ph5, %136
%88 = load ptr, ptr %8, align 8
%89 = load i32, ptr %13, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds float, ptr %88, i64 %90
%92 = load float, ptr %91, align 4
%93 = load ptr, ptr %8, align 8
%94 = load i32, ptr %15, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds float, ptr %93, i64 %95
%97 = load float, ptr %96, align 4
%98 = fcmp ole float %92, %97
br i1 %98, label %99, label %101
99: ; preds = %87
%100 = load i32, ptr %13, align 4
store i32 %100, ptr %15, align 4
br label %101
101: ; preds = %99, %87
%102 = load ptr, ptr %8, align 8
%103 = load i32, ptr %13, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds float, ptr %102, i64 %104
%106 = load float, ptr %105, align 4
%107 = load ptr, ptr %8, align 8
%108 = load i32, ptr %14, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds float, ptr %107, i64 %109
%111 = load float, ptr %110, align 4
%112 = fcmp ogt float %106, %111
br i1 %112, label %113, label %116
113: ; preds = %101
%114 = load i32, ptr %14, align 4
store i32 %114, ptr %16, align 4
%115 = load i32, ptr %13, align 4
store i32 %115, ptr %14, align 4
br label %135
116: ; preds = %101
%117 = load ptr, ptr %8, align 8
%118 = load i32, ptr %13, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds float, ptr %117, i64 %119
%121 = load float, ptr %120, align 4
%122 = load ptr, ptr %8, align 8
%123 = load i32, ptr %16, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds float, ptr %122, i64 %124
%126 = load float, ptr %125, align 4
%127 = fcmp ogt float %121, %126
br i1 %127, label %128, label %134
128: ; preds = %116
%129 = load i32, ptr %13, align 4
%130 = load i32, ptr %14, align 4
%131 = icmp ne i32 %129, %130
br i1 %131, label %132, label %134
132: ; preds = %128
%133 = load i32, ptr %13, align 4
store i32 %133, ptr %16, align 4
br label %134
134: ; preds = %132, %128, %116
br label %135
135: ; preds = %134, %113
br label %136
136: ; preds = %135
%137 = load i32, ptr %13, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %13, align 4
%139 = load i32, ptr %13, align 4
%140 = load i32, ptr %18, align 4
%141 = icmp slt i32 %139, %140
br i1 %141, label %87, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %136
br label %142
142: ; preds = %._crit_edge6, %82
%143 = load ptr, ptr %8, align 8
%144 = load i32, ptr %14, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds float, ptr %143, i64 %145
%147 = load float, ptr %146, align 4
%148 = load ptr, ptr %8, align 8
%149 = load i32, ptr %15, align 4
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds float, ptr %148, i64 %150
%152 = load float, ptr %151, align 4
%153 = fsub float %147, %152
%154 = call double @fabs(float noundef %153)
%155 = fmul double 2.000000e+00, %154
%156 = load ptr, ptr %8, align 8
%157 = load i32, ptr %14, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds float, ptr %156, i64 %158
%160 = load float, ptr %159, align 4
%161 = call double @fabs(float noundef %160)
%162 = load ptr, ptr %8, align 8
%163 = load i32, ptr %15, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds float, ptr %162, i64 %164
%166 = load float, ptr %165, align 4
%167 = call double @fabs(float noundef %166)
%168 = fadd double %161, %167
%169 = fadd double %168, 1.000000e-10
%170 = fdiv double %155, %169
%171 = fptrunc double %170 to float
store float %171, ptr %19, align 4
%172 = load float, ptr %19, align 4
%173 = load float, ptr %10, align 4
%174 = fcmp olt float %172, %173
br i1 %174, label %179, label %175
175: ; preds = %142
%176 = load ptr, ptr %12, align 8
%177 = load i32, ptr %176, align 4
%178 = icmp sge i32 %177, 5000
br i1 %178, label %179, label %237
179: ; preds = %175, %142
%180 = load ptr, ptr %8, align 8
%181 = getelementptr inbounds float, ptr %180, i64 0
%182 = load float, ptr %181, align 4
store float %182, ptr %21, align 4
%183 = load ptr, ptr %8, align 8
%184 = load i32, ptr %15, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds float, ptr %183, i64 %185
%187 = load float, ptr %186, align 4
%188 = load ptr, ptr %8, align 8
%189 = getelementptr inbounds float, ptr %188, i64 0
store float %187, ptr %189, align 4
%190 = load float, ptr %21, align 4
%191 = load ptr, ptr %8, align 8
%192 = load i32, ptr %15, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds float, ptr %191, i64 %193
store float %190, ptr %194, align 4
store i32 0, ptr %13, align 4
%195 = load i32, ptr %13, align 4
%196 = load i32, ptr %9, align 4
%197 = icmp slt i32 %195, %196
br i1 %197, label %.lr.ph20, label %236
.lr.ph20: ; preds = %179
br label %198
198: ; preds = %.lr.ph20, %230
%199 = load ptr, ptr %7, align 8
%200 = getelementptr inbounds ptr, ptr %199, i64 0
%201 = load ptr, ptr %200, align 8
%202 = load i32, ptr %13, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds float, ptr %201, i64 %203
%205 = load float, ptr %204, align 4
store float %205, ptr %21, align 4
%206 = load ptr, ptr %7, align 8
%207 = load i32, ptr %15, align 4
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds ptr, ptr %206, i64 %208
%210 = load ptr, ptr %209, align 8
%211 = load i32, ptr %13, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds float, ptr %210, i64 %212
%214 = load float, ptr %213, align 4
%215 = load ptr, ptr %7, align 8
%216 = getelementptr inbounds ptr, ptr %215, i64 0
%217 = load ptr, ptr %216, align 8
%218 = load i32, ptr %13, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds float, ptr %217, i64 %219
store float %214, ptr %220, align 4
%221 = load float, ptr %21, align 4
%222 = load ptr, ptr %7, align 8
%223 = load i32, ptr %15, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds ptr, ptr %222, i64 %224
%226 = load ptr, ptr %225, align 8
%227 = load i32, ptr %13, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds float, ptr %226, i64 %228
store float %221, ptr %229, align 4
br label %230
230: ; preds = %198
%231 = load i32, ptr %13, align 4
%232 = add nsw i32 %231, 1
store i32 %232, ptr %13, align 4
%233 = load i32, ptr %13, align 4
%234 = load i32, ptr %9, align 4
%235 = icmp slt i32 %233, %234
br i1 %235, label %198, label %._crit_edge21, !llvm.loop !10
._crit_edge21: ; preds = %230
br label %236
236: ; preds = %._crit_edge21, %179
br label %405
237: ; preds = %175
%238 = load ptr, ptr %12, align 8
%239 = load i32, ptr %238, align 4
%240 = add nsw i32 %239, 2
store i32 %240, ptr %238, align 4
%241 = load ptr, ptr %7, align 8
%242 = load ptr, ptr %8, align 8
%243 = load ptr, ptr %24, align 8
%244 = load i32, ptr %9, align 4
%245 = load ptr, ptr %11, align 8
%246 = load i32, ptr %14, align 4
%247 = call float @dhtry(ptr noundef %241, ptr noundef %242, ptr noundef %243, i32 noundef %244, ptr noundef %245, i32 noundef %246, float noundef -1.000000e+00)
store float %247, ptr %23, align 4
%248 = load float, ptr %23, align 4
%249 = load ptr, ptr %8, align 8
%250 = load i32, ptr %15, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds float, ptr %249, i64 %251
%253 = load float, ptr %252, align 4
%254 = fcmp ole float %248, %253
br i1 %254, label %255, label %263
255: ; preds = %237
%256 = load ptr, ptr %7, align 8
%257 = load ptr, ptr %8, align 8
%258 = load ptr, ptr %24, align 8
%259 = load i32, ptr %9, align 4
%260 = load ptr, ptr %11, align 8
%261 = load i32, ptr %14, align 4
%262 = call float @dhtry(ptr noundef %256, ptr noundef %257, ptr noundef %258, i32 noundef %259, ptr noundef %260, i32 noundef %261, float noundef 2.000000e+00)
store float %262, ptr %23, align 4
br label %404
263: ; preds = %237
%264 = load float, ptr %23, align 4
%265 = load ptr, ptr %8, align 8
%266 = load i32, ptr %16, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds float, ptr %265, i64 %267
%269 = load float, ptr %268, align 4
%270 = fcmp oge float %264, %269
br i1 %270, label %271, label %399
271: ; preds = %263
%272 = load ptr, ptr %8, align 8
%273 = load i32, ptr %14, align 4
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds float, ptr %272, i64 %274
%276 = load float, ptr %275, align 4
store float %276, ptr %22, align 4
%277 = load ptr, ptr %7, align 8
%278 = load ptr, ptr %8, align 8
%279 = load ptr, ptr %24, align 8
%280 = load i32, ptr %9, align 4
%281 = load ptr, ptr %11, align 8
%282 = load i32, ptr %14, align 4
%283 = call float @dhtry(ptr noundef %277, ptr noundef %278, ptr noundef %279, i32 noundef %280, ptr noundef %281, i32 noundef %282, float noundef 5.000000e-01)
store float %283, ptr %23, align 4
%284 = load float, ptr %23, align 4
%285 = load float, ptr %22, align 4
%286 = fcmp oge float %284, %285
br i1 %286, label %287, label %398
287: ; preds = %271
store i32 0, ptr %13, align 4
%288 = load i32, ptr %13, align 4
%289 = load i32, ptr %18, align 4
%290 = icmp slt i32 %288, %289
br i1 %290, label %.lr.ph11, label %355
.lr.ph11: ; preds = %287
br label %291
291: ; preds = %.lr.ph11, %349
%292 = load i32, ptr %13, align 4
%293 = load i32, ptr %15, align 4
%294 = icmp ne i32 %292, %293
br i1 %294, label %295, label %348
295: ; preds = %291
store i32 0, ptr %17, align 4
%296 = load i32, ptr %17, align 4
%297 = load i32, ptr %9, align 4
%298 = icmp slt i32 %296, %297
br i1 %298, label %.lr.ph8, label %340
.lr.ph8: ; preds = %295
br label %299
299: ; preds = %.lr.ph8, %334
%300 = load ptr, ptr %7, align 8
%301 = load i32, ptr %13, align 4
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds ptr, ptr %300, i64 %302
%304 = load ptr, ptr %303, align 8
%305 = load i32, ptr %17, align 4
%306 = sext i32 %305 to i64
%307 = getelementptr inbounds float, ptr %304, i64 %306
%308 = load float, ptr %307, align 4
%309 = load ptr, ptr %7, align 8
%310 = load i32, ptr %15, align 4
%311 = sext i32 %310 to i64
%312 = getelementptr inbounds ptr, ptr %309, i64 %311
%313 = load ptr, ptr %312, align 8
%314 = load i32, ptr %17, align 4
%315 = sext i32 %314 to i64
%316 = getelementptr inbounds float, ptr %313, i64 %315
%317 = load float, ptr %316, align 4
%318 = fadd float %308, %317
%319 = fpext float %318 to double
%320 = fmul double 5.000000e-01, %319
%321 = fptrunc double %320 to float
%322 = load ptr, ptr %24, align 8
%323 = load i32, ptr %17, align 4
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds float, ptr %322, i64 %324
store float %321, ptr %325, align 4
%326 = load ptr, ptr %7, align 8
%327 = load i32, ptr %13, align 4
%328 = sext i32 %327 to i64
%329 = getelementptr inbounds ptr, ptr %326, i64 %328
%330 = load ptr, ptr %329, align 8
%331 = load i32, ptr %17, align 4
%332 = sext i32 %331 to i64
%333 = getelementptr inbounds float, ptr %330, i64 %332
store float %321, ptr %333, align 4
br label %334
334: ; preds = %299
%335 = load i32, ptr %17, align 4
%336 = add nsw i32 %335, 1
store i32 %336, ptr %17, align 4
%337 = load i32, ptr %17, align 4
%338 = load i32, ptr %9, align 4
%339 = icmp slt i32 %337, %338
br i1 %339, label %299, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %334
br label %340
340: ; preds = %._crit_edge9, %295
%341 = load ptr, ptr %11, align 8
%342 = load ptr, ptr %24, align 8
%343 = call float %341(ptr noundef %342)
%344 = load ptr, ptr %8, align 8
%345 = load i32, ptr %13, align 4
%346 = sext i32 %345 to i64
%347 = getelementptr inbounds float, ptr %344, i64 %346
store float %343, ptr %347, align 4
br label %348
348: ; preds = %340, %291
br label %349
349: ; preds = %348
%350 = load i32, ptr %13, align 4
%351 = add nsw i32 %350, 1
store i32 %351, ptr %13, align 4
%352 = load i32, ptr %13, align 4
%353 = load i32, ptr %18, align 4
%354 = icmp slt i32 %352, %353
br i1 %354, label %291, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %349
br label %355
355: ; preds = %._crit_edge12, %287
%356 = load i32, ptr %9, align 4
%357 = load ptr, ptr %12, align 8
%358 = load i32, ptr %357, align 4
%359 = add nsw i32 %358, %356
store i32 %359, ptr %357, align 4
store i32 0, ptr %17, align 4
%360 = load i32, ptr %17, align 4
%361 = load i32, ptr %9, align 4
%362 = icmp slt i32 %360, %361
br i1 %362, label %.lr.ph17, label %397
.lr.ph17: ; preds = %355
br label %363
363: ; preds = %.lr.ph17, %391
store float 0.000000e+00, ptr %20, align 4
store i32 0, ptr %13, align 4
%364 = load i32, ptr %13, align 4
%365 = load i32, ptr %18, align 4
%366 = icmp slt i32 %364, %365
br i1 %366, label %.lr.ph14, label %385
.lr.ph14: ; preds = %363
br label %367
367: ; preds = %.lr.ph14, %379
%368 = load ptr, ptr %7, align 8
%369 = load i32, ptr %13, align 4
%370 = sext i32 %369 to i64
%371 = getelementptr inbounds ptr, ptr %368, i64 %370
%372 = load ptr, ptr %371, align 8
%373 = load i32, ptr %17, align 4
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds float, ptr %372, i64 %374
%376 = load float, ptr %375, align 4
%377 = load float, ptr %20, align 4
%378 = fadd float %377, %376
store float %378, ptr %20, align 4
br label %379
379: ; preds = %367
%380 = load i32, ptr %13, align 4
%381 = add nsw i32 %380, 1
store i32 %381, ptr %13, align 4
%382 = load i32, ptr %13, align 4
%383 = load i32, ptr %18, align 4
%384 = icmp slt i32 %382, %383
br i1 %384, label %367, label %._crit_edge15, !llvm.loop !13
._crit_edge15: ; preds = %379
br label %385
385: ; preds = %._crit_edge15, %363
%386 = load float, ptr %20, align 4
%387 = load ptr, ptr %24, align 8
%388 = load i32, ptr %17, align 4
%389 = sext i32 %388 to i64
%390 = getelementptr inbounds float, ptr %387, i64 %389
store float %386, ptr %390, align 4
br label %391
391: ; preds = %385
%392 = load i32, ptr %17, align 4
%393 = add nsw i32 %392, 1
store i32 %393, ptr %17, align 4
%394 = load i32, ptr %17, align 4
%395 = load i32, ptr %9, align 4
%396 = icmp slt i32 %394, %395
br i1 %396, label %363, label %._crit_edge18, !llvm.loop !14
._crit_edge18: ; preds = %391
br label %397
397: ; preds = %._crit_edge18, %355
br label %398
398: ; preds = %397, %271
br label %403
399: ; preds = %263
%400 = load ptr, ptr %12, align 8
%401 = load i32, ptr %400, align 4
%402 = add nsw i32 %401, -1
store i32 %402, ptr %400, align 4
br label %403
403: ; preds = %399, %398
br label %404
404: ; preds = %403, %255
br label %72
405: ; preds = %236
%406 = load ptr, ptr %24, align 8
%407 = call i32 @free(ptr noundef %406)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare double @fabs(float noundef) #1
declare float @dhtry(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '/tmp/tmp8edogk0u.c'
source_filename = "/tmp/tmp8edogk0u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Compile time support:\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"\09- AppArmor support is %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"disabled\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"\09- AppImage support is %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"\09- chroot support is %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [50 x i8] c"\09- file and directory whitelisting support is %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [32 x i8] c"\09- file transfer support is %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"\09- firetunnel support is %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [29 x i8] c"\09- networking support is %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"\09- overlayfs support is %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [31 x i8] c"\09- private-home support is %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [30 x i8] c"\09- seccomp-bpf support is %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [26 x i8] c"\09- SELinux support is %s\0A\00", align 1
@.str.13 = private unnamed_addr constant [33 x i8] c"\09- user namespace support is %s\0A\00", align 1
@.str.14 = private unnamed_addr constant [33 x i8] c"\09- X11 sandboxing support is %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_compiletime_support() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.2)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.2)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.2)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef @.str.2)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.2)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef @.str.2)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8edogk0u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Compile time support:\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"\09- AppArmor support is %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"disabled\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"\09- AppImage support is %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"\09- chroot support is %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [50 x i8] c"\09- file and directory whitelisting support is %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [32 x i8] c"\09- file transfer support is %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"\09- firetunnel support is %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [29 x i8] c"\09- networking support is %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"\09- overlayfs support is %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [31 x i8] c"\09- private-home support is %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [30 x i8] c"\09- seccomp-bpf support is %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [26 x i8] c"\09- SELinux support is %s\0A\00", align 1
@.str.13 = private unnamed_addr constant [33 x i8] c"\09- user namespace support is %s\0A\00", align 1
@.str.14 = private unnamed_addr constant [33 x i8] c"\09- X11 sandboxing support is %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_compiletime_support() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.2)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.2)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.2)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.2)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef @.str.2)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.2)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef @.str.2)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8l4eion5.c'
source_filename = "/tmp/tmp8l4eion5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pipe_unix_exit() #0 {
%1 = call i32 (...) @msgbuf_exit()
ret void
}
declare i32 @msgbuf_exit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8l4eion5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pipe_unix_exit() #0 {
%1 = call i32 (...) @msgbuf_exit()
ret void
}
declare i32 @msgbuf_exit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsts9chr2.c'
source_filename = "/tmp/tmpsts9chr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @gall_rand_sym(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
store i64 %0, ptr %6, align 8
store i64 %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
store i64 0, ptr %15, align 8
%16 = load ptr, ptr %8, align 8
%17 = load i64, ptr %6, align 8
%18 = add i64 %17, 1
%19 = mul i64 %18, 8
%20 = call i32 @memset(ptr noundef %16, i32 noundef 0, i64 noundef %19)
%21 = load ptr, ptr %10, align 8
%22 = load i64, ptr %6, align 8
%23 = mul i64 %22, 8
%24 = call i32 @memset(ptr noundef %21, i32 noundef 0, i64 noundef %23)
store i64 0, ptr %14, align 8
br label %25
25: ; preds = %69, %5
%26 = load i64, ptr %14, align 8
%27 = load i64, ptr %7, align 8
%28 = icmp ult i64 %26, %27
br i1 %28, label %29, label %72
29: ; preds = %25
br label %30
30: ; preds = %54, %29
%31 = call i32 (...) @rand()
%32 = load i64, ptr %6, align 8
%33 = sub i64 %32, 1
%34 = add i64 %33, 1
%35 = trunc i64 %34 to i32
%36 = srem i32 %31, %35
%37 = sext i32 %36 to i64
store i64 %37, ptr %11, align 8
%38 = call i32 (...) @rand()
%39 = load i64, ptr %6, align 8
%40 = add i64 %39, 1
%41 = trunc i64 %40 to i32
%42 = srem i32 %38, %41
%43 = sext i32 %42 to i64
store i64 %43, ptr %12, align 8
%44 = load i64, ptr %11, align 8
%45 = load i64, ptr %12, align 8
%46 = icmp ult i64 %44, %45
br i1 %46, label %47, label %49
47: ; preds = %30
%48 = load i64, ptr %11, align 8
br label %51
49: ; preds = %30
%50 = load i64, ptr %12, align 8
br label %51
51: ; preds = %49, %47
%52 = phi i64 [ %48, %47 ], [ %50, %49 ]
%53 = add i64 1, %52
store i64 %53, ptr %13, align 8
br label %54
54: ; preds = %51
%55 = load ptr, ptr %8, align 8
%56 = load i64, ptr %13, align 8
%57 = getelementptr inbounds i64, ptr %55, i64 %56
%58 = load i64, ptr %57, align 8
%59 = load i64, ptr %6, align 8
%60 = load i64, ptr %13, align 8
%61 = sub i64 %59, %60
%62 = icmp eq i64 %58, %61
br i1 %62, label %30, label %63, !llvm.loop !6
63: ; preds = %54
%64 = load ptr, ptr %8, align 8
%65 = load i64, ptr %13, align 8
%66 = getelementptr inbounds i64, ptr %64, i64 %65
%67 = load i64, ptr %66, align 8
%68 = add i64 %67, 1
store i64 %68, ptr %66, align 8
br label %69
69: ; preds = %63
%70 = load i64, ptr %14, align 8
%71 = add i64 %70, 1
store i64 %71, ptr %14, align 8
br label %25, !llvm.loop !8
72: ; preds = %25
store i64 0, ptr %12, align 8
store i64 0, ptr %11, align 8
br label %73
73: ; preds = %127, %72
%74 = load i64, ptr %11, align 8
%75 = load i64, ptr %6, align 8
%76 = icmp ult i64 %74, %75
br i1 %76, label %77, label %130
77: ; preds = %73
%78 = load i64, ptr %12, align 8
%79 = load ptr, ptr %8, align 8
%80 = load i64, ptr %11, align 8
%81 = add i64 %80, 1
%82 = getelementptr inbounds i64, ptr %79, i64 %81
%83 = load i64, ptr %82, align 8
%84 = add i64 %83, %78
store i64 %84, ptr %82, align 8
%85 = load i64, ptr %15, align 8
%86 = add i64 %85, 1
store i64 %86, ptr %15, align 8
br label %87
87: ; preds = %113, %77
%88 = load i64, ptr %12, align 8
%89 = load ptr, ptr %8, align 8
%90 = load i64, ptr %11, align 8
%91 = add i64 %90, 1
%92 = getelementptr inbounds i64, ptr %89, i64 %91
%93 = load i64, ptr %92, align 8
%94 = icmp ult i64 %88, %93
br i1 %94, label %95, label %126
95: ; preds = %87
br label %96
96: ; preds = %106, %95
%97 = call i32 (...) @rand()
%98 = load i64, ptr %6, align 8
%99 = load i64, ptr %11, align 8
%100 = sub i64 %98, %99
%101 = sub i64 %100, 1
%102 = add i64 %101, 1
%103 = trunc i64 %102 to i32
%104 = srem i32 %97, %103
%105 = sext i32 %104 to i64
store i64 %105, ptr %13, align 8
br label %106
106: ; preds = %96
%107 = load ptr, ptr %10, align 8
%108 = load i64, ptr %13, align 8
%109 = getelementptr inbounds i64, ptr %107, i64 %108
%110 = load i64, ptr %109, align 8
%111 = load i64, ptr %15, align 8
%112 = icmp eq i64 %110, %111
br i1 %112, label %96, label %113, !llvm.loop !9
113: ; preds = %106
%114 = load i64, ptr %15, align 8
%115 = load ptr, ptr %10, align 8
%116 = load i64, ptr %13, align 8
%117 = getelementptr inbounds i64, ptr %115, i64 %116
store i64 %114, ptr %117, align 8
%118 = load i64, ptr %13, align 8
%119 = load i64, ptr %11, align 8
%120 = add i64 %118, %119
%121 = add i64 %120, 1
%122 = load ptr, ptr %9, align 8
%123 = load i64, ptr %12, align 8
%124 = add i64 %123, 1
store i64 %124, ptr %12, align 8
%125 = getelementptr inbounds i64, ptr %122, i64 %123
store i64 %121, ptr %125, align 8
br label %87, !llvm.loop !10
126: ; preds = %87
br label %127
127: ; preds = %126
%128 = load i64, ptr %11, align 8
%129 = add i64 %128, 1
store i64 %129, ptr %11, align 8
br label %73, !llvm.loop !11
130: ; preds = %73
%131 = load i64, ptr %15, align 8
ret i64 %131
}
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsts9chr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @gall_rand_sym(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
store i64 %0, ptr %6, align 8
store i64 %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
store i64 0, ptr %15, align 8
%16 = load ptr, ptr %8, align 8
%17 = load i64, ptr %6, align 8
%18 = add i64 %17, 1
%19 = mul i64 %18, 8
%20 = call i32 @memset(ptr noundef %16, i32 noundef 0, i64 noundef %19)
%21 = load ptr, ptr %10, align 8
%22 = load i64, ptr %6, align 8
%23 = mul i64 %22, 8
%24 = call i32 @memset(ptr noundef %21, i32 noundef 0, i64 noundef %23)
store i64 0, ptr %14, align 8
%25 = load i64, ptr %14, align 8
%26 = load i64, ptr %7, align 8
%27 = icmp ult i64 %25, %26
br i1 %27, label %.lr.ph, label %74
.lr.ph: ; preds = %5
br label %28
28: ; preds = %.lr.ph, %68
br label %29
29: ; preds = %53, %28
%30 = call i32 (...) @rand()
%31 = load i64, ptr %6, align 8
%32 = sub i64 %31, 1
%33 = add i64 %32, 1
%34 = trunc i64 %33 to i32
%35 = srem i32 %30, %34
%36 = sext i32 %35 to i64
store i64 %36, ptr %11, align 8
%37 = call i32 (...) @rand()
%38 = load i64, ptr %6, align 8
%39 = add i64 %38, 1
%40 = trunc i64 %39 to i32
%41 = srem i32 %37, %40
%42 = sext i32 %41 to i64
store i64 %42, ptr %12, align 8
%43 = load i64, ptr %11, align 8
%44 = load i64, ptr %12, align 8
%45 = icmp ult i64 %43, %44
br i1 %45, label %46, label %48
46: ; preds = %29
%47 = load i64, ptr %11, align 8
br label %50
48: ; preds = %29
%49 = load i64, ptr %12, align 8
br label %50
50: ; preds = %48, %46
%51 = phi i64 [ %47, %46 ], [ %49, %48 ]
%52 = add i64 1, %51
store i64 %52, ptr %13, align 8
br label %53
53: ; preds = %50
%54 = load ptr, ptr %8, align 8
%55 = load i64, ptr %13, align 8
%56 = getelementptr inbounds i64, ptr %54, i64 %55
%57 = load i64, ptr %56, align 8
%58 = load i64, ptr %6, align 8
%59 = load i64, ptr %13, align 8
%60 = sub i64 %58, %59
%61 = icmp eq i64 %57, %60
br i1 %61, label %29, label %62, !llvm.loop !6
62: ; preds = %53
%63 = load ptr, ptr %8, align 8
%64 = load i64, ptr %13, align 8
%65 = getelementptr inbounds i64, ptr %63, i64 %64
%66 = load i64, ptr %65, align 8
%67 = add i64 %66, 1
store i64 %67, ptr %65, align 8
br label %68
68: ; preds = %62
%69 = load i64, ptr %14, align 8
%70 = add i64 %69, 1
store i64 %70, ptr %14, align 8
%71 = load i64, ptr %14, align 8
%72 = load i64, ptr %7, align 8
%73 = icmp ult i64 %71, %72
br i1 %73, label %28, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %68
br label %74
74: ; preds = %._crit_edge, %5
store i64 0, ptr %12, align 8
store i64 0, ptr %11, align 8
%75 = load i64, ptr %11, align 8
%76 = load i64, ptr %6, align 8
%77 = icmp ult i64 %75, %76
br i1 %77, label %.lr.ph5, label %140
.lr.ph5: ; preds = %74
br label %78
78: ; preds = %.lr.ph5, %134
%79 = load i64, ptr %12, align 8
%80 = load ptr, ptr %8, align 8
%81 = load i64, ptr %11, align 8
%82 = add i64 %81, 1
%83 = getelementptr inbounds i64, ptr %80, i64 %82
%84 = load i64, ptr %83, align 8
%85 = add i64 %84, %79
store i64 %85, ptr %83, align 8
%86 = load i64, ptr %15, align 8
%87 = add i64 %86, 1
store i64 %87, ptr %15, align 8
%88 = load i64, ptr %12, align 8
%89 = load ptr, ptr %8, align 8
%90 = load i64, ptr %11, align 8
%91 = add i64 %90, 1
%92 = getelementptr inbounds i64, ptr %89, i64 %91
%93 = load i64, ptr %92, align 8
%94 = icmp ult i64 %88, %93
br i1 %94, label %.lr.ph2, label %133
.lr.ph2: ; preds = %78
br label %95
95: ; preds = %.lr.ph2, %113
br label %96
96: ; preds = %106, %95
%97 = call i32 (...) @rand()
%98 = load i64, ptr %6, align 8
%99 = load i64, ptr %11, align 8
%100 = sub i64 %98, %99
%101 = sub i64 %100, 1
%102 = add i64 %101, 1
%103 = trunc i64 %102 to i32
%104 = srem i32 %97, %103
%105 = sext i32 %104 to i64
store i64 %105, ptr %13, align 8
br label %106
106: ; preds = %96
%107 = load ptr, ptr %10, align 8
%108 = load i64, ptr %13, align 8
%109 = getelementptr inbounds i64, ptr %107, i64 %108
%110 = load i64, ptr %109, align 8
%111 = load i64, ptr %15, align 8
%112 = icmp eq i64 %110, %111
br i1 %112, label %96, label %113, !llvm.loop !9
113: ; preds = %106
%114 = load i64, ptr %15, align 8
%115 = load ptr, ptr %10, align 8
%116 = load i64, ptr %13, align 8
%117 = getelementptr inbounds i64, ptr %115, i64 %116
store i64 %114, ptr %117, align 8
%118 = load i64, ptr %13, align 8
%119 = load i64, ptr %11, align 8
%120 = add i64 %118, %119
%121 = add i64 %120, 1
%122 = load ptr, ptr %9, align 8
%123 = load i64, ptr %12, align 8
%124 = add i64 %123, 1
store i64 %124, ptr %12, align 8
%125 = getelementptr inbounds i64, ptr %122, i64 %123
store i64 %121, ptr %125, align 8
%126 = load i64, ptr %12, align 8
%127 = load ptr, ptr %8, align 8
%128 = load i64, ptr %11, align 8
%129 = add i64 %128, 1
%130 = getelementptr inbounds i64, ptr %127, i64 %129
%131 = load i64, ptr %130, align 8
%132 = icmp ult i64 %126, %131
br i1 %132, label %95, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %113
br label %133
133: ; preds = %._crit_edge3, %78
br label %134
134: ; preds = %133
%135 = load i64, ptr %11, align 8
%136 = add i64 %135, 1
store i64 %136, ptr %11, align 8
%137 = load i64, ptr %11, align 8
%138 = load i64, ptr %6, align 8
%139 = icmp ult i64 %137, %138
br i1 %139, label %78, label %._crit_edge6, !llvm.loop !11
._crit_edge6: ; preds = %134
br label %140
140: ; preds = %._crit_edge6, %74
%141 = load i64, ptr %15, align 8
ret i64 %141
}
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp1hi1zfoz.c'
source_filename = "/tmp/tmp1hi1zfoz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_ischar(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 i64 @ft_isalnum(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 36
br label %9
9: ; preds = %6, %1
%10 = phi i1 [ true, %1 ], [ %8, %6 ]
%11 = zext i1 %10 to i32
ret i32 %11
}
declare i64 @ft_isalnum(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1hi1zfoz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_ischar(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 i64 @ft_isalnum(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 36
br label %9
9: ; preds = %6, %1
%10 = phi i1 [ true, %1 ], [ %8, %6 ]
%11 = zext i1 %10 to i32
ret i32 %11
}
declare i64 @ft_isalnum(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp85odm6s0.c'
source_filename = "/tmp/tmp85odm6s0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @JacobiSeqLoop(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca double, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store double %4, ptr %13, align 8
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store ptr %7, ptr %16, align 8
%21 = load double, ptr %13, align 8
store double %21, ptr %20, align 8
br label %22
22: ; preds = %149, %8
%23 = load double, ptr %13, align 8
%24 = load double, ptr %20, align 8
%25 = fcmp ole double %23, %24
br i1 %25, label %26, label %31
26: ; preds = %22
%27 = load ptr, ptr %16, align 8
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %14, align 4
%30 = icmp slt i32 %28, %29
br label %31
31: ; preds = %26, %22
%32 = phi i1 [ false, %22 ], [ %30, %26 ]
br i1 %32, label %33, label %156
33: ; preds = %31
store double 0.000000e+00, ptr %20, align 8
store i32 1, ptr %17, align 4
br label %34
34: ; preds = %146, %33
%35 = load i32, ptr %17, align 4
%36 = load i32, ptr %11, align 4
%37 = sub nsw i32 %36, 1
%38 = icmp slt i32 %35, %37
br i1 %38, label %39, label %149
39: ; preds = %34
store i32 1, ptr %18, align 4
br label %40
40: ; preds = %142, %39
%41 = load i32, ptr %18, align 4
%42 = load i32, ptr %12, align 4
%43 = sub nsw i32 %42, 1
%44 = icmp slt i32 %41, %43
br i1 %44, label %45, label %145
45: ; preds = %40
%46 = load ptr, ptr %9, align 8
%47 = load i32, ptr %17, align 4
%48 = sub nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %46, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %18, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %51, i64 %53
%55 = load double, ptr %54, align 8
%56 = load ptr, ptr %9, align 8
%57 = load i32, ptr %17, align 4
%58 = add nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %56, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = load i32, ptr %18, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
%65 = load double, ptr %64, align 8
%66 = fadd double %55, %65
%67 = load ptr, ptr %9, align 8
%68 = load i32, ptr %17, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds ptr, ptr %67, i64 %69
%71 = load ptr, ptr %70, align 8
%72 = load i32, ptr %18, align 4
%73 = sub nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, ptr %71, i64 %74
%76 = load double, ptr %75, align 8
%77 = fadd double %66, %76
%78 = load ptr, ptr %9, align 8
%79 = load i32, ptr %17, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds ptr, ptr %78, i64 %80
%82 = load ptr, ptr %81, align 8
%83 = load i32, ptr %18, align 4
%84 = add nsw i32 %83, 1
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, ptr %82, i64 %85
%87 = load double, ptr %86, align 8
%88 = fadd double %77, %87
%89 = fmul double 2.500000e-01, %88
%90 = load ptr, ptr %10, align 8
%91 = load i32, ptr %17, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds ptr, ptr %90, i64 %92
%94 = load ptr, ptr %93, align 8
%95 = load i32, ptr %18, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds double, ptr %94, i64 %96
store double %89, ptr %97, align 8
%98 = load double, ptr %20, align 8
%99 = load ptr, ptr %10, align 8
%100 = load i32, ptr %17, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds ptr, ptr %99, i64 %101
%103 = load ptr, ptr %102, align 8
%104 = load i32, ptr %18, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds double, ptr %103, i64 %105
%107 = load double, ptr %106, align 8
%108 = load ptr, ptr %9, align 8
%109 = load i32, ptr %17, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds ptr, ptr %108, i64 %110
%112 = load ptr, ptr %111, align 8
%113 = load i32, ptr %18, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %112, i64 %114
%116 = load double, ptr %115, align 8
%117 = fsub double %107, %116
%118 = call double @llvm.fabs.f64(double %117)
%119 = fcmp olt double %98, %118
br i1 %119, label %120, label %141
120: ; preds = %45
%121 = load ptr, ptr %10, align 8
%122 = load i32, ptr %17, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds ptr, ptr %121, i64 %123
%125 = load ptr, ptr %124, align 8
%126 = load i32, ptr %18, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds double, ptr %125, i64 %127
%129 = load double, ptr %128, align 8
%130 = load ptr, ptr %9, align 8
%131 = load i32, ptr %17, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds ptr, ptr %130, i64 %132
%134 = load ptr, ptr %133, align 8
%135 = load i32, ptr %18, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds double, ptr %134, i64 %136
%138 = load double, ptr %137, align 8
%139 = fsub double %129, %138
%140 = call double @llvm.fabs.f64(double %139)
store double %140, ptr %20, align 8
br label %141
141: ; preds = %120, %45
br label %142
142: ; preds = %141
%143 = load i32, ptr %18, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %18, align 4
br label %40, !llvm.loop !6
145: ; preds = %40
br label %146
146: ; preds = %145
%147 = load i32, ptr %17, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %17, align 4
br label %34, !llvm.loop !8
149: ; preds = %34
%150 = load ptr, ptr %9, align 8
store ptr %150, ptr %19, align 8
%151 = load ptr, ptr %10, align 8
store ptr %151, ptr %9, align 8
%152 = load ptr, ptr %19, align 8
store ptr %152, ptr %10, align 8
%153 = load ptr, ptr %16, align 8
%154 = load i32, ptr %153, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %153, align 4
br label %22, !llvm.loop !9
156: ; preds = %31
%157 = load double, ptr %20, align 8
ret double %157
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp85odm6s0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @JacobiSeqLoop(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca double, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store double %4, ptr %13, align 8
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store ptr %7, ptr %16, align 8
%21 = load double, ptr %13, align 8
store double %21, ptr %20, align 8
br label %22
22: ; preds = %155, %8
%23 = load double, ptr %13, align 8
%24 = load double, ptr %20, align 8
%25 = fcmp ole double %23, %24
br i1 %25, label %26, label %31
26: ; preds = %22
%27 = load ptr, ptr %16, align 8
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %14, align 4
%30 = icmp slt i32 %28, %29
br label %31
31: ; preds = %26, %22
%32 = phi i1 [ false, %22 ], [ %30, %26 ]
br i1 %32, label %33, label %162
33: ; preds = %31
store double 0.000000e+00, ptr %20, align 8
store i32 1, ptr %17, align 4
%34 = load i32, ptr %17, align 4
%35 = load i32, ptr %11, align 4
%36 = sub nsw i32 %35, 1
%37 = icmp slt i32 %34, %36
br i1 %37, label %.lr.ph2, label %155
.lr.ph2: ; preds = %33
br label %38
38: ; preds = %.lr.ph2, %148
store i32 1, ptr %18, align 4
%39 = load i32, ptr %18, align 4
%40 = load i32, ptr %12, align 4
%41 = sub nsw i32 %40, 1
%42 = icmp slt i32 %39, %41
br i1 %42, label %.lr.ph, label %147
.lr.ph: ; preds = %38
br label %43
43: ; preds = %.lr.ph, %140
%44 = load ptr, ptr %9, align 8
%45 = load i32, ptr %17, align 4
%46 = sub nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %44, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = load i32, ptr %18, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %49, i64 %51
%53 = load double, ptr %52, align 8
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %17, align 4
%56 = add nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds ptr, ptr %54, i64 %57
%59 = load ptr, ptr %58, align 8
%60 = load i32, ptr %18, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load double, ptr %62, align 8
%64 = fadd double %53, %63
%65 = load ptr, ptr %9, align 8
%66 = load i32, ptr %17, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = load i32, ptr %18, align 4
%71 = sub nsw i32 %70, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %69, i64 %72
%74 = load double, ptr %73, align 8
%75 = fadd double %64, %74
%76 = load ptr, ptr %9, align 8
%77 = load i32, ptr %17, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %76, i64 %78
%80 = load ptr, ptr %79, align 8
%81 = load i32, ptr %18, align 4
%82 = add nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, ptr %80, i64 %83
%85 = load double, ptr %84, align 8
%86 = fadd double %75, %85
%87 = fmul double 2.500000e-01, %86
%88 = load ptr, ptr %10, align 8
%89 = load i32, ptr %17, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds ptr, ptr %88, i64 %90
%92 = load ptr, ptr %91, align 8
%93 = load i32, ptr %18, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double, ptr %92, i64 %94
store double %87, ptr %95, align 8
%96 = load double, ptr %20, align 8
%97 = load ptr, ptr %10, align 8
%98 = load i32, ptr %17, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds ptr, ptr %97, i64 %99
%101 = load ptr, ptr %100, align 8
%102 = load i32, ptr %18, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, ptr %101, i64 %103
%105 = load double, ptr %104, align 8
%106 = load ptr, ptr %9, align 8
%107 = load i32, ptr %17, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds ptr, ptr %106, i64 %108
%110 = load ptr, ptr %109, align 8
%111 = load i32, ptr %18, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, ptr %110, i64 %112
%114 = load double, ptr %113, align 8
%115 = fsub double %105, %114
%116 = call double @llvm.fabs.f64(double %115)
%117 = fcmp olt double %96, %116
br i1 %117, label %118, label %139
118: ; preds = %43
%119 = load ptr, ptr %10, align 8
%120 = load i32, ptr %17, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds ptr, ptr %119, i64 %121
%123 = load ptr, ptr %122, align 8
%124 = load i32, ptr %18, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds double, ptr %123, i64 %125
%127 = load double, ptr %126, align 8
%128 = load ptr, ptr %9, align 8
%129 = load i32, ptr %17, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds ptr, ptr %128, i64 %130
%132 = load ptr, ptr %131, align 8
%133 = load i32, ptr %18, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds double, ptr %132, i64 %134
%136 = load double, ptr %135, align 8
%137 = fsub double %127, %136
%138 = call double @llvm.fabs.f64(double %137)
store double %138, ptr %20, align 8
br label %139
139: ; preds = %118, %43
br label %140
140: ; preds = %139
%141 = load i32, ptr %18, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %18, align 4
%143 = load i32, ptr %18, align 4
%144 = load i32, ptr %12, align 4
%145 = sub nsw i32 %144, 1
%146 = icmp slt i32 %143, %145
br i1 %146, label %43, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %140
br label %147
147: ; preds = %._crit_edge, %38
br label %148
148: ; preds = %147
%149 = load i32, ptr %17, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %17, align 4
%151 = load i32, ptr %17, align 4
%152 = load i32, ptr %11, align 4
%153 = sub nsw i32 %152, 1
%154 = icmp slt i32 %151, %153
br i1 %154, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %148
br label %155
155: ; preds = %._crit_edge3, %33
%156 = load ptr, ptr %9, align 8
store ptr %156, ptr %19, align 8
%157 = load ptr, ptr %10, align 8
store ptr %157, ptr %9, align 8
%158 = load ptr, ptr %19, align 8
store ptr %158, ptr %10, align 8
%159 = load ptr, ptr %16, align 8
%160 = load i32, ptr %159, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %159, align 4
br label %22, !llvm.loop !9
162: ; preds = %31
%163 = load double, ptr %20, align 8
ret double %163
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvik4riwe.c'
source_filename = "/tmp/tmpvik4riwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arithmetic_byte_multiply(i8 noundef zeroext %0, i8 noundef zeroext %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i32 @assert(ptr noundef %8)
store i32 0, ptr %7, align 4
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %3
store i32 2, ptr %7, align 4
br label %21
13: ; preds = %3
%14 = load i8, ptr %4, align 1
%15 = zext i8 %14 to i32
%16 = load i8, ptr %5, align 1
%17 = zext i8 %16 to i32
%18 = mul nsw i32 %15, %17
%19 = trunc i32 %18 to i8
%20 = load ptr, ptr %6, align 8
store i8 %19, ptr %20, align 1
br label %21
21: ; preds = %13, %12
%22 = load i32, ptr %7, align 4
ret i32 %22
}
declare i32 @assert(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvik4riwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arithmetic_byte_multiply(i8 noundef zeroext %0, i8 noundef zeroext %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i32 @assert(ptr noundef %8)
store i32 0, ptr %7, align 4
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %3
store i32 2, ptr %7, align 4
br label %21
13: ; preds = %3
%14 = load i8, ptr %4, align 1
%15 = zext i8 %14 to i32
%16 = load i8, ptr %5, align 1
%17 = zext i8 %16 to i32
%18 = mul nsw i32 %15, %17
%19 = trunc i32 %18 to i8
%20 = load ptr, ptr %6, align 8
store i8 %19, ptr %20, align 1
br label %21
21: ; preds = %13, %12
%22 = load i32, ptr %7, align 4
ret i32 %22
}
declare i32 @assert(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_ehobl6m.c'
source_filename = "/tmp/tmp_ehobl6m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[.] checking if we got root\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"[-] something went wrong =(\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"[+] got r00t ^_^\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_root() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @is_root()
%3 = icmp ne i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = call i32 @printf(ptr noundef @.str.1)
br label %9
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 (...) @exec_shell()
br label %9
9: ; preds = %6, %4
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @is_root(...) #1
declare i32 @exec_shell(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_ehobl6m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[.] checking if we got root\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"[-] something went wrong =(\0A\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"[+] got r00t ^_^\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_root() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 (...) @is_root()
%3 = icmp ne i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = call i32 @printf(ptr noundef @.str.1)
br label %9
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 (...) @exec_shell()
br label %9
9: ; preds = %6, %4
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @is_root(...) #1
declare i32 @exec_shell(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq26354dm.c'
source_filename = "/tmp/tmpq26354dm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Enter the numbers n and x\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"The exponential series sum \0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"1+x+x^/2!+.. is \0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %27, %0
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp sle i32 %12, %13
br i1 %14, label %15, label %30
15: ; preds = %11
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = call i32 @pow(i32 noundef %16, i32 noundef %17)
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %7, align 4
%21 = mul nsw i32 %19, %20
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %7, align 4
%25 = sdiv i32 %23, %24
%26 = add nsw i32 %22, %25
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %15
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %4, align 4
br label %11, !llvm.loop !6
30: ; preds = %11
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%33 = load i32, ptr %6, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @pow(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/tmpq26354dm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Enter the numbers n and x\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"The exponential series sum \0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"1+x+x^/2!+.. is \0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
store i32 0, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %26
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = call i32 @pow(i32 noundef %15, i32 noundef %16)
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %7, align 4
%20 = mul nsw i32 %18, %19
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %7, align 4
%24 = sdiv i32 %22, %23
%25 = add nsw i32 %21, %24
store i32 %25, ptr %6, align 4
br label %26
26: ; preds = %14
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %0
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%35 = load i32, ptr %6, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @pow(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/tmpxoq7ij0s.c'
source_filename = "/tmp/tmpxoq7ij0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @F2_eq6_r(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %14
14: ; preds = %68, %4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %71
18: ; preds = %14
store i32 0, ptr %10, align 4
br label %19
19: ; preds = %64, %18
%20 = load i32, ptr %10, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %23, label %67
23: ; preds = %19
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %9, align 4
%26 = call i32 @mpos(i32 noundef %24, i32 noundef %25)
store i32 %26, ptr %11, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %10, align 4
%29 = mul nsw i32 %27, %28
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %29, %30
store i32 %31, ptr %12, align 4
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %9, align 4
%34 = mul nsw i32 %32, %33
%35 = load i32, ptr %10, align 4
%36 = add nsw i32 %34, %35
store i32 %36, ptr %13, align 4
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %37, i64 %39
%41 = load double, ptr %40, align 8
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %13, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %42, i64 %44
%46 = load double, ptr %45, align 8
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
%51 = load double, ptr %50, align 8
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %12, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %52, i64 %54
%56 = load double, ptr %55, align 8
%57 = fmul double %51, %56
%58 = call double @llvm.fmuladd.f64(double %41, double %46, double %57)
%59 = fmul double %58, 5.000000e-01
%60 = load ptr, ptr %8, align 8
%61 = load i32, ptr %11, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
store double %59, ptr %63, align 8
br label %64
64: ; preds = %23
%65 = load i32, ptr %10, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %10, align 4
br label %19, !llvm.loop !6
67: ; preds = %19
br label %68
68: ; preds = %67
%69 = load i32, ptr %9, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %9, align 4
br label %14, !llvm.loop !8
71: ; preds = %14
ret void
}
declare i32 @mpos(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxoq7ij0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @F2_eq6_r(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph2, label %75
.lr.ph2: ; preds = %4
br label %17
17: ; preds = %.lr.ph2, %69
store i32 0, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp sle i32 %18, %19
br i1 %20, label %.lr.ph, label %68
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %62
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %9, align 4
%24 = call i32 @mpos(i32 noundef %22, i32 noundef %23)
store i32 %24, ptr %11, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %10, align 4
%27 = mul nsw i32 %25, %26
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %27, %28
store i32 %29, ptr %12, align 4
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %9, align 4
%32 = mul nsw i32 %30, %31
%33 = load i32, ptr %10, align 4
%34 = add nsw i32 %32, %33
store i32 %34, ptr %13, align 4
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
%39 = load double, ptr %38, align 8
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %13, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %40, i64 %42
%44 = load double, ptr %43, align 8
%45 = load ptr, ptr %7, align 8
%46 = load i32, ptr %9, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %45, i64 %47
%49 = load double, ptr %48, align 8
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %12, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %50, i64 %52
%54 = load double, ptr %53, align 8
%55 = fmul double %49, %54
%56 = call double @llvm.fmuladd.f64(double %39, double %44, double %55)
%57 = fmul double %56, 5.000000e-01
%58 = load ptr, ptr %8, align 8
%59 = load i32, ptr %11, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
store double %57, ptr %61, align 8
br label %62
62: ; preds = %21
%63 = load i32, ptr %10, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %10, align 4
%65 = load i32, ptr %10, align 4
%66 = load i32, ptr %9, align 4
%67 = icmp sle i32 %65, %66
br i1 %67, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %17
br label %69
69: ; preds = %68
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %9, align 4
%72 = load i32, ptr %9, align 4
%73 = load i32, ptr %5, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %69
br label %75
75: ; preds = %._crit_edge3, %4
ret void
}
declare i32 @mpos(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpq7de24iz.c'
source_filename = "/tmp/tmpq7de24iz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CDB_RemoveIntEntry(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 @CDB_RemoveEntry(ptr noundef %3)
ret void
}
declare i32 @CDB_RemoveEntry(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq7de24iz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CDB_RemoveIntEntry(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 @CDB_RemoveEntry(ptr noundef %3)
ret void
}
declare i32 @CDB_RemoveEntry(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp48k_gxzo.c'
source_filename = "/tmp/tmp48k_gxzo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.data = internal global [8 x i8] c"\FF\FF\FF\FF\FF\FF\FF\FF", 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 (...) @gpio_init()
%4 = call i32 @gpio_le(i32 noundef 0)
%5 = call i32 @gpio_plane(ptr noundef @main.data)
%6 = call i32 @gpio_ext(i32 noundef 1)
br label %7
7: ; preds = %17, %0
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %14, %7
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 8
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = call i32 @gpio_layer(i32 noundef %12)
br label %14
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %8, !llvm.loop !6
17: ; preds = %8
br label %7
}
declare i32 @gpio_init(...) #1
declare i32 @gpio_le(i32 noundef) #1
declare i32 @gpio_plane(ptr noundef) #1
declare i32 @gpio_ext(i32 noundef) #1
declare i32 @gpio_layer(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/tmp48k_gxzo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.data = internal global [8 x i8] c"\FF\FF\FF\FF\FF\FF\FF\FF", 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 (...) @gpio_init()
%4 = call i32 @gpio_le(i32 noundef 0)
%5 = call i32 @gpio_plane(ptr noundef @main.data)
%6 = call i32 @gpio_ext(i32 noundef 1)
br label %7
7: ; preds = %18, %0
store i32 0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 8
br i1 %9, label %.lr.ph, label %18
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %13
%11 = load i32, ptr %2, align 4
%12 = call i32 @gpio_layer(i32 noundef %11)
br label %13
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 8
br i1 %17, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %7
br label %7
}
declare i32 @gpio_init(...) #1
declare i32 @gpio_le(i32 noundef) #1
declare i32 @gpio_plane(ptr noundef) #1
declare i32 @gpio_ext(i32 noundef) #1
declare i32 @gpio_layer(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/tmp5nyanlez.c'
source_filename = "/tmp/tmp5nyanlez.c"
target datalayout = "e-m:e-p270: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/tmp5nyanlez.c"
target datalayout = "e-m:e-p270: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/tmpkc3ye7bl.c'
source_filename = "/tmp/tmpkc3ye7bl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @javacall_memory_heap_allocate(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = call i64 @malloc(i64 noundef %6)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load i64, ptr %3, align 8
br label %14
13: ; preds = %2
br label %14
14: ; preds = %13, %11
%15 = phi i64 [ %12, %11 ], [ 0, %13 ]
%16 = load ptr, ptr %4, align 8
store i64 %15, ptr %16, align 8
%17 = load ptr, ptr %5, align 8
ret ptr %17
}
declare i64 @malloc(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/tmpkc3ye7bl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @javacall_memory_heap_allocate(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = call i64 @malloc(i64 noundef %6)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load i64, ptr %3, align 8
br label %14
13: ; preds = %2
br label %14
14: ; preds = %13, %11
%15 = phi i64 [ %12, %11 ], [ 0, %13 ]
%16 = load ptr, ptr %4, align 8
store i64 %15, ptr %16, align 8
%17 = load ptr, ptr %5, align 8
ret ptr %17
}
declare i64 @malloc(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/tmpn2jyk4fw.c'
source_filename = "/tmp/tmpn2jyk4fw.c"
target datalayout = "e-m:e-p270: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/tmpn2jyk4fw.c"
target datalayout = "e-m:e-p270: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/tmpute17cl1.c'
source_filename = "/tmp/tmpute17cl1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AT_FDCWD = dso_local global i32 0, align 4
@AT_REMOVEDIR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rmdir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @AT_FDCWD, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr @AT_REMOVEDIR, align 4
%6 = call i32 @unlinkat(i32 noundef %3, ptr noundef %4, i32 noundef %5)
ret i32 %6
}
declare i32 @unlinkat(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/tmpute17cl1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AT_FDCWD = dso_local global i32 0, align 4
@AT_REMOVEDIR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rmdir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @AT_FDCWD, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr @AT_REMOVEDIR, align 4
%6 = call i32 @unlinkat(i32 noundef %3, ptr noundef %4, i32 noundef %5)
ret i32 %6
}
declare i32 @unlinkat(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/tmp4boycvce.c'
source_filename = "/tmp/tmp4boycvce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca [40 x i32], align 16
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = getelementptr inbounds [40 x i32], ptr %1, i64 0, i64 0
store ptr %6, ptr %2, align 8
store i32 17, ptr %4, align 4
store i32 31, ptr %5, align 4
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %28, %0
%8 = load i32, ptr %3, align 4
%9 = icmp ult i32 %8, 40
br i1 %9, label %10, label %33
10: ; preds = %7
%11 = load i32, ptr %5, align 4
%12 = and i32 %11, 65535
%13 = mul i32 36969, %12
%14 = load i32, ptr %5, align 4
%15 = lshr i32 %14, 16
%16 = add i32 %13, %15
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = and i32 %17, 65535
%19 = mul i32 18000, %18
%20 = load i32, ptr %4, align 4
%21 = lshr i32 %20, 16
%22 = add i32 %19, %21
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %5, align 4
%24 = shl i32 %23, 16
%25 = load i32, ptr %4, align 4
%26 = add i32 %24, %25
%27 = load ptr, ptr %2, align 8
store i32 %26, ptr %27, align 4
br label %28
28: ; preds = %10
%29 = load i32, ptr %3, align 4
%30 = add i32 %29, 1
store i32 %30, ptr %3, align 4
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds i32, ptr %31, i32 1
store ptr %32, ptr %2, align 8
br label %7, !llvm.loop !6
33: ; preds = %7
%34 = getelementptr inbounds [40 x i32], ptr %1, i64 0, i64 0
%35 = call i32 @selectionSort(ptr noundef %34, i32 noundef 40)
%36 = getelementptr inbounds [40 x i32], ptr %1, i64 0, i64 0
%37 = call i32 @myprint(ptr noundef %36, i32 noundef 40)
ret void
}
declare i32 @selectionSort(ptr noundef, i32 noundef) #1
declare i32 @myprint(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4boycvce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca [40 x i32], align 16
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = getelementptr inbounds [40 x i32], ptr %1, i64 0, i64 0
store ptr %6, ptr %2, align 8
store i32 17, ptr %4, align 4
store i32 31, ptr %5, align 4
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ult i32 %7, 40
br i1 %8, label %.lr.ph, label %34
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %27
%10 = load i32, ptr %5, align 4
%11 = and i32 %10, 65535
%12 = mul i32 36969, %11
%13 = load i32, ptr %5, align 4
%14 = lshr i32 %13, 16
%15 = add i32 %12, %14
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %4, align 4
%17 = and i32 %16, 65535
%18 = mul i32 18000, %17
%19 = load i32, ptr %4, align 4
%20 = lshr i32 %19, 16
%21 = add i32 %18, %20
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = shl i32 %22, 16
%24 = load i32, ptr %4, align 4
%25 = add i32 %23, %24
%26 = load ptr, ptr %2, align 8
store i32 %25, ptr %26, align 4
br label %27
27: ; preds = %9
%28 = load i32, ptr %3, align 4
%29 = add i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds i32, ptr %30, i32 1
store ptr %31, ptr %2, align 8
%32 = load i32, ptr %3, align 4
%33 = icmp ult i32 %32, 40
br i1 %33, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %34
34: ; preds = %._crit_edge, %0
%35 = getelementptr inbounds [40 x i32], ptr %1, i64 0, i64 0
%36 = call i32 @selectionSort(ptr noundef %35, i32 noundef 40)
%37 = getelementptr inbounds [40 x i32], ptr %1, i64 0, i64 0
%38 = call i32 @myprint(ptr noundef %37, i32 noundef 40)
ret void
}
declare i32 @selectionSort(ptr noundef, i32 noundef) #1
declare i32 @myprint(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpia01nrmf.c'
source_filename = "/tmp/tmpia01nrmf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dstzr(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @E0001(i32 noundef 1, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @E0001(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpia01nrmf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dstzr(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @E0001(i32 noundef 1, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @E0001(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpckq50ap0.c'
source_filename = "/tmp/tmpckq50ap0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.bpf_attr = type { i32 }
@BPF_MAP_CREATE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bpf_create_map(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %union.bpf_attr, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %6, align 4
store i32 %12, ptr %11, align 4
%13 = load i32, ptr %7, align 4
store i32 %13, ptr %11, align 4
%14 = load i32, ptr %8, align 4
store i32 %14, ptr %11, align 4
%15 = load i32, ptr %9, align 4
store i32 %15, ptr %11, align 4
%16 = load i32, ptr @BPF_MAP_CREATE, align 4
%17 = call i32 @syscall(i32 noundef 321, i32 noundef %16, ptr noundef %11, i32 noundef 4)
ret i32 %17
}
declare i32 @syscall(i32 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/tmpckq50ap0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.bpf_attr = type { i32 }
@BPF_MAP_CREATE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bpf_create_map(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %union.bpf_attr, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %6, align 4
store i32 %12, ptr %11, align 4
%13 = load i32, ptr %7, align 4
store i32 %13, ptr %11, align 4
%14 = load i32, ptr %8, align 4
store i32 %14, ptr %11, align 4
%15 = load i32, ptr %9, align 4
store i32 %15, ptr %11, align 4
%16 = load i32, ptr @BPF_MAP_CREATE, align 4
%17 = call i32 @syscall(i32 noundef 321, i32 noundef %16, ptr noundef %11, i32 noundef 4)
ret i32 %17
}
declare i32 @syscall(i32 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/tmpvl2rhm76.c'
source_filename = "/tmp/tmpvl2rhm76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cu2ax(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [3 x double], align 16
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0
%11 = load i32, ptr %6, align 4
%12 = call i32 @cu2ho(ptr noundef %9, ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %8, align 4
%13 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = call i32 @ho2ax(ptr noundef %13, ptr noundef %14, i32 noundef %15)
store i32 %16, ptr %8, align 4
ret i32 1
}
declare i32 @cu2ho(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ho2ax(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/tmpvl2rhm76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cu2ax(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [3 x double], align 16
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0
%11 = load i32, ptr %6, align 4
%12 = call i32 @cu2ho(ptr noundef %9, ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %8, align 4
%13 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = call i32 @ho2ax(ptr noundef %13, ptr noundef %14, i32 noundef %15)
store i32 %16, ptr %8, align 4
ret i32 1
}
declare i32 @cu2ho(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ho2ax(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/tmpgr0wtps0.c'
source_filename = "/tmp/tmpgr0wtps0.c"
target datalayout = "e-m:e-p270: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/tmpgr0wtps0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.