llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp4cq0c7qy.c'
source_filename = "/tmp/tmp4cq0c7qy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (i32, ...) @simple_va_fun(i32 noundef 100)
%7 = call i32 (i32, ...) @simple_va_fun(i32 noundef 100, i32 noundef 200)
%8 = call i32 (i32, ...) @simple_va_fun(i32 noundef 100, i32 noundef 200, i32 noundef 97)
ret i32 0
}
declare i32 @simple_va_fun(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/tmp4cq0c7qy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (i32, ...) @simple_va_fun(i32 noundef 100)
%7 = call i32 (i32, ...) @simple_va_fun(i32 noundef 100, i32 noundef 200)
%8 = call i32 (i32, ...) @simple_va_fun(i32 noundef 100, i32 noundef 200, i32 noundef 97)
ret i32 0
}
declare i32 @simple_va_fun(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/tmpmm92wyg7.c'
source_filename = "/tmp/tmpmm92wyg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uDMAChannelSelectSecondary(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store volatile i32 %0, ptr %2, align 4
%3 = load volatile i32, ptr %2, align 4
%4 = load volatile i32, ptr inttoptr (i64 1074787584 to ptr), align 4
%5 = or i32 %4, %3
store volatile i32 %5, ptr inttoptr (i64 1074787584 to ptr), align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmm92wyg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uDMAChannelSelectSecondary(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store volatile i32 %0, ptr %2, align 4
%3 = load volatile i32, ptr %2, align 4
%4 = load volatile i32, ptr inttoptr (i64 1074787584 to ptr), align 4
%5 = or i32 %4, %3
store volatile i32 %5, ptr inttoptr (i64 1074787584 to ptr), align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdv0ntoa9.c'
source_filename = "/tmp/tmpdv0ntoa9.c"
target datalayout = "e-m:e-p270: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/tmpdv0ntoa9.c"
target datalayout = "e-m:e-p270: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/tmp3yzq2erq.c'
source_filename = "/tmp/tmp3yzq2erq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.sorted = private unnamed_addr constant [10 x i32] [i32 13, i32 24, i32 34, i32 46, i32 52, i32 63, i32 77, i32 89, i32 91, i32 100], align 16
@.str = private unnamed_addr constant [8 x i8] c"Array: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%s\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c", \00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Key '%d' was found in position '%d'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.sorted, i64 40, i1 false)
store i64 10, ptr %3, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i64 0, ptr %4, align 8
br label %7
7: ; preds = %22, %0
%8 = load i64, ptr %4, align 8
%9 = load i64, ptr %3, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %11, label %25
11: ; preds = %7
%12 = load i64, ptr %4, align 8
%13 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %12
%14 = load i32, ptr %13, align 4
%15 = load i64, ptr %4, align 8
%16 = add i64 %15, 1
%17 = load i64, ptr %3, align 8
%18 = icmp eq i64 %16, %17
%19 = zext i1 %18 to i64
%20 = select i1 %18, ptr @.str.2, ptr @.str.3
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14, ptr noundef %20)
br label %22
22: ; preds = %11
%23 = load i64, ptr %4, align 8
%24 = add i64 %23, 1
store i64 %24, ptr %4, align 8
br label %7, !llvm.loop !6
25: ; preds = %7
%26 = call i32 @putchar(i8 noundef signext 10)
store i32 46, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%30 = load i64, ptr %3, align 8
%31 = call i32 @binary_search(i32 noundef %28, ptr noundef %29, i64 noundef %30)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %27, i32 noundef %31)
store i32 10, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%36 = load i64, ptr %3, align 8
%37 = call i32 @binary_search(i32 noundef %34, ptr noundef %35, i64 noundef %36)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33, i32 noundef %37)
store i32 100, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%42 = load i64, ptr %3, align 8
%43 = call i32 @binary_search(i32 noundef %40, ptr noundef %41, i64 noundef %42)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %39, i32 noundef %43)
store i32 110, ptr %5, align 4
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %5, align 4
%47 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%48 = load i64, ptr %3, align 8
%49 = call i32 @binary_search(i32 noundef %46, ptr noundef %47, i64 noundef %48)
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %45, i32 noundef %49)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @putchar(i8 noundef signext) #2
declare i32 @binary_search(i32 noundef, ptr noundef, i64 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/tmp3yzq2erq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.sorted = private unnamed_addr constant [10 x i32] [i32 13, i32 24, i32 34, i32 46, i32 52, i32 63, i32 77, i32 89, i32 91, i32 100], align 16
@.str = private unnamed_addr constant [8 x i8] c"Array: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%s\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c", \00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Key '%d' was found in position '%d'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.sorted, i64 40, i1 false)
store i64 10, ptr %3, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i64 0, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = load i64, ptr %3, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %21
%11 = load i64, ptr %4, align 8
%12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
%14 = load i64, ptr %4, align 8
%15 = add i64 %14, 1
%16 = load i64, ptr %3, align 8
%17 = icmp eq i64 %15, %16
%18 = zext i1 %17 to i64
%19 = select i1 %17, ptr @.str.2, ptr @.str.3
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13, ptr noundef %19)
br label %21
21: ; preds = %10
%22 = load i64, ptr %4, align 8
%23 = add i64 %22, 1
store i64 %23, ptr %4, align 8
%24 = load i64, ptr %4, align 8
%25 = load i64, ptr %3, align 8
%26 = icmp ult i64 %24, %25
br i1 %26, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %0
%28 = call i32 @putchar(i8 noundef signext 10)
store i32 46, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%32 = load i64, ptr %3, align 8
%33 = call i32 @binary_search(i32 noundef %30, ptr noundef %31, i64 noundef %32)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %29, i32 noundef %33)
store i32 10, ptr %5, align 4
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %5, align 4
%37 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%38 = load i64, ptr %3, align 8
%39 = call i32 @binary_search(i32 noundef %36, ptr noundef %37, i64 noundef %38)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35, i32 noundef %39)
store i32 100, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%44 = load i64, ptr %3, align 8
%45 = call i32 @binary_search(i32 noundef %42, ptr noundef %43, i64 noundef %44)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %41, i32 noundef %45)
store i32 110, ptr %5, align 4
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %5, align 4
%49 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%50 = load i64, ptr %3, align 8
%51 = call i32 @binary_search(i32 noundef %48, ptr noundef %49, i64 noundef %50)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %47, i32 noundef %51)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @putchar(i8 noundef signext) #2
declare i32 @binary_search(i32 noundef, ptr noundef, i64 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/tmpe1zrbbba.c'
source_filename = "/tmp/tmpe1zrbbba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @pdu_phone_pack(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i8 0, ptr %5, align 1
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 43
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %10, %2
br label %14
14: ; preds = %56, %13
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp sge i32 %17, 48
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %3, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp sle i32 %22, 57
br label %24
24: ; preds = %19, %14
%25 = phi i1 [ false, %14 ], [ %23, %19 ]
br i1 %25, label %26, label %61
26: ; preds = %24
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %3, align 8
%29 = load i8, ptr %27, align 1
%30 = call i32 @s_h2b4(i8 noundef signext %29)
%31 = trunc i32 %30 to i8
%32 = load ptr, ptr %4, align 8
store i8 %31, ptr %32, align 1
%33 = load ptr, ptr %3, align 8
%34 = load i8, ptr %33, align 1
%35 = icmp ne i8 %34, 0
br i1 %35, label %36, label %50
36: ; preds = %26
%37 = load ptr, ptr %3, align 8
%38 = load i8, ptr %37, align 1
%39 = call i32 @s_h2b4(i8 noundef signext %38)
%40 = shl i32 %39, 4
%41 = load ptr, ptr %4, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = or i32 %43, %40
%45 = trunc i32 %44 to i8
store i8 %45, ptr %41, align 1
%46 = load ptr, ptr %3, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %3, align 8
%48 = load i8, ptr %5, align 1
%49 = add i8 %48, 1
store i8 %49, ptr %5, align 1
br label %56
50: ; preds = %26
%51 = load ptr, ptr %4, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = or i32 %53, 240
%55 = trunc i32 %54 to i8
store i8 %55, ptr %51, align 1
br label %56
56: ; preds = %50, %36
%57 = load i8, ptr %5, align 1
%58 = add i8 %57, 1
store i8 %58, ptr %5, align 1
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %4, align 8
br label %14, !llvm.loop !6
61: ; preds = %24
%62 = load ptr, ptr %4, align 8
store i8 -1, ptr %62, align 1
%63 = load i8, ptr %5, align 1
ret i8 %63
}
declare i32 @s_h2b4(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe1zrbbba.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @pdu_phone_pack(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i8 0, ptr %5, align 1
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 43
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %10, %2
br label %14
14: ; preds = %56, %13
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp sge i32 %17, 48
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %3, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp sle i32 %22, 57
br label %24
24: ; preds = %19, %14
%25 = phi i1 [ false, %14 ], [ %23, %19 ]
br i1 %25, label %26, label %61
26: ; preds = %24
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %3, align 8
%29 = load i8, ptr %27, align 1
%30 = call i32 @s_h2b4(i8 noundef signext %29)
%31 = trunc i32 %30 to i8
%32 = load ptr, ptr %4, align 8
store i8 %31, ptr %32, align 1
%33 = load ptr, ptr %3, align 8
%34 = load i8, ptr %33, align 1
%35 = icmp ne i8 %34, 0
br i1 %35, label %36, label %50
36: ; preds = %26
%37 = load ptr, ptr %3, align 8
%38 = load i8, ptr %37, align 1
%39 = call i32 @s_h2b4(i8 noundef signext %38)
%40 = shl i32 %39, 4
%41 = load ptr, ptr %4, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = or i32 %43, %40
%45 = trunc i32 %44 to i8
store i8 %45, ptr %41, align 1
%46 = load ptr, ptr %3, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %3, align 8
%48 = load i8, ptr %5, align 1
%49 = add i8 %48, 1
store i8 %49, ptr %5, align 1
br label %56
50: ; preds = %26
%51 = load ptr, ptr %4, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = or i32 %53, 240
%55 = trunc i32 %54 to i8
store i8 %55, ptr %51, align 1
br label %56
56: ; preds = %50, %36
%57 = load i8, ptr %5, align 1
%58 = add i8 %57, 1
store i8 %58, ptr %5, align 1
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %4, align 8
br label %14, !llvm.loop !6
61: ; preds = %24
%62 = load ptr, ptr %4, align 8
store i8 -1, ptr %62, align 1
%63 = load i8, ptr %5, align 1
ret i8 %63
}
declare i32 @s_h2b4(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8yg5n1uj.c'
source_filename = "/tmp/tmp8yg5n1uj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"strlen 1 failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"strlen 2 failed\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"0123456789012345678901234567890\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"ABC\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"01234ABC\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"strncpy failed\0A\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"result: %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [65 x i8] c"AAAAAAAAAABBBBBCCCCCBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\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 [256 x i8], align 16
%7 = alloca [256 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @strlen(ptr noundef @.str)
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %54
12: ; preds = %2
%13 = call i32 @strlen(ptr noundef @.str.2)
%14 = icmp ne i32 %13, 10
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %54
17: ; preds = %12
%18 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%19 = call i32 @strncpy(ptr noundef %18, ptr noundef @.str.4, i32 noundef 6)
%20 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%21 = getelementptr inbounds i8, ptr %20, i64 5
%22 = call i32 @strncpy(ptr noundef %21, ptr noundef @.str.5, i32 noundef 8)
%23 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.6)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %17
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%28 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %28)
store i32 1, ptr %3, align 4
br label %54
30: ; preds = %17
%31 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%32 = call i32 @memset(ptr noundef %31, i8 noundef signext 0, i32 noundef 256)
%33 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%34 = call i32 @memset(ptr noundef %33, i8 noundef signext 65, i32 noundef 64)
%35 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%36 = getelementptr inbounds i8, ptr %35, i64 10
%37 = call i32 @memset(ptr noundef %36, i8 noundef signext 66, i32 noundef 23)
%38 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds i8, ptr %38, i64 15
%40 = call i32 @memset(ptr noundef %39, i8 noundef signext 67, i32 noundef 5)
%41 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%42 = call i64 @strcmp(ptr noundef @.str.9, ptr noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %30
store i32 1, ptr %3, align 4
br label %54
45: ; preds = %30
%46 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%47 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%48 = call i32 @memcpy(ptr noundef %46, ptr noundef %47, i32 noundef 256)
%49 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%50 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%51 = call i64 @strcmp(ptr noundef %49, ptr noundef %50)
%52 = icmp ne i64 %51, 0
%53 = zext i1 %52 to i32
store i32 %53, ptr %3, align 4
br label %54
54: ; preds = %45, %44, %26, %15, %10
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8yg5n1uj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"strlen 1 failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"strlen 2 failed\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"0123456789012345678901234567890\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"ABC\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"01234ABC\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"strncpy failed\0A\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"result: %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [65 x i8] c"AAAAAAAAAABBBBBCCCCCBBBBBBBBBBBBBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\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 [256 x i8], align 16
%7 = alloca [256 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @strlen(ptr noundef @.str)
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %54
12: ; preds = %2
%13 = call i32 @strlen(ptr noundef @.str.2)
%14 = icmp ne i32 %13, 10
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %54
17: ; preds = %12
%18 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%19 = call i32 @strncpy(ptr noundef %18, ptr noundef @.str.4, i32 noundef 6)
%20 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%21 = getelementptr inbounds i8, ptr %20, i64 5
%22 = call i32 @strncpy(ptr noundef %21, ptr noundef @.str.5, i32 noundef 8)
%23 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.6)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %17
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%28 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %28)
store i32 1, ptr %3, align 4
br label %54
30: ; preds = %17
%31 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%32 = call i32 @memset(ptr noundef %31, i8 noundef signext 0, i32 noundef 256)
%33 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%34 = call i32 @memset(ptr noundef %33, i8 noundef signext 65, i32 noundef 64)
%35 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%36 = getelementptr inbounds i8, ptr %35, i64 10
%37 = call i32 @memset(ptr noundef %36, i8 noundef signext 66, i32 noundef 23)
%38 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds i8, ptr %38, i64 15
%40 = call i32 @memset(ptr noundef %39, i8 noundef signext 67, i32 noundef 5)
%41 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%42 = call i64 @strcmp(ptr noundef @.str.9, ptr noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %30
store i32 1, ptr %3, align 4
br label %54
45: ; preds = %30
%46 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%47 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%48 = call i32 @memcpy(ptr noundef %46, ptr noundef %47, i32 noundef 256)
%49 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%50 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%51 = call i64 @strcmp(ptr noundef %49, ptr noundef %50)
%52 = icmp ne i64 %51, 0
%53 = zext i1 %52 to i32
store i32 %53, ptr %3, align 4
br label %54
54: ; preds = %45, %44, %26, %15, %10
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5jgr7c5o.c'
source_filename = "/tmp/tmp5jgr7c5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lutimes(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.stat, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @lstat(ptr noundef %7, ptr noundef %6)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
11: ; preds = %2
%12 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = call i64 @S_ISLNK(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 0, ptr %3, align 4
br label %21
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @utimes(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %3, align 4
br label %21
21: ; preds = %17, %16, %10
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i64 @S_ISLNK(i32 noundef) #1
declare i32 @utimes(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/tmp5jgr7c5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lutimes(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.stat, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @lstat(ptr noundef %7, ptr noundef %6)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 -1, ptr %3, align 4
br label %21
11: ; preds = %2
%12 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = call i64 @S_ISLNK(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 0, ptr %3, align 4
br label %21
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @utimes(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %3, align 4
br label %21
21: ; preds = %17, %16, %10
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i64 @S_ISLNK(i32 noundef) #1
declare i32 @utimes(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/tmpbgw85qf9.c'
source_filename = "/tmp/tmpbgw85qf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
store i32 0, ptr %1, align 4
store i32 1, ptr %5, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %0
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp eq i32 %15, %16
br i1 %17, label %18, label %21
18: ; preds = %12
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %21
21: ; preds = %18, %12
br label %38
22: ; preds = %0
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %37
29: ; preds = %22
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
br label %36
36: ; preds = %33, %29
br label %37
37: ; preds = %36, %26
br label %38
38: ; preds = %37, %21
%39 = load i32, ptr %5, align 4
%40 = call i32 @printf(ptr noundef @.str, i32 noundef %39)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbgw85qf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
store i32 0, ptr %1, align 4
store i32 1, ptr %5, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %0
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp eq i32 %15, %16
br i1 %17, label %18, label %21
18: ; preds = %12
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
br label %21
21: ; preds = %18, %12
br label %38
22: ; preds = %0
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %37
29: ; preds = %22
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
br label %36
36: ; preds = %33, %29
br label %37
37: ; preds = %36, %26
br label %38
38: ; preds = %37, %21
%39 = load i32, ptr %5, align 4
%40 = call i32 @printf(ptr noundef @.str, i32 noundef %39)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg1hhs2mj.c'
source_filename = "/tmp/tmpg1hhs2mj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CEA2latlon(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store double %0, ptr %6, align 8
store double %1, ptr %7, align 8
store double %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load double, ptr %7, align 8
%12 = load double, ptr %8, align 8
%13 = fadd double %11, %12
%14 = load ptr, ptr %10, align 8
store double %13, ptr %14, align 8
%15 = load double, ptr @M_PI, align 8
%16 = fdiv double 1.800000e+02, %15
%17 = load double, ptr %6, align 8
%18 = call double @asin(double noundef %17) #2
%19 = fmul double %16, %18
%20 = load ptr, ptr %9, align 8
store double %19, ptr %20, align 8
ret void
}
; Function Attrs: nounwind
declare double @asin(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg1hhs2mj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CEA2latlon(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store double %0, ptr %6, align 8
store double %1, ptr %7, align 8
store double %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load double, ptr %7, align 8
%12 = load double, ptr %8, align 8
%13 = fadd double %11, %12
%14 = load ptr, ptr %10, align 8
store double %13, ptr %14, align 8
%15 = load double, ptr @M_PI, align 8
%16 = fdiv double 1.800000e+02, %15
%17 = load double, ptr %6, align 8
%18 = call double @asin(double noundef %17) #2
%19 = fmul double %16, %18
%20 = load ptr, ptr %9, align 8
store double %19, ptr %20, align 8
ret void
}
; Function Attrs: nounwind
declare double @asin(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnyp4ccpn.c'
source_filename = "/tmp/tmpnyp4ccpn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnyp4ccpn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp4_qt25j.c'
source_filename = "/tmp/tmpp4_qt25j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"%4d %4d %4ld\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
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 120, ptr %3, align 4
br label %5
5: ; preds = %17, %0
%6 = load i32, ptr %3, align 4
%7 = icmp sle i32 %6, 135
br i1 %7, label %8, label %20
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = trunc i32 %9 to i8
store i8 %10, ptr %2, align 1
%11 = load i8, ptr %2, align 1
%12 = sext i8 %11 to i64
store i64 %12, ptr %4, align 8
%13 = load i8, ptr %2, align 1
%14 = load i32, ptr %3, align 4
%15 = load i64, ptr %4, align 8
%16 = call i32 @printf(ptr noundef @.str, i8 noundef signext %13, i32 noundef %14, i64 noundef %15)
br label %17
17: ; preds = %8
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %5, !llvm.loop !6
20: ; preds = %5
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp4_qt25j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"%4d %4d %4ld\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
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 120, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sle i32 %5, 135
br i1 %6, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %16
%8 = load i32, ptr %3, align 4
%9 = trunc i32 %8 to i8
store i8 %9, ptr %2, align 1
%10 = load i8, ptr %2, align 1
%11 = sext i8 %10 to i64
store i64 %11, ptr %4, align 8
%12 = load i8, ptr %2, align 1
%13 = load i32, ptr %3, align 4
%14 = load i64, ptr %4, align 8
%15 = call i32 @printf(ptr noundef @.str, i8 noundef signext %12, i32 noundef %13, i64 noundef %14)
br label %16
16: ; preds = %7
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp sle i32 %19, 135
br i1 %20, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzcbhtt49.c'
source_filename = "/tmp/tmpzcbhtt49.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%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 256, ptr %6, align 4
%9 = call i64 @malloc(i32 noundef 256)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = call ptr @acc_create(ptr noundef %11, i32 noundef 256)
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %8, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = call i32 (...) @abort() #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %7, align 8
%19 = call ptr @acc_create(ptr noundef %18, i32 noundef 256)
store ptr %19, ptr %8, align 8
%20 = load ptr, ptr %8, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %17
%23 = call i32 (...) @abort() #3
unreachable
24: ; preds = %17
%25 = load ptr, ptr %7, align 8
%26 = call i32 @acc_delete(ptr noundef %25, i32 noundef 256)
%27 = load ptr, ptr %7, align 8
%28 = call i32 @free(ptr noundef %27)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare ptr @acc_create(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @acc_delete(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpzcbhtt49.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%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 256, ptr %6, align 4
%9 = call i64 @malloc(i32 noundef 256)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = call ptr @acc_create(ptr noundef %11, i32 noundef 256)
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %8, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = call i32 (...) @abort() #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %7, align 8
%19 = call ptr @acc_create(ptr noundef %18, i32 noundef 256)
store ptr %19, ptr %8, align 8
%20 = load ptr, ptr %8, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %17
%23 = call i32 (...) @abort() #3
unreachable
24: ; preds = %17
%25 = load ptr, ptr %7, align 8
%26 = call i32 @acc_delete(ptr noundef %25, i32 noundef 256)
%27 = load ptr, ptr %7, align 8
%28 = call i32 @free(ptr noundef %27)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare ptr @acc_create(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare i32 @acc_delete(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp86ohdfuk.c'
source_filename = "/tmp/tmp86ohdfuk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAP_FAILED = dso_local global ptr null, align 8
@MAP_SHARED = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp86ohdfuk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAP_FAILED = dso_local global ptr null, align 8
@MAP_SHARED = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg4znvlow.c'
source_filename = "/tmp/tmpg4znvlow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @run_as_daemon() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @fork()
switch i32 %2, label %5 [
i32 0, label %3
i32 -1, label %4
]
3: ; preds = %0
br label %7
4: ; preds = %0
store i32 -1, ptr %1, align 4
br label %22
5: ; preds = %0
%6 = call i32 @_exit(i32 noundef 0) #3
unreachable
7: ; preds = %3
%8 = call i64 (...) @setsid()
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %7
store i32 -1, ptr %1, align 4
br label %22
11: ; preds = %7
%12 = call i32 (...) @fork()
switch i32 %12, label %15 [
i32 0, label %13
i32 -1, label %14
]
13: ; preds = %11
br label %17
14: ; preds = %11
store i32 -1, ptr %1, align 4
br label %22
15: ; preds = %11
%16 = call i32 @_exit(i32 noundef 0) #3
unreachable
17: ; preds = %13
%18 = call i32 @chdir(ptr noundef @.str)
%19 = call i32 @close_all_fds(i32 noundef 0)
%20 = call i32 @dup(i32 noundef 0)
%21 = call i32 @dup(i32 noundef 0)
store i32 0, ptr %1, align 4
br label %22
22: ; preds = %17, %14, %10, %4
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @fork(...) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i64 @setsid(...) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @close_all_fds(i32 noundef) #1
declare i32 @dup(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpg4znvlow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @run_as_daemon() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @fork()
switch i32 %2, label %5 [
i32 0, label %3
i32 -1, label %4
]
3: ; preds = %0
br label %7
4: ; preds = %0
store i32 -1, ptr %1, align 4
br label %22
5: ; preds = %0
%6 = call i32 @_exit(i32 noundef 0) #3
unreachable
7: ; preds = %3
%8 = call i64 (...) @setsid()
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %7
store i32 -1, ptr %1, align 4
br label %22
11: ; preds = %7
%12 = call i32 (...) @fork()
switch i32 %12, label %15 [
i32 0, label %13
i32 -1, label %14
]
13: ; preds = %11
br label %17
14: ; preds = %11
store i32 -1, ptr %1, align 4
br label %22
15: ; preds = %11
%16 = call i32 @_exit(i32 noundef 0) #3
unreachable
17: ; preds = %13
%18 = call i32 @chdir(ptr noundef @.str)
%19 = call i32 @close_all_fds(i32 noundef 0)
%20 = call i32 @dup(i32 noundef 0)
%21 = call i32 @dup(i32 noundef 0)
store i32 0, ptr %1, align 4
br label %22
22: ; preds = %17, %14, %10, %4
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @fork(...) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #2
declare i64 @setsid(...) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @close_all_fds(i32 noundef) #1
declare i32 @dup(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpt35yurlx.c'
source_filename = "/tmp/tmpt35yurlx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %9, %1
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
store i8 %6, ptr %3, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %4
%10 = load i8, ptr %3, align 1
%11 = call i32 @to_stdout(i8 noundef signext %10)
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %2, align 8
br label %4, !llvm.loop !6
14: ; preds = %4
ret void
}
declare i32 @to_stdout(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt35yurlx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
store i8 %5, ptr %3, align 1
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 0
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i8, ptr %3, align 1
%10 = call i32 @to_stdout(i8 noundef signext %9)
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = load i8, ptr %13, align 1
store i8 %14, ptr %3, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %17
17: ; preds = %._crit_edge, %1
ret void
}
declare i32 @to_stdout(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpp8h5tmbr.c'
source_filename = "/tmp/tmpp8h5tmbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/class/gpio/export\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"gpio/export\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gpio_export(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [11 x i8], align 1
store i32 %0, ptr %3, align 4
%7 = load i32, ptr @O_WRONLY, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str.1)
%13 = load i32, ptr %4, align 4
store i32 %13, ptr %2, align 4
br label %24
14: ; preds = %1
%15 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0
%16 = load i32, ptr %3, align 4
%17 = call i32 @snprintf(ptr noundef %15, i32 noundef 11, ptr noundef @.str.2, i32 noundef %16)
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0
%20 = load i32, ptr %5, align 4
%21 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load i32, ptr %4, align 4
%23 = call i32 @close(i32 noundef %22)
store i32 0, ptr %2, align 4
br label %24
24: ; preds = %14, %11
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 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/tmpp8h5tmbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/class/gpio/export\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"gpio/export\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gpio_export(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [11 x i8], align 1
store i32 %0, ptr %3, align 4
%7 = load i32, ptr @O_WRONLY, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str.1)
%13 = load i32, ptr %4, align 4
store i32 %13, ptr %2, align 4
br label %24
14: ; preds = %1
%15 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0
%16 = load i32, ptr %3, align 4
%17 = call i32 @snprintf(ptr noundef %15, i32 noundef 11, ptr noundef @.str.2, i32 noundef %16)
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0
%20 = load i32, ptr %5, align 4
%21 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load i32, ptr %4, align 4
%23 = call i32 @close(i32 noundef %22)
store i32 0, ptr %2, align 4
br label %24
24: ; preds = %14, %11
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 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/tmp40l_nvok.c'
source_filename = "/tmp/tmp40l_nvok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stricmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
br label %14
14: ; preds = %37, %2
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br label %24
24: ; preds = %19, %14
%25 = phi i1 [ false, %14 ], [ %23, %19 ]
br i1 %25, label %26, label %42
26: ; preds = %24
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %27, align 1
%29 = call i32 @tolower(i8 noundef signext %28)
%30 = load ptr, ptr %4, align 8
%31 = load i8, ptr %30, align 1
%32 = call i32 @tolower(i8 noundef signext %31)
%33 = sub nsw i32 %29, %32
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %26
br label %42
37: ; preds = %26
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %3, align 8
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %4, align 8
br label %14, !llvm.loop !6
42: ; preds = %36, %24
%43 = load ptr, ptr %3, align 8
%44 = load i8, ptr %43, align 1
%45 = call i32 @tolower(i8 noundef signext %44)
%46 = load ptr, ptr %4, align 8
%47 = load i8, ptr %46, align 1
%48 = call i32 @tolower(i8 noundef signext %47)
%49 = sub nsw i32 %45, %48
store i32 %49, ptr %5, align 4
%50 = load i32, ptr %5, align 4
ret i32 %50
}
declare i32 @assert(i32 noundef) #1
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp40l_nvok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stricmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
br label %14
14: ; preds = %37, %2
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br label %24
24: ; preds = %19, %14
%25 = phi i1 [ false, %14 ], [ %23, %19 ]
br i1 %25, label %26, label %.loopexit
26: ; preds = %24
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %27, align 1
%29 = call i32 @tolower(i8 noundef signext %28)
%30 = load ptr, ptr %4, align 8
%31 = load i8, ptr %30, align 1
%32 = call i32 @tolower(i8 noundef signext %31)
%33 = sub nsw i32 %29, %32
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %26
br label %42
37: ; preds = %26
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %3, align 8
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %4, align 8
br label %14, !llvm.loop !6
.loopexit: ; preds = %24
br label %42
42: ; preds = %.loopexit, %36
%43 = load ptr, ptr %3, align 8
%44 = load i8, ptr %43, align 1
%45 = call i32 @tolower(i8 noundef signext %44)
%46 = load ptr, ptr %4, align 8
%47 = load i8, ptr %46, align 1
%48 = call i32 @tolower(i8 noundef signext %47)
%49 = sub nsw i32 %45, %48
store i32 %49, ptr %5, align 4
%50 = load i32, ptr %5, align 4
ret i32 %50
}
declare i32 @assert(i32 noundef) #1
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp44nx8bbj.c'
source_filename = "/tmp/tmp44nx8bbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_child_index(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call i64 @isalpha(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = call i32 @tolower(i32 noundef %9) #3
%11 = sub nsw i32 %10, 97
store i32 %11, ptr %2, align 4
br label %13
12: ; preds = %1
store i32 26, ptr %2, align 4
br label %13
13: ; preds = %12, %8
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @isalpha(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @tolower(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp44nx8bbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_child_index(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call i64 @isalpha(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = call i32 @tolower(i32 noundef %9) #3
%11 = sub nsw i32 %10, 97
store i32 %11, ptr %2, align 4
br label %13
12: ; preds = %1
store i32 26, ptr %2, align 4
br label %13
13: ; preds = %12, %8
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @isalpha(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @tolower(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnlz2ep9h.c'
source_filename = "/tmp/tmpnlz2ep9h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @embaralhar(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%9 = call i32 @time(ptr noundef null)
%10 = call i32 @srand(i32 noundef %9)
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %54, %1
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 100
br i1 %13, label %14, label %57
14: ; preds = %11
%15 = call i32 (...) @rand()
%16 = srem i32 %15, 4
store i32 %16, ptr %3, align 4
%17 = call i32 (...) @rand()
%18 = srem i32 %17, 4
store i32 %18, ptr %4, align 4
%19 = call i32 (...) @rand()
%20 = srem i32 %19, 4
store i32 %20, ptr %5, align 4
%21 = call i32 (...) @rand()
%22 = srem i32 %21, 4
store i32 %22, ptr %6, align 4
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [4 x i32], ptr %23, i64 %25
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [4 x i32], ptr %26, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
store i32 %30, ptr %8, align 4
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [4 x i32], ptr %31, i64 %33
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [4 x i32], ptr %34, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %2, align 8
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [4 x i32], ptr %39, i64 %41
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [4 x i32], ptr %42, i64 0, i64 %44
store i32 %38, ptr %45, align 4
%46 = load i32, ptr %8, align 4
%47 = load ptr, ptr %2, align 8
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [4 x i32], ptr %47, i64 %49
%51 = load i32, ptr %6, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [4 x i32], ptr %50, i64 0, i64 %52
store i32 %46, ptr %53, align 4
br label %54
54: ; preds = %14
%55 = load i32, ptr %7, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %7, align 4
br label %11, !llvm.loop !6
57: ; preds = %11
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnlz2ep9h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @embaralhar(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%9 = call i32 @time(ptr noundef null)
%10 = call i32 @srand(i32 noundef %9)
store i32 0, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %11, 100
br i1 %12, label %.lr.ph, label %58
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %53
%14 = call i32 (...) @rand()
%15 = srem i32 %14, 4
store i32 %15, ptr %3, align 4
%16 = call i32 (...) @rand()
%17 = srem i32 %16, 4
store i32 %17, ptr %4, align 4
%18 = call i32 (...) @rand()
%19 = srem i32 %18, 4
store i32 %19, ptr %5, align 4
%20 = call i32 (...) @rand()
%21 = srem i32 %20, 4
store i32 %21, ptr %6, align 4
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [4 x i32], ptr %22, i64 %24
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [4 x i32], ptr %25, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
store i32 %29, ptr %8, align 4
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [4 x i32], ptr %30, i64 %32
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [4 x i32], ptr %33, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [4 x i32], ptr %38, i64 %40
%42 = load i32, ptr %4, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [4 x i32], ptr %41, i64 0, i64 %43
store i32 %37, ptr %44, align 4
%45 = load i32, ptr %8, align 4
%46 = load ptr, ptr %2, align 8
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [4 x i32], ptr %46, i64 %48
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [4 x i32], ptr %49, i64 0, i64 %51
store i32 %45, ptr %52, align 4
br label %53
53: ; preds = %13
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = icmp slt i32 %56, 100
br i1 %57, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %58
58: ; preds = %._crit_edge, %1
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu7ocq8e5.c'
source_filename = "/tmp/tmpu7ocq8e5.c"
target datalayout = "e-m:e-p270: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/tmpu7ocq8e5.c"
target datalayout = "e-m:e-p270: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/tmpjnjxzpxc.c'
source_filename = "/tmp/tmpjnjxzpxc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%lld%lld%lld\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Case #%d:\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c" %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"false\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 [20 x [3 x i64]], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %27, %0
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %30
11: ; preds = %7
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [20 x [3 x i64]], ptr %3, i64 0, i64 %13
%15 = getelementptr inbounds [3 x i64], ptr %14, i64 0, i64 0
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [20 x [3 x i64]], ptr %3, i64 0, i64 %17
%19 = getelementptr inbounds [3 x i64], ptr %18, i64 0, i64 0
%20 = getelementptr inbounds i64, ptr %19, i64 1
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [20 x [3 x i64]], ptr %3, i64 0, i64 %22
%24 = getelementptr inbounds [3 x i64], ptr %23, i64 0, i64 0
%25 = getelementptr inbounds i64, ptr %24, i64 2
%26 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %15, ptr noundef %20, ptr noundef %25)
br label %27
27: ; preds = %11
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %4, align 4
br label %7, !llvm.loop !6
30: ; preds = %7
store i32 0, ptr %5, align 4
br label %31
31: ; preds = %59, %30
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %62
35: ; preds = %31
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %37)
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [20 x [3 x i64]], ptr %3, i64 0, i64 %40
%42 = getelementptr inbounds [3 x i64], ptr %41, i64 0, i64 0
%43 = load i64, ptr %42, align 8
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [20 x [3 x i64]], ptr %3, i64 0, i64 %45
%47 = getelementptr inbounds [3 x i64], ptr %46, i64 0, i64 1
%48 = load i64, ptr %47, align 8
%49 = add nsw i64 %43, %48
%50 = load i32, ptr %5, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [20 x [3 x i64]], ptr %3, i64 0, i64 %51
%53 = getelementptr inbounds [3 x i64], ptr %52, i64 0, i64 2
%54 = load i64, ptr %53, align 8
%55 = icmp sgt i64 %49, %54
%56 = zext i1 %55 to i64
%57 = select i1 %55, ptr @.str.4, ptr @.str.5
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %57)
br label %59
59: ; preds = %35
%60 = load i32, ptr %5, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %5, align 4
br label %31, !llvm.loop !8
62: ; preds = %31
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjnjxzpxc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%lld%lld%lld\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Case #%d:\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c" %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"false\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 [20 x [3 x i64]], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %26
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [20 x [3 x i64]], ptr %3, i64 0, i64 %12
%14 = getelementptr inbounds [3 x i64], ptr %13, i64 0, i64 0
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [20 x [3 x i64]], ptr %3, i64 0, i64 %16
%18 = getelementptr inbounds [3 x i64], ptr %17, i64 0, i64 0
%19 = getelementptr inbounds i64, ptr %18, i64 1
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [20 x [3 x i64]], ptr %3, i64 0, i64 %21
%23 = getelementptr inbounds [3 x i64], ptr %22, i64 0, i64 0
%24 = getelementptr inbounds i64, ptr %23, i64 2
%25 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %14, ptr noundef %19, ptr noundef %24)
br label %26
26: ; preds = %10
%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 slt i32 %29, %30
br i1 %31, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph2, label %66
.lr.ph2: ; preds = %32
br label %36
36: ; preds = %.lr.ph2, %60
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %38)
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [20 x [3 x i64]], ptr %3, i64 0, i64 %41
%43 = getelementptr inbounds [3 x i64], ptr %42, i64 0, i64 0
%44 = load i64, ptr %43, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [20 x [3 x i64]], ptr %3, i64 0, i64 %46
%48 = getelementptr inbounds [3 x i64], ptr %47, i64 0, i64 1
%49 = load i64, ptr %48, align 8
%50 = add nsw i64 %44, %49
%51 = load i32, ptr %5, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [20 x [3 x i64]], ptr %3, i64 0, i64 %52
%54 = getelementptr inbounds [3 x i64], ptr %53, i64 0, i64 2
%55 = load i64, ptr %54, align 8
%56 = icmp sgt i64 %50, %55
%57 = zext i1 %56 to i64
%58 = select i1 %56, ptr @.str.4, ptr @.str.5
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %58)
br label %60
60: ; preds = %36
%61 = load i32, ptr %5, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %5, align 4
%63 = load i32, ptr %5, align 4
%64 = load i32, ptr %2, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %60
br label %66
66: ; preds = %._crit_edge3, %32
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpp5wakvaw.c'
source_filename = "/tmp/tmpp5wakvaw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"row %i, col %i\0A\00", align 1
@.str.1 = private unnamed_addr constant [55 x i8] c"1. Te puedes comer la ficha %c de la posici\C3\B3n %i, %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tower_check(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%11 = load i32, ptr %5, align 4
%12 = trunc i32 %11 to i8
%13 = load i32, ptr %6, align 4
%14 = call i32 (ptr, i8, i32, ...) @printf(ptr noundef @.str, i8 noundef signext %12, i32 noundef %13)
store i32 1, ptr %8, align 4
br label %15
15: ; preds = %45, %3
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %8, align 4
%18 = add nsw i32 %16, %17
%19 = icmp slt i32 %18, 8
br i1 %19, label %20, label %48
20: ; preds = %15
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %22, %23
%25 = load ptr, ptr %7, align 8
%26 = call i32 @is_empty(i32 noundef %21, i32 noundef %24, ptr noundef %25)
%27 = icmp ne i32 %26, 0
br i1 %27, label %44, label %28
28: ; preds = %20
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [8 x i8], ptr %29, i64 %31
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %33, %34
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [8 x i8], ptr %32, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %40, %41
%43 = call i32 (ptr, i8, i32, ...) @printf(ptr noundef @.str.1, i8 noundef signext %38, i32 noundef %39, i32 noundef %42)
br label %44
44: ; preds = %28, %20
br label %48
45: ; No predecessors!
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
br label %15, !llvm.loop !6
48: ; preds = %44, %15
store i32 1, ptr %9, align 4
br label %49
49: ; preds = %79, %48
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %9, align 4
%52 = sub nsw i32 %50, %51
%53 = icmp sge i32 %52, 0
br i1 %53, label %54, label %82
54: ; preds = %49
%55 = load i32, ptr %5, align 4
%56 = load i32, ptr %6, align 4
%57 = load i32, ptr %9, align 4
%58 = sub nsw i32 %56, %57
%59 = load ptr, ptr %7, align 8
%60 = call i32 @is_empty(i32 noundef %55, i32 noundef %58, ptr noundef %59)
%61 = icmp ne i32 %60, 0
br i1 %61, label %78, label %62
62: ; preds = %54
%63 = load ptr, ptr %7, align 8
%64 = load i32, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [8 x i8], ptr %63, i64 %65
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr %9, align 4
%69 = sub nsw i32 %67, %68
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [8 x i8], ptr %66, i64 0, i64 %70
%72 = load i8, ptr %71, align 1
%73 = load i32, ptr %5, align 4
%74 = load i32, ptr %6, align 4
%75 = load i32, ptr %9, align 4
%76 = sub nsw i32 %74, %75
%77 = call i32 (ptr, i8, i32, ...) @printf(ptr noundef @.str.1, i8 noundef signext %72, i32 noundef %73, i32 noundef %76)
br label %78
78: ; preds = %62, %54
br label %82
79: ; No predecessors!
%80 = load i32, ptr %9, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %9, align 4
br label %49, !llvm.loop !8
82: ; preds = %78, %49
store i32 1, ptr %10, align 4
br label %83
83: ; preds = %113, %82
%84 = load i32, ptr %5, align 4
%85 = load i32, ptr %10, align 4
%86 = sub nsw i32 %84, %85
%87 = icmp sge i32 %86, 0
br i1 %87, label %88, label %116
88: ; preds = %83
%89 = load i32, ptr %5, align 4
%90 = load i32, ptr %10, align 4
%91 = sub nsw i32 %89, %90
%92 = load i32, ptr %6, align 4
%93 = load ptr, ptr %7, align 8
%94 = call i32 @is_empty(i32 noundef %91, i32 noundef %92, ptr noundef %93)
%95 = icmp ne i32 %94, 0
br i1 %95, label %112, label %96
96: ; preds = %88
%97 = load ptr, ptr %7, align 8
%98 = load i32, ptr %5, align 4
%99 = load i32, ptr %10, align 4
%100 = sub nsw i32 %98, %99
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [8 x i8], ptr %97, i64 %101
%103 = load i32, ptr %6, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [8 x i8], ptr %102, i64 0, i64 %104
%106 = load i8, ptr %105, align 1
%107 = load i32, ptr %5, align 4
%108 = load i32, ptr %10, align 4
%109 = sub nsw i32 %107, %108
%110 = load i32, ptr %6, align 4
%111 = call i32 (ptr, i8, i32, ...) @printf(ptr noundef @.str.1, i8 noundef signext %106, i32 noundef %109, i32 noundef %110)
br label %112
112: ; preds = %96, %88
br label %116
113: ; No predecessors!
%114 = load i32, ptr %10, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %10, align 4
br label %83, !llvm.loop !9
116: ; preds = %112, %83
%117 = load i32, ptr %4, align 4
ret i32 %117
}
declare i32 @printf(ptr noundef, i8 noundef signext, i32 noundef, ...) #1
declare i32 @is_empty(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp5wakvaw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"row %i, col %i\0A\00", align 1
@.str.1 = private unnamed_addr constant [55 x i8] c"1. Te puedes comer la ficha %c de la posici\C3\B3n %i, %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tower_check(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%11 = load i32, ptr %5, align 4
%12 = trunc i32 %11 to i8
%13 = load i32, ptr %6, align 4
%14 = call i32 (ptr, i8, i32, ...) @printf(ptr noundef @.str, i8 noundef signext %12, i32 noundef %13)
store i32 1, ptr %8, align 4
br label %15
15: ; preds = %45, %3
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %8, align 4
%18 = add nsw i32 %16, %17
%19 = icmp slt i32 %18, 8
br i1 %19, label %20, label %48
20: ; preds = %15
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %22, %23
%25 = load ptr, ptr %7, align 8
%26 = call i32 @is_empty(i32 noundef %21, i32 noundef %24, ptr noundef %25)
%27 = icmp ne i32 %26, 0
br i1 %27, label %44, label %28
28: ; preds = %20
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [8 x i8], ptr %29, i64 %31
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %33, %34
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [8 x i8], ptr %32, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %40, %41
%43 = call i32 (ptr, i8, i32, ...) @printf(ptr noundef @.str.1, i8 noundef signext %38, i32 noundef %39, i32 noundef %42)
br label %44
44: ; preds = %28, %20
br label %48
45: ; No predecessors!
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
br label %15, !llvm.loop !6
48: ; preds = %44, %15
store i32 1, ptr %9, align 4
br label %49
49: ; preds = %79, %48
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %9, align 4
%52 = sub nsw i32 %50, %51
%53 = icmp sge i32 %52, 0
br i1 %53, label %54, label %82
54: ; preds = %49
%55 = load i32, ptr %5, align 4
%56 = load i32, ptr %6, align 4
%57 = load i32, ptr %9, align 4
%58 = sub nsw i32 %56, %57
%59 = load ptr, ptr %7, align 8
%60 = call i32 @is_empty(i32 noundef %55, i32 noundef %58, ptr noundef %59)
%61 = icmp ne i32 %60, 0
br i1 %61, label %78, label %62
62: ; preds = %54
%63 = load ptr, ptr %7, align 8
%64 = load i32, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [8 x i8], ptr %63, i64 %65
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr %9, align 4
%69 = sub nsw i32 %67, %68
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [8 x i8], ptr %66, i64 0, i64 %70
%72 = load i8, ptr %71, align 1
%73 = load i32, ptr %5, align 4
%74 = load i32, ptr %6, align 4
%75 = load i32, ptr %9, align 4
%76 = sub nsw i32 %74, %75
%77 = call i32 (ptr, i8, i32, ...) @printf(ptr noundef @.str.1, i8 noundef signext %72, i32 noundef %73, i32 noundef %76)
br label %78
78: ; preds = %62, %54
br label %82
79: ; No predecessors!
%80 = load i32, ptr %9, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %9, align 4
br label %49, !llvm.loop !8
82: ; preds = %78, %49
store i32 1, ptr %10, align 4
br label %83
83: ; preds = %113, %82
%84 = load i32, ptr %5, align 4
%85 = load i32, ptr %10, align 4
%86 = sub nsw i32 %84, %85
%87 = icmp sge i32 %86, 0
br i1 %87, label %88, label %116
88: ; preds = %83
%89 = load i32, ptr %5, align 4
%90 = load i32, ptr %10, align 4
%91 = sub nsw i32 %89, %90
%92 = load i32, ptr %6, align 4
%93 = load ptr, ptr %7, align 8
%94 = call i32 @is_empty(i32 noundef %91, i32 noundef %92, ptr noundef %93)
%95 = icmp ne i32 %94, 0
br i1 %95, label %112, label %96
96: ; preds = %88
%97 = load ptr, ptr %7, align 8
%98 = load i32, ptr %5, align 4
%99 = load i32, ptr %10, align 4
%100 = sub nsw i32 %98, %99
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [8 x i8], ptr %97, i64 %101
%103 = load i32, ptr %6, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [8 x i8], ptr %102, i64 0, i64 %104
%106 = load i8, ptr %105, align 1
%107 = load i32, ptr %5, align 4
%108 = load i32, ptr %10, align 4
%109 = sub nsw i32 %107, %108
%110 = load i32, ptr %6, align 4
%111 = call i32 (ptr, i8, i32, ...) @printf(ptr noundef @.str.1, i8 noundef signext %106, i32 noundef %109, i32 noundef %110)
br label %112
112: ; preds = %96, %88
br label %116
113: ; No predecessors!
%114 = load i32, ptr %10, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %10, align 4
br label %83, !llvm.loop !9
116: ; preds = %112, %83
%117 = load i32, ptr %4, align 4
ret i32 %117
}
declare i32 @printf(ptr noundef, i8 noundef signext, i32 noundef, ...) #1
declare i32 @is_empty(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp8phb92mc.c'
source_filename = "/tmp/tmp8phb92mc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000001 x i8], align 16
%3 = alloca [1000001 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %8
8: ; preds = %79, %0
%9 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 0
%10 = load i32, ptr @stdin, align 4
%11 = call ptr @fgets(ptr noundef %9, i32 noundef 1000001, i32 noundef %10)
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %92
13: ; preds = %8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %4, align 4
br label %14
14: ; preds = %76, %13
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %79
21: ; preds = %14
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = call i64 @isdigit(i8 noundef signext %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %37
28: ; preds = %21
%29 = load i32, ptr %4, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = sub nsw i32 %33, 48
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, %34
store i32 %36, ptr %6, align 4
br label %75
37: ; preds = %21
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 98
br i1 %48, label %49, label %50
49: ; preds = %37
store i32 32, ptr %7, align 4
br label %59
50: ; preds = %37
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 33
br i1 %56, label %57, label %58
57: ; preds = %50
store i32 10, ptr %7, align 4
store i32 1, ptr %6, align 4
br label %58
58: ; preds = %57, %50
br label %59
59: ; preds = %58, %49
br label %60
60: ; preds = %71, %59
%61 = load i32, ptr %6, align 4
%62 = icmp sgt i32 %61, 0
br i1 %62, label %63, label %74
63: ; preds = %60
%64 = load i32, ptr %7, align 4
%65 = trunc i32 %64 to i8
%66 = load i32, ptr %5, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [1000001 x i8], ptr %3, i64 0, i64 %67
store i8 %65, ptr %68, align 1
%69 = load i32, ptr %5, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %5, align 4
br label %71
71: ; preds = %63
%72 = load i32, ptr %6, align 4
%73 = add nsw i32 %72, -1
store i32 %73, ptr %6, align 4
br label %60, !llvm.loop !6
74: ; preds = %60
br label %75
75: ; preds = %74, %28
br label %76
76: ; preds = %75
%77 = load i32, ptr %4, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %4, align 4
br label %14, !llvm.loop !8
79: ; preds = %14
%80 = load i32, ptr %5, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [1000001 x i8], ptr %3, i64 0, i64 %81
store i8 10, ptr %82, align 1
%83 = load i32, ptr %5, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %5, align 4
%85 = load i32, ptr %5, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [1000001 x i8], ptr %3, i64 0, i64 %86
store i8 0, ptr %87, align 1
%88 = load i32, ptr %5, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %5, align 4
%90 = getelementptr inbounds [1000001 x i8], ptr %3, i64 0, i64 0
%91 = call i32 @printf(ptr noundef @.str, ptr noundef %90)
br label %8, !llvm.loop !9
92: ; preds = %8
ret i32 0
}
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8phb92mc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000001 x i8], align 16
%3 = alloca [1000001 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call ptr @fgets(ptr noundef %8, i32 noundef 1000001, i32 noundef %9)
%11 = icmp ne ptr %10, null
br i1 %11, label %.lr.ph5, label %100
.lr.ph5: ; preds = %0
br label %12
12: ; preds = %.lr.ph5, %84
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %.lr.ph2, label %84
.lr.ph2: ; preds = %12
br label %19
19: ; preds = %.lr.ph2, %75
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = call i64 @isdigit(i8 noundef signext %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %35
26: ; preds = %19
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = sub nsw i32 %31, 48
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, %32
store i32 %34, ptr %6, align 4
br label %74
35: ; preds = %19
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %4, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 98
br i1 %46, label %47, label %48
47: ; preds = %35
store i32 32, ptr %7, align 4
br label %57
48: ; preds = %35
%49 = load i32, ptr %4, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 33
br i1 %54, label %55, label %56
55: ; preds = %48
store i32 10, ptr %7, align 4
store i32 1, ptr %6, align 4
br label %56
56: ; preds = %55, %48
br label %57
57: ; preds = %56, %47
%58 = load i32, ptr %6, align 4
%59 = icmp sgt i32 %58, 0
br i1 %59, label %.lr.ph, label %73
.lr.ph: ; preds = %57
br label %60
60: ; preds = %.lr.ph, %68
%61 = load i32, ptr %7, align 4
%62 = trunc i32 %61 to i8
%63 = load i32, ptr %5, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [1000001 x i8], ptr %3, i64 0, i64 %64
store i8 %62, ptr %65, align 1
%66 = load i32, ptr %5, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %5, align 4
br label %68
68: ; preds = %60
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 %69, -1
store i32 %70, ptr %6, align 4
%71 = load i32, ptr %6, align 4
%72 = icmp sgt i32 %71, 0
br i1 %72, label %60, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %68
br label %73
73: ; preds = %._crit_edge, %57
br label %74
74: ; preds = %73, %26
br label %75
75: ; preds = %74
%76 = load i32, ptr %4, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %4, align 4
%78 = load i32, ptr %4, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [1000001 x i8], ptr %2, i64 0, i64 %79
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
%83 = icmp ne i32 %82, 0
br i1 %83, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %75
br label %84
84: ; preds = %._crit_edge3, %12
%85 = load i32, ptr %5, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [1000001 x i8], ptr %3, i64 0, i64 %86
store i8 10, ptr %87, align 1
%88 = load i32, ptr %5, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %5, align 4
%90 = load i32, ptr %5, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [1000001 x i8], ptr %3, i64 0, i64 %91
store i8 0, ptr %92, align 1
%93 = load i32, ptr %5, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %5, align 4
%95 = getelementptr inbounds [1000001 x i8], ptr %3, i64 0, i64 0
%96 = call i32 @printf(ptr noundef @.str, ptr noundef %95)
%97 = load i32, ptr @stdin, align 4
%98 = call ptr @fgets(ptr noundef %8, i32 noundef 1000001, i32 noundef %97)
%99 = icmp ne ptr %98, null
br i1 %99, label %12, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %84
br label %100
100: ; preds = %._crit_edge6, %0
ret i32 0
}
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp3pk4lji1.c'
source_filename = "/tmp/tmp3pk4lji1.c"
target datalayout = "e-m:e-p270: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/tmp3pk4lji1.c"
target datalayout = "e-m:e-p270: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/tmpuf5n6dnc.c'
source_filename = "/tmp/tmpuf5n6dnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel101nf_f77_single(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77skernel101nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77skernel101nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuf5n6dnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel101nf_f77_single(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77skernel101nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77skernel101nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp945108e7.c'
source_filename = "/tmp/tmp945108e7.c"
target datalayout = "e-m:e-p270: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/tmp945108e7.c"
target datalayout = "e-m:e-p270: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/tmplc3tgyg9.c'
source_filename = "/tmp/tmplc3tgyg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_1970_ms_0_am() #0 {
%1 = call i32 (...) @get_1970_sec_0_am()
%2 = mul nsw i32 %1, 1000
ret i32 %2
}
declare i32 @get_1970_sec_0_am(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplc3tgyg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_1970_ms_0_am() #0 {
%1 = call i32 (...) @get_1970_sec_0_am()
%2 = mul nsw i32 %1, 1000
ret i32 %2
}
declare i32 @get_1970_sec_0_am(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk6mwxgds.c'
source_filename = "/tmp/tmpk6mwxgds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOENT = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk6mwxgds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOENT = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphcookw_q.c'
source_filename = "/tmp/tmphcookw_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Great day! %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Leave me in peace %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 0, ptr %2, align 4
br i1 false, label %3, label %6
3: ; preds = %0
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
br label %9
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7)
br label %9
9: ; preds = %6, %3
%10 = load i32, ptr %1, align 4
ret i32 %10
}
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/tmphcookw_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Great day! %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Leave me in peace %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 0, ptr %2, align 4
br i1 false, label %3, label %6
3: ; preds = %0
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
br label %9
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7)
br label %9
9: ; preds = %6, %3
%10 = load i32, ptr %1, align 4
ret i32 %10
}
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/tmp9lv__74k.c'
source_filename = "/tmp/tmp9lv__74k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strremplaceSpace(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 [1000 x i8], align 16
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 0
%10 = call i32 @treset(ptr noundef %9)
store i32 0, ptr %5, align 4
store i8 97, ptr %8, align 1
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %31, %2
%12 = load i8, ptr %8, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %34
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
store i8 %20, ptr %8, align 1
%21 = load i8, ptr %8, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 32
br i1 %23, label %24, label %31
24: ; preds = %15
%25 = load i8, ptr %8, align 1
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 %27
store i8 %25, ptr %28, align 1
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %31
31: ; preds = %24, %15
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %11, !llvm.loop !6
34: ; preds = %11
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 0
%37 = call i32 @strcpy(ptr noundef %35, ptr noundef %36)
ret void
}
declare i32 @treset(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9lv__74k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strremplaceSpace(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 [1000 x i8], align 16
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 0
%10 = call i32 @treset(ptr noundef %9)
store i32 0, ptr %5, align 4
store i8 97, ptr %8, align 1
store i32 0, ptr %6, align 4
%11 = load i8, ptr %8, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %36
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %30
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
store i8 %19, ptr %8, align 1
%20 = load i8, ptr %8, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 32
br i1 %22, label %23, label %30
23: ; preds = %14
%24 = load i8, ptr %8, align 1
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 %26
store i8 %24, ptr %27, align 1
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
br label %30
30: ; preds = %23, %14
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
%33 = load i8, ptr %8, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br i1 %35, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %2
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds [1000 x i8], ptr %7, i64 0, i64 0
%39 = call i32 @strcpy(ptr noundef %37, ptr noundef %38)
ret void
}
declare i32 @treset(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpatf47si9.c'
source_filename = "/tmp/tmpatf47si9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
br label %7
7: ; preds = %11, %0
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %2, align 4
%10 = icmp sgt i32 %8, 0
br i1 %10, label %11, label %28
11: ; preds = %7
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4)
%13 = load i32, ptr %3, align 4
%14 = sub nsw i32 %13, 2
%15 = sitofp i32 %14 to double
%16 = fdiv double %15, 3.000000e+00
%17 = fptosi double %16 to i32
%18 = call i32 @ceil(i32 noundef %17)
%19 = load i32, ptr %4, align 4
%20 = sub nsw i32 %19, 2
%21 = sitofp i32 %20 to double
%22 = fdiv double %21, 3.000000e+00
%23 = fptosi double %22 to i32
%24 = call i32 @ceil(i32 noundef %23)
%25 = mul nsw i32 %18, %24
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = call i32 @printf(ptr noundef @.str.2, i32 noundef %26)
br label %7, !llvm.loop !6
28: ; preds = %7
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @ceil(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpatf47si9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, -1
store i32 %8, ptr %2, align 4
%9 = icmp sgt i32 %7, 0
br i1 %9, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %10
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4)
%12 = load i32, ptr %3, align 4
%13 = sub nsw i32 %12, 2
%14 = sitofp i32 %13 to double
%15 = fdiv double %14, 3.000000e+00
%16 = fptosi double %15 to i32
%17 = call i32 @ceil(i32 noundef %16)
%18 = load i32, ptr %4, align 4
%19 = sub nsw i32 %18, 2
%20 = sitofp i32 %19 to double
%21 = fdiv double %20, 3.000000e+00
%22 = fptosi double %21 to i32
%23 = call i32 @ceil(i32 noundef %22)
%24 = mul nsw i32 %17, %23
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = call i32 @printf(ptr noundef @.str.2, i32 noundef %25)
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %2, align 4
%29 = icmp sgt i32 %27, 0
br i1 %29, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %30
30: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @ceil(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp89mx0v16.c'
source_filename = "/tmp/tmp89mx0v16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IO_Read_BE_ULONGS(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br label %16
16: ; preds = %13, %10, %3
%17 = phi i1 [ false, %10 ], [ false, %3 ], [ %15, %13 ]
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
br label %20
20: ; preds = %29, %16
%21 = load i32, ptr %6, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %23, label %34
23: ; preds = %20
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %7, align 8
%26 = call i32 @IO_Read_BE_ULONG(ptr noundef %24, ptr noundef %25)
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %23
store i32 0, ptr %4, align 4
br label %35
29: ; preds = %23
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds i64, ptr %30, i32 1
store ptr %31, ptr %5, align 8
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %6, align 4
br label %20, !llvm.loop !6
34: ; preds = %20
store i32 1, ptr %4, align 4
br label %35
35: ; preds = %34, %28
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i32 @assert(i32 noundef) #1
declare i32 @IO_Read_BE_ULONG(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/tmp89mx0v16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IO_Read_BE_ULONGS(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %3
%11 = load i32, ptr %6, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br label %16
16: ; preds = %13, %10, %3
%17 = phi i1 [ false, %10 ], [ false, %3 ], [ %15, %13 ]
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
%20 = load i32, ptr %6, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %.lr.ph, label %35
.lr.ph: ; preds = %16
br label %22
22: ; preds = %.lr.ph, %28
%23 = load ptr, ptr %5, align 8
%24 = load ptr, ptr %7, align 8
%25 = call i32 @IO_Read_BE_ULONG(ptr noundef %23, ptr noundef %24)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %22
store i32 0, ptr %4, align 4
br label %36
28: ; preds = %22
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i64, ptr %29, i32 1
store ptr %30, ptr %5, align 8
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %35
35: ; preds = %._crit_edge, %16
store i32 1, ptr %4, align 4
br label %36
36: ; preds = %35, %27
%37 = load i32, ptr %4, align 4
ret i32 %37
}
declare i32 @assert(i32 noundef) #1
declare i32 @IO_Read_BE_ULONG(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/tmp00ad0mhr.c'
source_filename = "/tmp/tmp00ad0mhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr_base(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp uge i64 %5, %6
br i1 %7, label %8, label %17
8: ; preds = %2
%9 = load i64, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = udiv i64 %9, %10
%12 = load i64, ptr %4, align 8
call void @ft_putnbr_base(i64 noundef %11, i64 noundef %12)
%13 = load i64, ptr %3, align 8
%14 = load i64, ptr %4, align 8
%15 = urem i64 %13, %14
%16 = load i64, ptr %4, align 8
call void @ft_putnbr_base(i64 noundef %15, i64 noundef %16)
br label %30
17: ; preds = %2
%18 = load i64, ptr %3, align 8
%19 = icmp ult i64 %18, 10
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load i64, ptr %3, align 8
%22 = add i64 %21, 48
%23 = call i32 @ft_putchar(i64 noundef %22)
br label %29
24: ; preds = %17
%25 = load i64, ptr %3, align 8
%26 = sub i64 %25, 10
%27 = add i64 %26, 97
%28 = call i32 @ft_putchar(i64 noundef %27)
br label %29
29: ; preds = %24, %20
br label %30
30: ; preds = %29, %8
ret void
}
declare i32 @ft_putchar(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/tmp00ad0mhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr_base(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp uge i64 %5, %6
br i1 %7, label %8, label %17
8: ; preds = %2
%9 = load i64, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = udiv i64 %9, %10
%12 = load i64, ptr %4, align 8
call void @ft_putnbr_base(i64 noundef %11, i64 noundef %12)
%13 = load i64, ptr %3, align 8
%14 = load i64, ptr %4, align 8
%15 = urem i64 %13, %14
%16 = load i64, ptr %4, align 8
call void @ft_putnbr_base(i64 noundef %15, i64 noundef %16)
br label %30
17: ; preds = %2
%18 = load i64, ptr %3, align 8
%19 = icmp ult i64 %18, 10
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load i64, ptr %3, align 8
%22 = add i64 %21, 48
%23 = call i32 @ft_putchar(i64 noundef %22)
br label %29
24: ; preds = %17
%25 = load i64, ptr %3, align 8
%26 = sub i64 %25, 10
%27 = add i64 %26, 97
%28 = call i32 @ft_putchar(i64 noundef %27)
br label %29
29: ; preds = %24, %20
br label %30
30: ; preds = %29, %8
ret void
}
declare i32 @ft_putchar(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/tmp8nngljdp.c'
source_filename = "/tmp/tmp8nngljdp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @alpha_reshape(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %22
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = sitofp i32 %15 to double
%17 = fmul double 1.000000e+00, %16
%18 = load i32, ptr %3, align 4
%19 = sitofp i32 %18 to double
%20 = fdiv double %17, %19
%21 = call i32 @gluOrtho2D(double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef %20)
br label %30
22: ; preds = %2
%23 = load i32, ptr %4, align 4
%24 = sitofp i32 %23 to double
%25 = fmul double 1.000000e+00, %24
%26 = load i32, ptr %3, align 4
%27 = sitofp i32 %26 to double
%28 = fdiv double %25, %27
%29 = call i32 @gluOrtho2D(double noundef 0.000000e+00, double noundef %28, double noundef 0.000000e+00, double noundef 1.000000e+00)
br label %30
30: ; preds = %22, %14
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluOrtho2D(double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8nngljdp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @alpha_reshape(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %22
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = sitofp i32 %15 to double
%17 = fmul double 1.000000e+00, %16
%18 = load i32, ptr %3, align 4
%19 = sitofp i32 %18 to double
%20 = fdiv double %17, %19
%21 = call i32 @gluOrtho2D(double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef %20)
br label %30
22: ; preds = %2
%23 = load i32, ptr %4, align 4
%24 = sitofp i32 %23 to double
%25 = fmul double 1.000000e+00, %24
%26 = load i32, ptr %3, align 4
%27 = sitofp i32 %26 to double
%28 = fdiv double %25, %27
%29 = call i32 @gluOrtho2D(double noundef 0.000000e+00, double noundef %28, double noundef 0.000000e+00, double noundef 1.000000e+00)
br label %30
30: ; preds = %22, %14
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluOrtho2D(double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf86gqu5j.c'
source_filename = "/tmp/tmpf86gqu5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unpack(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i8 0, ptr %9, align 1
store i8 0, ptr %10, align 1
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %49, %3
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %52
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = and i32 %21, 240
%23 = ashr i32 %22, 4
%24 = trunc i32 %23 to i8
store i8 %24, ptr %9, align 1
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = zext i8 %29 to i32
%31 = and i32 %30, 15
%32 = trunc i32 %31 to i8
store i8 %32, ptr %10, align 1
%33 = load i8, ptr %9, align 1
%34 = call zeroext i8 @getUChar(i8 noundef zeroext %33)
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
store i8 %34, ptr %38, align 1
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
%41 = load i8, ptr %10, align 1
%42 = call zeroext i8 @getUChar(i8 noundef zeroext %41)
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 %42, ptr %46, align 1
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
br label %49
49: ; preds = %15
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %8, align 4
br label %11, !llvm.loop !6
52: ; preds = %11
ret void
}
declare zeroext i8 @getUChar(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf86gqu5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unpack(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i8 0, ptr %9, align 1
store i8 0, ptr %10, align 1
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %54
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %48
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = and i32 %20, 240
%22 = ashr i32 %21, 4
%23 = trunc i32 %22 to i8
store i8 %23, ptr %9, align 1
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = and i32 %29, 15
%31 = trunc i32 %30 to i8
store i8 %31, ptr %10, align 1
%32 = load i8, ptr %9, align 1
%33 = call zeroext i8 @getUChar(i8 noundef zeroext %32)
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
store i8 %33, ptr %37, align 1
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
%40 = load i8, ptr %10, align 1
%41 = call zeroext i8 @getUChar(i8 noundef zeroext %40)
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 %41, ptr %45, align 1
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
br label %48
48: ; preds = %14
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %8, align 4
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr %5, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %3
ret void
}
declare zeroext i8 @getUChar(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcduxfhmg.c'
source_filename = "/tmp/tmpcduxfhmg.c"
target datalayout = "e-m:e-p270: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/tmpcduxfhmg.c"
target datalayout = "e-m:e-p270: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/tmp8fyd78fy.c'
source_filename = "/tmp/tmp8fyd78fy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"%s %d: signal %d received\0A\00", align 1
@.str.1 = private unnamed_addr constant [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/clpsz/linux-ipcs/refs/heads/master/signal/main.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sigusr1_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %3
3: ; preds = %1
%4 = load i32, ptr @stderr, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 14, i32 noundef %5)
br label %7
7: ; preds = %3
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8fyd78fy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"%s %d: signal %d received\0A\00", align 1
@.str.1 = private unnamed_addr constant [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/clpsz/linux-ipcs/refs/heads/master/signal/main.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sigusr1_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %3
3: ; preds = %1
%4 = load i32, ptr @stderr, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 14, i32 noundef %5)
br label %7
7: ; preds = %3
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpts52jf_j.c'
source_filename = "/tmp/tmpts52jf_j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @server(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @server(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/tmpts52jf_j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @server(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @server(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/tmp2djr6tp4.c'
source_filename = "/tmp/tmp2djr6tp4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @exist_file(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load i64, ptr @errno, align 8
%10 = load i64, ptr @ENOENT, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %15
13: ; preds = %8
br label %14
14: ; preds = %13, %1
store i32 1, ptr %2, align 4
br label %15
15: ; preds = %14, %12
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @stat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2djr6tp4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @exist_file(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load i64, ptr @errno, align 8
%10 = load i64, ptr @ENOENT, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %15
13: ; preds = %8
br label %14
14: ; preds = %13, %1
store i32 1, ptr %2, align 4
br label %15
15: ; preds = %14, %12
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @stat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4sfxmcrm.c'
source_filename = "/tmp/tmp4sfxmcrm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Original list\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"-----------------------------\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Reverted list\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Inplace Reverted list\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call ptr @list_constructor_tail(i32 noundef 10)
store ptr %9, ptr %6, align 8
%10 = call i32 @printf(ptr noundef @.str)
%11 = load ptr, ptr %6, align 8
%12 = call i32 @list_print(ptr noundef %11)
%13 = call i32 @printf(ptr noundef @.str.1)
%14 = load ptr, ptr %6, align 8
%15 = call ptr @list_reverse(ptr noundef %14)
store ptr %15, ptr %7, align 8
%16 = call i32 @printf(ptr noundef @.str.2)
%17 = load ptr, ptr %7, align 8
%18 = call i32 @list_print(ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @list_print(ptr noundef %19)
%21 = call i32 @printf(ptr noundef @.str.1)
%22 = call i32 @list_reverse_inplace(ptr noundef %6)
%23 = call i32 @printf(ptr noundef @.str.3)
%24 = load ptr, ptr %6, align 8
%25 = call i32 @list_print(ptr noundef %24)
ret i32 0
}
declare ptr @list_constructor_tail(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @list_print(ptr noundef) #1
declare ptr @list_reverse(ptr noundef) #1
declare i32 @list_reverse_inplace(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4sfxmcrm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Original list\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"-----------------------------\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Reverted list\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Inplace Reverted list\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call ptr @list_constructor_tail(i32 noundef 10)
store ptr %9, ptr %6, align 8
%10 = call i32 @printf(ptr noundef @.str)
%11 = load ptr, ptr %6, align 8
%12 = call i32 @list_print(ptr noundef %11)
%13 = call i32 @printf(ptr noundef @.str.1)
%14 = load ptr, ptr %6, align 8
%15 = call ptr @list_reverse(ptr noundef %14)
store ptr %15, ptr %7, align 8
%16 = call i32 @printf(ptr noundef @.str.2)
%17 = load ptr, ptr %7, align 8
%18 = call i32 @list_print(ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @list_print(ptr noundef %19)
%21 = call i32 @printf(ptr noundef @.str.1)
%22 = call i32 @list_reverse_inplace(ptr noundef %6)
%23 = call i32 @printf(ptr noundef @.str.3)
%24 = load ptr, ptr %6, align 8
%25 = call i32 @list_print(ptr noundef %24)
ret i32 0
}
declare ptr @list_constructor_tail(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @list_print(ptr noundef) #1
declare ptr @list_reverse(ptr noundef) #1
declare i32 @list_reverse_inplace(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9fufltsv.c'
source_filename = "/tmp/tmp9fufltsv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uint32ToInt16(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
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %3, align 4
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9fufltsv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uint32ToInt16(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
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %3, align 4
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ngkolfz.c'
source_filename = "/tmp/tmp8ngkolfz.c"
target datalayout = "e-m:e-p270: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/tmp8ngkolfz.c"
target datalayout = "e-m:e-p270: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/tmpnd9plt_u.c'
source_filename = "/tmp/tmpnd9plt_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_document(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %33, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %34
10: ; preds = %5
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %4, align 4
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = mul i64 8, %15
%17 = trunc i64 %16 to i32
%18 = call ptr @realloc(ptr noundef %13, i32 noundef %17)
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %2, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = getelementptr inbounds ptr, ptr %23, i64 -1
%25 = call ptr @get_paragraph(ptr noundef %19, ptr noundef %24)
store ptr %25, ptr %2, align 8
%26 = load ptr, ptr %2, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 10
br i1 %29, label %30, label %33
30: ; preds = %10
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %2, align 8
br label %33
33: ; preds = %30, %10
br label %5, !llvm.loop !6
34: ; preds = %5
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare ptr @get_paragraph(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/tmpnd9plt_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_document(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 0
br i1 %8, label %.lr.ph, label %37
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %32
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %4, align 4
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 8, %14
%16 = trunc i64 %15 to i32
%17 = call ptr @realloc(ptr noundef %12, i32 noundef %16)
store ptr %17, ptr %3, align 8
%18 = load ptr, ptr %2, align 8
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = getelementptr inbounds ptr, ptr %22, i64 -1
%24 = call ptr @get_paragraph(ptr noundef %18, ptr noundef %23)
store ptr %24, ptr %2, align 8
%25 = load ptr, ptr %2, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 10
br i1 %28, label %29, label %32
29: ; preds = %9
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %2, align 8
br label %32
32: ; preds = %29, %9
%33 = load ptr, ptr %2, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 0
br i1 %36, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %37
37: ; preds = %._crit_edge, %1
%38 = load ptr, ptr %3, align 8
ret ptr %38
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare ptr @get_paragraph(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/tmptbn9_5el.c'
source_filename = "/tmp/tmptbn9_5el.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [1 x double] [double 0x3FE6666666666666], align 8
@__const.main.p = private unnamed_addr constant [1 x double] [double 2.000000e+00], align 8
@__const.main.q = private unnamed_addr constant [1 x double] [double 3.000000e+00], align 8
@.str = private unnamed_addr constant [17 x i8] c"Inv. Beta: %.4f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1 x double], align 8
%3 = alloca [1 x double], align 8
%4 = alloca [1 x double], align 8
%5 = alloca [1 x double], align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %3, ptr align 8 @__const.main.x, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %4, ptr align 8 @__const.main.p, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 @__const.main.q, i64 8, i1 false)
%6 = getelementptr inbounds [1 x double], ptr %3, i64 0, i64 0
%7 = getelementptr inbounds [1 x double], ptr %4, i64 0, i64 0
%8 = getelementptr inbounds [1 x double], ptr %5, i64 0, i64 0
%9 = getelementptr inbounds [1 x double], ptr %2, i64 0, i64 0
%10 = call i32 @beta_cdf_inv_int_(ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [1 x double], ptr %2, i64 0, i64 0
%12 = load double, ptr %11, align 8
%13 = call i32 @printf(ptr noundef @.str, double noundef %12)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @beta_cdf_inv_int_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptbn9_5el.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [1 x double] [double 0x3FE6666666666666], align 8
@__const.main.p = private unnamed_addr constant [1 x double] [double 2.000000e+00], align 8
@__const.main.q = private unnamed_addr constant [1 x double] [double 3.000000e+00], align 8
@.str = private unnamed_addr constant [17 x i8] c"Inv. Beta: %.4f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1 x double], align 8
%3 = alloca [1 x double], align 8
%4 = alloca [1 x double], align 8
%5 = alloca [1 x double], align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %3, ptr align 8 @__const.main.x, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %4, ptr align 8 @__const.main.p, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 @__const.main.q, i64 8, i1 false)
%6 = getelementptr inbounds [1 x double], ptr %3, i64 0, i64 0
%7 = getelementptr inbounds [1 x double], ptr %4, i64 0, i64 0
%8 = getelementptr inbounds [1 x double], ptr %5, i64 0, i64 0
%9 = getelementptr inbounds [1 x double], ptr %2, i64 0, i64 0
%10 = call i32 @beta_cdf_inv_int_(ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [1 x double], ptr %2, i64 0, i64 0
%12 = load double, ptr %11, align 8
%13 = call i32 @printf(ptr noundef @.str, double noundef %12)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @beta_cdf_inv_int_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjfvx9w36.c'
source_filename = "/tmp/tmpjfvx9w36.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnatcmp(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 %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @_strnatcmp(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @_strnatcmp(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/tmpjfvx9w36.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnatcmp(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 %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @_strnatcmp(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @_strnatcmp(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/tmpcf0c93b4.c'
source_filename = "/tmp/tmpcf0c93b4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x0b\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x0b() #0 {
%1 = call i64 @islower(i32 noundef 11)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 60, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmpcf0c93b4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x0b\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x0b() #0 {
%1 = call i64 @islower(i32 noundef 11)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 60, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmp7ok0d26b.c'
source_filename = "/tmp/tmp7ok0d26b.c"
target datalayout = "e-m:e-p270: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/tmp7ok0d26b.c"
target datalayout = "e-m:e-p270: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/tmp0qqo467i.c'
source_filename = "/tmp/tmp0qqo467i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getblnarg(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = call i64 @strncmp(ptr noundef %8, ptr noundef %9, i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 0, ptr %4, align 4
br label %17
15: ; preds = %3
%16 = load ptr, ptr %7, align 8
store i32 1, ptr %16, align 4
store i32 1, ptr %4, align 4
br label %17
17: ; preds = %15, %14
%18 = load i32, ptr %4, align 4
ret i32 %18
}
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0qqo467i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getblnarg(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = call i64 @strncmp(ptr noundef %8, ptr noundef %9, i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 0, ptr %4, align 4
br label %17
15: ; preds = %3
%16 = load ptr, ptr %7, align 8
store i32 1, ptr %16, align 4
store i32 1, ptr %4, align 4
br label %17
17: ; preds = %15, %14
%18 = load i32, ptr %4, align 4
ret i32 %18
}
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeu30609i.c'
source_filename = "/tmp/tmpeu30609i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @temp_C2F(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 = icmp eq i32 %4, 999
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 999, ptr %2, align 4
br label %15
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = mul nsw i32 %8, 9
%10 = sitofp i32 %9 to double
%11 = fdiv double %10, 5.000000e+00
%12 = fadd double %11, 3.200000e+01
%13 = fptosi double %12 to i32
%14 = call i32 @round(i32 noundef %13)
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %7, %6
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @round(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/tmpeu30609i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @temp_C2F(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 = icmp eq i32 %4, 999
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 999, ptr %2, align 4
br label %15
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = mul nsw i32 %8, 9
%10 = sitofp i32 %9 to double
%11 = fdiv double %10, 5.000000e+00
%12 = fadd double %11, 3.200000e+01
%13 = fptosi double %12 to i32
%14 = call i32 @round(i32 noundef %13)
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %7, %6
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @round(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/tmp2v1zhw7o.c'
source_filename = "/tmp/tmp2v1zhw7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OCCalloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = icmp eq i64 0, %6
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i64, ptr %4, align 8
%10 = icmp eq i64 0, %9
br i1 %10, label %11, label %12
11: ; preds = %8, %2
store ptr null, ptr %3, align 8
br label %16
12: ; preds = %8
%13 = load i64, ptr %4, align 8
%14 = load i64, ptr %5, align 8
%15 = call ptr @calloc(i64 noundef %13, i64 noundef %14) #2
store ptr %15, ptr %3, align 8
br label %16
16: ; preds = %12, %11
%17 = load ptr, ptr %3, align 8
ret ptr %17
}
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 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 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0,1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2v1zhw7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OCCalloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = icmp eq i64 0, %6
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i64, ptr %4, align 8
%10 = icmp eq i64 0, %9
br i1 %10, label %11, label %12
11: ; preds = %8, %2
store ptr null, ptr %3, align 8
br label %16
12: ; preds = %8
%13 = load i64, ptr %4, align 8
%14 = load i64, ptr %5, align 8
%15 = call ptr @calloc(i64 noundef %13, i64 noundef %14) #2
store ptr %15, ptr %3, align 8
br label %16
16: ; preds = %12, %11
%17 = load ptr, ptr %3, align 8
ret ptr %17
}
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 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 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0,1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeqcmy1n2.c'
source_filename = "/tmp/tmpeqcmy1n2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hammersley2_sphere(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %77, %2
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %80
15: ; preds = %11
store double 0.000000e+00, ptr %6, align 8
store double 5.000000e-01, ptr %5, align 8
%16 = load i32, ptr %9, align 4
store i32 %16, ptr %10, align 4
br label %17
17: ; preds = %29, %15
%18 = load i32, ptr %10, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %34
20: ; preds = %17
%21 = load i32, ptr %10, align 4
%22 = and i32 %21, 1
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = load double, ptr %5, align 8
%26 = load double, ptr %6, align 8
%27 = fadd double %26, %25
store double %27, ptr %6, align 8
br label %28
28: ; preds = %24, %20
br label %29
29: ; preds = %28
%30 = load double, ptr %5, align 8
%31 = fmul double %30, 5.000000e-01
store double %31, ptr %5, align 8
%32 = load i32, ptr %10, align 4
%33 = ashr i32 %32, 1
store i32 %33, ptr %10, align 4
br label %17, !llvm.loop !6
34: ; preds = %17
%35 = load double, ptr %6, align 8
%36 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %35, double -1.000000e+00)
store double %36, ptr %6, align 8
%37 = load i32, ptr %9, align 4
%38 = sitofp i32 %37 to double
%39 = fadd double %38, 5.000000e-01
%40 = load i32, ptr %4, align 4
%41 = sitofp i32 %40 to double
%42 = fdiv double %39, %41
store double %42, ptr %8, align 8
%43 = load double, ptr %8, align 8
%44 = fmul double %43, 0x401921FB54411744
store double %44, ptr %8, align 8
%45 = load double, ptr %6, align 8
%46 = load double, ptr %6, align 8
%47 = fneg double %45
%48 = call double @llvm.fmuladd.f64(double %47, double %46, double 1.000000e+00)
%49 = call double @sqrt(double noundef %48) #3
store double %49, ptr %7, align 8
%50 = load double, ptr %7, align 8
%51 = load double, ptr %8, align 8
%52 = call double @cos(double noundef %51) #3
%53 = fmul double %50, %52
%54 = load ptr, ptr %3, align 8
%55 = load i32, ptr %9, align 4
%56 = mul nsw i32 3, %55
%57 = add nsw i32 %56, 0
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %54, i64 %58
store double %53, ptr %59, align 8
%60 = load double, ptr %7, align 8
%61 = load double, ptr %8, align 8
%62 = call double @sin(double noundef %61) #3
%63 = fmul double %60, %62
%64 = load ptr, ptr %3, align 8
%65 = load i32, ptr %9, align 4
%66 = mul nsw i32 3, %65
%67 = add nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %64, i64 %68
store double %63, ptr %69, align 8
%70 = load double, ptr %6, align 8
%71 = load ptr, ptr %3, align 8
%72 = load i32, ptr %9, align 4
%73 = mul nsw i32 3, %72
%74 = add nsw i32 %73, 2
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %71, i64 %75
store double %70, ptr %76, align 8
br label %77
77: ; preds = %34
%78 = load i32, ptr %9, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %9, align 4
br label %11, !llvm.loop !8
80: ; preds = %11
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nounwind
declare double @sin(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeqcmy1n2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hammersley2_sphere(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %9, align 4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph2, label %83
.lr.ph2: ; preds = %2
br label %14
14: ; preds = %.lr.ph2, %77
store double 0.000000e+00, ptr %6, align 8
store double 5.000000e-01, ptr %5, align 8
%15 = load i32, ptr %9, align 4
store i32 %15, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %.lr.ph, label %34
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %27
%19 = load i32, ptr %10, align 4
%20 = and i32 %19, 1
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load double, ptr %5, align 8
%24 = load double, ptr %6, align 8
%25 = fadd double %24, %23
store double %25, ptr %6, align 8
br label %26
26: ; preds = %22, %18
br label %27
27: ; preds = %26
%28 = load double, ptr %5, align 8
%29 = fmul double %28, 5.000000e-01
store double %29, ptr %5, align 8
%30 = load i32, ptr %10, align 4
%31 = ashr i32 %30, 1
store i32 %31, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %34
34: ; preds = %._crit_edge, %14
%35 = load double, ptr %6, align 8
%36 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %35, double -1.000000e+00)
store double %36, ptr %6, align 8
%37 = load i32, ptr %9, align 4
%38 = sitofp i32 %37 to double
%39 = fadd double %38, 5.000000e-01
%40 = load i32, ptr %4, align 4
%41 = sitofp i32 %40 to double
%42 = fdiv double %39, %41
store double %42, ptr %8, align 8
%43 = load double, ptr %8, align 8
%44 = fmul double %43, 0x401921FB54411744
store double %44, ptr %8, align 8
%45 = load double, ptr %6, align 8
%46 = load double, ptr %6, align 8
%47 = fneg double %45
%48 = call double @llvm.fmuladd.f64(double %47, double %46, double 1.000000e+00)
%49 = call double @sqrt(double noundef %48) #3
store double %49, ptr %7, align 8
%50 = load double, ptr %7, align 8
%51 = load double, ptr %8, align 8
%52 = call double @cos(double noundef %51) #3
%53 = fmul double %50, %52
%54 = load ptr, ptr %3, align 8
%55 = load i32, ptr %9, align 4
%56 = mul nsw i32 3, %55
%57 = add nsw i32 %56, 0
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %54, i64 %58
store double %53, ptr %59, align 8
%60 = load double, ptr %7, align 8
%61 = load double, ptr %8, align 8
%62 = call double @sin(double noundef %61) #3
%63 = fmul double %60, %62
%64 = load ptr, ptr %3, align 8
%65 = load i32, ptr %9, align 4
%66 = mul nsw i32 3, %65
%67 = add nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %64, i64 %68
store double %63, ptr %69, align 8
%70 = load double, ptr %6, align 8
%71 = load ptr, ptr %3, align 8
%72 = load i32, ptr %9, align 4
%73 = mul nsw i32 3, %72
%74 = add nsw i32 %73, 2
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %71, i64 %75
store double %70, ptr %76, align 8
br label %77
77: ; preds = %34
%78 = load i32, ptr %9, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %9, align 4
%80 = load i32, ptr %9, align 4
%81 = load i32, ptr %4, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %77
br label %83
83: ; preds = %._crit_edge3, %2
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nounwind
declare double @sin(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp49k28ujr.c'
source_filename = "/tmp/tmp49k28ujr.c"
target datalayout = "e-m:e-p270: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/tmp49k28ujr.c"
target datalayout = "e-m:e-p270: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/tmpnigfow1t.c'
source_filename = "/tmp/tmpnigfow1t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basIsEnabledSound() #0 {
%1 = call i32 (...) @isenabledsound()
%2 = call i32 @pushNumber(i32 noundef %1)
ret void
}
declare i32 @pushNumber(i32 noundef) #1
declare i32 @isenabledsound(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnigfow1t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basIsEnabledSound() #0 {
%1 = call i32 (...) @isenabledsound()
%2 = call i32 @pushNumber(i32 noundef %1)
ret void
}
declare i32 @pushNumber(i32 noundef) #1
declare i32 @isenabledsound(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzctyly6o.c'
source_filename = "/tmp/tmpzctyly6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PF_UNIX = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"socketpair(PF_UNIX, SOCK_DGRAM): %s\0A\00", align 1
@errno = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [6 x i8] c"FAIL\0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"socketpair(PF_UNIX, SOCK_DGRAM) close 0: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"socketpair(PF_UNIX, SOCK_DGRAM) close 1: %s\0A\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [38 x i8] c"socketpair(PF_UNIX, SOCK_STREAM): %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [46 x i8] c"socketpair(PF_UNIX, SOCK_STREAM) close 0: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c"socketpair(PF_UNIX, SOCK_STREAM) close 1: %s\0A\00", align 1
@PF_INET = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [41 x i8] c"socketpair(PF_INET, SOCK_DGRAM): opened\0A\00", align 1
@EOPNOTSUPP = dso_local global i64 0, align 8
@.str.8 = private unnamed_addr constant [37 x i8] c"socketpair(PF_INET, SOCK_DGRAM): %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [42 x i8] c"socketpair(PF_INET, SOCK_STREAM): opened\0A\00", align 1
@.str.10 = private unnamed_addr constant [38 x i8] c"socketpair(PF_INET, SOCK_STREAM): %s\0A\00", align 1
@STDIN_FILENO = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [30 x i8] c"Non-sequential fd allocation\0A\00", align 1
@.str.12 = private unnamed_addr constant [47 x i8] c"socketpair(PF_UNIX, SOCK_DGRAM, NULL): opened\0A\00", align 1
@EFAULT = dso_local global i64 0, align 8
@.str.13 = private unnamed_addr constant [43 x i8] c"socketpair(PF_UNIX, SOCK_DGRAM, NULL): %s\0A\00", align 1
@.str.14 = private unnamed_addr constant [45 x i8] c"socketpair(..., NULL) allocated descriptors\0A\00", align 1
@.str.15 = private unnamed_addr constant [6 x i8] c"PASS\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 [2 x i32], align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr @PF_UNIX, align 4
%7 = load i32, ptr @SOCK_DGRAM, align 4
%8 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%9 = call i64 @socketpair(i32 noundef %6, i32 noundef %7, i32 noundef 0, ptr noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %0
%12 = load i32, ptr @stderr, align 4
%13 = load i64, ptr @errno, align 8
%14 = call ptr @strerror(i64 noundef %13)
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %14)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.1)
%18 = call i32 @exit(i32 noundef -1) #3
unreachable
19: ; preds = %0
%20 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%21 = load i32, ptr %20, align 4
%22 = call i64 @close(i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %32
24: ; preds = %19
%25 = load i32, ptr @stderr, align 4
%26 = load i64, ptr @errno, align 8
%27 = call ptr @strerror(i64 noundef %26)
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.2, ptr noundef %27)
%29 = load i32, ptr @stderr, align 4
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.1)
%31 = call i32 @exit(i32 noundef -1) #3
unreachable
32: ; preds = %19
%33 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
%34 = load i32, ptr %33, align 4
%35 = call i64 @close(i32 noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %45
37: ; preds = %32
%38 = load i32, ptr @stderr, align 4
%39 = load i64, ptr @errno, align 8
%40 = call ptr @strerror(i64 noundef %39)
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.3, ptr noundef %40)
%42 = load i32, ptr @stderr, align 4
%43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.1)
%44 = call i32 @exit(i32 noundef -1) #3
unreachable
45: ; preds = %32
%46 = load i32, ptr @PF_UNIX, align 4
%47 = load i32, ptr @SOCK_STREAM, align 4
%48 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%49 = call i64 @socketpair(i32 noundef %46, i32 noundef %47, i32 noundef 0, ptr noundef %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %59
51: ; preds = %45
%52 = load i32, ptr @stderr, align 4
%53 = load i64, ptr @errno, align 8
%54 = call ptr @strerror(i64 noundef %53)
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.4, ptr noundef %54)
%56 = load i32, ptr @stderr, align 4
%57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.1)
%58 = call i32 @exit(i32 noundef -1) #3
unreachable
59: ; preds = %45
%60 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%61 = load i32, ptr %60, align 4
%62 = call i64 @close(i32 noundef %61)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %72
64: ; preds = %59
%65 = load i32, ptr @stderr, align 4
%66 = load i64, ptr @errno, align 8
%67 = call ptr @strerror(i64 noundef %66)
%68 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %65, ptr noundef @.str.5, ptr noundef %67)
%69 = load i32, ptr @stderr, align 4
%70 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %69, ptr noundef @.str.1)
%71 = call i32 @exit(i32 noundef -1) #3
unreachable
72: ; preds = %59
%73 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
%74 = load i32, ptr %73, align 4
%75 = call i64 @close(i32 noundef %74)
%76 = icmp ne i64 %75, 0
br i1 %76, label %77, label %85
77: ; preds = %72
%78 = load i32, ptr @stderr, align 4
%79 = load i64, ptr @errno, align 8
%80 = call ptr @strerror(i64 noundef %79)
%81 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %78, ptr noundef @.str.6, ptr noundef %80)
%82 = load i32, ptr @stderr, align 4
%83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %82, ptr noundef @.str.1)
%84 = call i32 @exit(i32 noundef -1) #3
unreachable
85: ; preds = %72
%86 = load i32, ptr @PF_INET, align 4
%87 = load i32, ptr @SOCK_DGRAM, align 4
%88 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%89 = call i64 @socketpair(i32 noundef %86, i32 noundef %87, i32 noundef 0, ptr noundef %88)
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %97
91: ; preds = %85
%92 = load i32, ptr @stderr, align 4
%93 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %92, ptr noundef @.str.7)
%94 = load i32, ptr @stderr, align 4
%95 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.1)
%96 = call i32 @exit(i32 noundef -1) #3
unreachable
97: ; preds = %85
%98 = load i64, ptr @errno, align 8
%99 = load i64, ptr @EOPNOTSUPP, align 8
%100 = icmp ne i64 %98, %99
br i1 %100, label %101, label %108
101: ; preds = %97
%102 = load i32, ptr @stderr, align 4
%103 = load i64, ptr @errno, align 8
%104 = call ptr @strerror(i64 noundef %103)
%105 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %102, ptr noundef @.str.8, ptr noundef %104)
%106 = load i32, ptr @stderr, align 4
%107 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %106, ptr noundef @.str.1)
br label %108
108: ; preds = %101, %97
%109 = load i32, ptr @PF_INET, align 4
%110 = load i32, ptr @SOCK_STREAM, align 4
%111 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%112 = call i64 @socketpair(i32 noundef %109, i32 noundef %110, i32 noundef 0, ptr noundef %111)
%113 = icmp eq i64 %112, 0
br i1 %113, label %114, label %120
114: ; preds = %108
%115 = load i32, ptr @stderr, align 4
%116 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %115, ptr noundef @.str.9)
%117 = load i32, ptr @stderr, align 4
%118 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %117, ptr noundef @.str.1)
%119 = call i32 @exit(i32 noundef -1) #3
unreachable
120: ; preds = %108
%121 = load i64, ptr @errno, align 8
%122 = load i64, ptr @EOPNOTSUPP, align 8
%123 = icmp ne i64 %121, %122
br i1 %123, label %124, label %131
124: ; preds = %120
%125 = load i32, ptr @stderr, align 4
%126 = load i64, ptr @errno, align 8
%127 = call ptr @strerror(i64 noundef %126)
%128 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %125, ptr noundef @.str.10, ptr noundef %127)
%129 = load i32, ptr @stderr, align 4
%130 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %129, ptr noundef @.str.1)
br label %131
131: ; preds = %124, %120
%132 = load i32, ptr @STDIN_FILENO, align 4
%133 = call i32 @dup(i32 noundef %132)
store i32 %133, ptr %2, align 4
%134 = load i32, ptr @STDIN_FILENO, align 4
%135 = call i32 @dup(i32 noundef %134)
store i32 %135, ptr %3, align 4
%136 = load i32, ptr %3, align 4
%137 = load i32, ptr %2, align 4
%138 = add nsw i32 %137, 1
%139 = icmp ne i32 %136, %138
br i1 %139, label %140, label %146
140: ; preds = %131
%141 = load i32, ptr @stderr, align 4
%142 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %141, ptr noundef @.str.11)
%143 = load i32, ptr @stderr, align 4
%144 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %143, ptr noundef @.str.1)
%145 = call i32 @exit(i32 noundef -1) #3
unreachable
146: ; preds = %131
%147 = load i32, ptr @PF_UNIX, align 4
%148 = load i32, ptr @SOCK_DGRAM, align 4
%149 = call i64 @socketpair(i32 noundef %147, i32 noundef %148, i32 noundef 0, ptr noundef null)
%150 = icmp eq i64 %149, 0
br i1 %150, label %151, label %157
151: ; preds = %146
%152 = load i32, ptr @stderr, align 4
%153 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %152, ptr noundef @.str.12)
%154 = load i32, ptr @stderr, align 4
%155 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %154, ptr noundef @.str.1)
%156 = call i32 @exit(i32 noundef -1) #3
unreachable
157: ; preds = %146
%158 = load i64, ptr @errno, align 8
%159 = load i64, ptr @EFAULT, align 8
%160 = icmp ne i64 %158, %159
br i1 %160, label %161, label %169
161: ; preds = %157
%162 = load i32, ptr @stderr, align 4
%163 = load i64, ptr @errno, align 8
%164 = call ptr @strerror(i64 noundef %163)
%165 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %162, ptr noundef @.str.13, ptr noundef %164)
%166 = load i32, ptr @stderr, align 4
%167 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %166, ptr noundef @.str.1)
%168 = call i32 @exit(i32 noundef -1) #3
unreachable
169: ; preds = %157
%170 = load i32, ptr @STDIN_FILENO, align 4
%171 = call i32 @dup(i32 noundef %170)
store i32 %171, ptr %4, align 4
%172 = load i32, ptr %4, align 4
%173 = load i32, ptr %3, align 4
%174 = add nsw i32 %173, 1
%175 = icmp ne i32 %172, %174
br i1 %175, label %176, label %182
176: ; preds = %169
%177 = load i32, ptr @stderr, align 4
%178 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %177, ptr noundef @.str.14)
%179 = load i32, ptr @stderr, align 4
%180 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %179, ptr noundef @.str.1)
%181 = call i32 @exit(i32 noundef -1) #3
unreachable
182: ; preds = %169
%183 = load i32, ptr @stderr, align 4
%184 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %183, ptr noundef @.str.15)
%185 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @strerror(i64 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @close(i32 noundef) #1
declare i32 @dup(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpzctyly6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PF_UNIX = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"socketpair(PF_UNIX, SOCK_DGRAM): %s\0A\00", align 1
@errno = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [6 x i8] c"FAIL\0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"socketpair(PF_UNIX, SOCK_DGRAM) close 0: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"socketpair(PF_UNIX, SOCK_DGRAM) close 1: %s\0A\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [38 x i8] c"socketpair(PF_UNIX, SOCK_STREAM): %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [46 x i8] c"socketpair(PF_UNIX, SOCK_STREAM) close 0: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c"socketpair(PF_UNIX, SOCK_STREAM) close 1: %s\0A\00", align 1
@PF_INET = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [41 x i8] c"socketpair(PF_INET, SOCK_DGRAM): opened\0A\00", align 1
@EOPNOTSUPP = dso_local global i64 0, align 8
@.str.8 = private unnamed_addr constant [37 x i8] c"socketpair(PF_INET, SOCK_DGRAM): %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [42 x i8] c"socketpair(PF_INET, SOCK_STREAM): opened\0A\00", align 1
@.str.10 = private unnamed_addr constant [38 x i8] c"socketpair(PF_INET, SOCK_STREAM): %s\0A\00", align 1
@STDIN_FILENO = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [30 x i8] c"Non-sequential fd allocation\0A\00", align 1
@.str.12 = private unnamed_addr constant [47 x i8] c"socketpair(PF_UNIX, SOCK_DGRAM, NULL): opened\0A\00", align 1
@EFAULT = dso_local global i64 0, align 8
@.str.13 = private unnamed_addr constant [43 x i8] c"socketpair(PF_UNIX, SOCK_DGRAM, NULL): %s\0A\00", align 1
@.str.14 = private unnamed_addr constant [45 x i8] c"socketpair(..., NULL) allocated descriptors\0A\00", align 1
@.str.15 = private unnamed_addr constant [6 x i8] c"PASS\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 [2 x i32], align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr @PF_UNIX, align 4
%7 = load i32, ptr @SOCK_DGRAM, align 4
%8 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%9 = call i64 @socketpair(i32 noundef %6, i32 noundef %7, i32 noundef 0, ptr noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %0
%12 = load i32, ptr @stderr, align 4
%13 = load i64, ptr @errno, align 8
%14 = call ptr @strerror(i64 noundef %13)
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %14)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.1)
%18 = call i32 @exit(i32 noundef -1) #3
unreachable
19: ; preds = %0
%20 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%21 = load i32, ptr %20, align 4
%22 = call i64 @close(i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %32
24: ; preds = %19
%25 = load i32, ptr @stderr, align 4
%26 = load i64, ptr @errno, align 8
%27 = call ptr @strerror(i64 noundef %26)
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.2, ptr noundef %27)
%29 = load i32, ptr @stderr, align 4
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.1)
%31 = call i32 @exit(i32 noundef -1) #3
unreachable
32: ; preds = %19
%33 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
%34 = load i32, ptr %33, align 4
%35 = call i64 @close(i32 noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %45
37: ; preds = %32
%38 = load i32, ptr @stderr, align 4
%39 = load i64, ptr @errno, align 8
%40 = call ptr @strerror(i64 noundef %39)
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.3, ptr noundef %40)
%42 = load i32, ptr @stderr, align 4
%43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.1)
%44 = call i32 @exit(i32 noundef -1) #3
unreachable
45: ; preds = %32
%46 = load i32, ptr @PF_UNIX, align 4
%47 = load i32, ptr @SOCK_STREAM, align 4
%48 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%49 = call i64 @socketpair(i32 noundef %46, i32 noundef %47, i32 noundef 0, ptr noundef %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %59
51: ; preds = %45
%52 = load i32, ptr @stderr, align 4
%53 = load i64, ptr @errno, align 8
%54 = call ptr @strerror(i64 noundef %53)
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.4, ptr noundef %54)
%56 = load i32, ptr @stderr, align 4
%57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.1)
%58 = call i32 @exit(i32 noundef -1) #3
unreachable
59: ; preds = %45
%60 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%61 = load i32, ptr %60, align 4
%62 = call i64 @close(i32 noundef %61)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %72
64: ; preds = %59
%65 = load i32, ptr @stderr, align 4
%66 = load i64, ptr @errno, align 8
%67 = call ptr @strerror(i64 noundef %66)
%68 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %65, ptr noundef @.str.5, ptr noundef %67)
%69 = load i32, ptr @stderr, align 4
%70 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %69, ptr noundef @.str.1)
%71 = call i32 @exit(i32 noundef -1) #3
unreachable
72: ; preds = %59
%73 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
%74 = load i32, ptr %73, align 4
%75 = call i64 @close(i32 noundef %74)
%76 = icmp ne i64 %75, 0
br i1 %76, label %77, label %85
77: ; preds = %72
%78 = load i32, ptr @stderr, align 4
%79 = load i64, ptr @errno, align 8
%80 = call ptr @strerror(i64 noundef %79)
%81 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %78, ptr noundef @.str.6, ptr noundef %80)
%82 = load i32, ptr @stderr, align 4
%83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %82, ptr noundef @.str.1)
%84 = call i32 @exit(i32 noundef -1) #3
unreachable
85: ; preds = %72
%86 = load i32, ptr @PF_INET, align 4
%87 = load i32, ptr @SOCK_DGRAM, align 4
%88 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%89 = call i64 @socketpair(i32 noundef %86, i32 noundef %87, i32 noundef 0, ptr noundef %88)
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %97
91: ; preds = %85
%92 = load i32, ptr @stderr, align 4
%93 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %92, ptr noundef @.str.7)
%94 = load i32, ptr @stderr, align 4
%95 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.1)
%96 = call i32 @exit(i32 noundef -1) #3
unreachable
97: ; preds = %85
%98 = load i64, ptr @errno, align 8
%99 = load i64, ptr @EOPNOTSUPP, align 8
%100 = icmp ne i64 %98, %99
br i1 %100, label %101, label %108
101: ; preds = %97
%102 = load i32, ptr @stderr, align 4
%103 = load i64, ptr @errno, align 8
%104 = call ptr @strerror(i64 noundef %103)
%105 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %102, ptr noundef @.str.8, ptr noundef %104)
%106 = load i32, ptr @stderr, align 4
%107 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %106, ptr noundef @.str.1)
br label %108
108: ; preds = %101, %97
%109 = load i32, ptr @PF_INET, align 4
%110 = load i32, ptr @SOCK_STREAM, align 4
%111 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%112 = call i64 @socketpair(i32 noundef %109, i32 noundef %110, i32 noundef 0, ptr noundef %111)
%113 = icmp eq i64 %112, 0
br i1 %113, label %114, label %120
114: ; preds = %108
%115 = load i32, ptr @stderr, align 4
%116 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %115, ptr noundef @.str.9)
%117 = load i32, ptr @stderr, align 4
%118 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %117, ptr noundef @.str.1)
%119 = call i32 @exit(i32 noundef -1) #3
unreachable
120: ; preds = %108
%121 = load i64, ptr @errno, align 8
%122 = load i64, ptr @EOPNOTSUPP, align 8
%123 = icmp ne i64 %121, %122
br i1 %123, label %124, label %131
124: ; preds = %120
%125 = load i32, ptr @stderr, align 4
%126 = load i64, ptr @errno, align 8
%127 = call ptr @strerror(i64 noundef %126)
%128 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %125, ptr noundef @.str.10, ptr noundef %127)
%129 = load i32, ptr @stderr, align 4
%130 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %129, ptr noundef @.str.1)
br label %131
131: ; preds = %124, %120
%132 = load i32, ptr @STDIN_FILENO, align 4
%133 = call i32 @dup(i32 noundef %132)
store i32 %133, ptr %2, align 4
%134 = load i32, ptr @STDIN_FILENO, align 4
%135 = call i32 @dup(i32 noundef %134)
store i32 %135, ptr %3, align 4
%136 = load i32, ptr %3, align 4
%137 = load i32, ptr %2, align 4
%138 = add nsw i32 %137, 1
%139 = icmp ne i32 %136, %138
br i1 %139, label %140, label %146
140: ; preds = %131
%141 = load i32, ptr @stderr, align 4
%142 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %141, ptr noundef @.str.11)
%143 = load i32, ptr @stderr, align 4
%144 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %143, ptr noundef @.str.1)
%145 = call i32 @exit(i32 noundef -1) #3
unreachable
146: ; preds = %131
%147 = load i32, ptr @PF_UNIX, align 4
%148 = load i32, ptr @SOCK_DGRAM, align 4
%149 = call i64 @socketpair(i32 noundef %147, i32 noundef %148, i32 noundef 0, ptr noundef null)
%150 = icmp eq i64 %149, 0
br i1 %150, label %151, label %157
151: ; preds = %146
%152 = load i32, ptr @stderr, align 4
%153 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %152, ptr noundef @.str.12)
%154 = load i32, ptr @stderr, align 4
%155 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %154, ptr noundef @.str.1)
%156 = call i32 @exit(i32 noundef -1) #3
unreachable
157: ; preds = %146
%158 = load i64, ptr @errno, align 8
%159 = load i64, ptr @EFAULT, align 8
%160 = icmp ne i64 %158, %159
br i1 %160, label %161, label %169
161: ; preds = %157
%162 = load i32, ptr @stderr, align 4
%163 = load i64, ptr @errno, align 8
%164 = call ptr @strerror(i64 noundef %163)
%165 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %162, ptr noundef @.str.13, ptr noundef %164)
%166 = load i32, ptr @stderr, align 4
%167 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %166, ptr noundef @.str.1)
%168 = call i32 @exit(i32 noundef -1) #3
unreachable
169: ; preds = %157
%170 = load i32, ptr @STDIN_FILENO, align 4
%171 = call i32 @dup(i32 noundef %170)
store i32 %171, ptr %4, align 4
%172 = load i32, ptr %4, align 4
%173 = load i32, ptr %3, align 4
%174 = add nsw i32 %173, 1
%175 = icmp ne i32 %172, %174
br i1 %175, label %176, label %182
176: ; preds = %169
%177 = load i32, ptr @stderr, align 4
%178 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %177, ptr noundef @.str.14)
%179 = load i32, ptr @stderr, align 4
%180 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %179, ptr noundef @.str.1)
%181 = call i32 @exit(i32 noundef -1) #3
unreachable
182: ; preds = %169
%183 = load i32, ptr @stderr, align 4
%184 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %183, ptr noundef @.str.15)
%185 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @strerror(i64 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @close(i32 noundef) #1
declare i32 @dup(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpyhpaxb9a.c'
source_filename = "/tmp/tmpyhpaxb9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pthread_cond_broadcast\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @std_pthread_cond_broadcast(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @pthread_cond_broadcast(ptr noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = call i32 @perror(ptr noundef @.str)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %1
ret void
}
declare i64 @pthread_cond_broadcast(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyhpaxb9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pthread_cond_broadcast\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @std_pthread_cond_broadcast(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @pthread_cond_broadcast(ptr noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = call i32 @perror(ptr noundef @.str)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %1
ret void
}
declare i64 @pthread_cond_broadcast(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8w086qvt.c'
source_filename = "/tmp/tmp8w086qvt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_version() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8w086qvt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_version() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphxgbq_w5.c'
source_filename = "/tmp/tmphxgbq_w5.c"
target datalayout = "e-m:e-p270: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/tmphxgbq_w5.c"
target datalayout = "e-m:e-p270: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/tmplm53npci.c'
source_filename = "/tmp/tmplm53npci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"converting message %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"mtime\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"deleted\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"flags\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"from\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"anon\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"deleted_by\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"subject\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"to\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"msg\00", align 1
@.str.10 = private unnamed_addr constant [13 x i8] c"reply_number\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert_message(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call ptr @open_file(ptr noundef %7)
store ptr %8, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
br label %55
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = call ptr @create_file(ptr noundef %12)
store ptr %13, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = call i32 @fclose(ptr noundef %16)
br label %55
18: ; preds = %11
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %4, align 8
%21 = call i32 @save_str(ptr noundef %19, ptr noundef %20, ptr noundef @.str.1)
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %4, align 8
%24 = call i32 @save_str(ptr noundef %22, ptr noundef %23, ptr noundef @.str.2)
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %4, align 8
%27 = call i32 @save_str(ptr noundef %25, ptr noundef %26, ptr noundef @.str.3)
%28 = load ptr, ptr %3, align 8
%29 = load ptr, ptr %4, align 8
%30 = call i32 @save_str(ptr noundef %28, ptr noundef %29, ptr noundef @.str.4)
%31 = load ptr, ptr %3, align 8
%32 = load ptr, ptr %4, align 8
%33 = call i32 @save_str(ptr noundef %31, ptr noundef %32, ptr noundef @.str.5)
%34 = load ptr, ptr %3, align 8
%35 = load ptr, ptr %4, align 8
%36 = call i32 @save_str(ptr noundef %34, ptr noundef %35, ptr noundef @.str.6)
%37 = load ptr, ptr %3, align 8
%38 = load ptr, ptr %4, align 8
%39 = call i32 @save_str(ptr noundef %37, ptr noundef %38, ptr noundef @.str.7)
%40 = load ptr, ptr %3, align 8
%41 = load ptr, ptr %4, align 8
%42 = call i32 @save_strlist(ptr noundef %40, ptr noundef %41, ptr noundef @.str.8)
%43 = load ptr, ptr %3, align 8
%44 = load ptr, ptr %4, align 8
%45 = call i32 @save_strlist(ptr noundef %43, ptr noundef %44, ptr noundef @.str.9)
%46 = load ptr, ptr %3, align 8
%47 = load ptr, ptr %4, align 8
%48 = call i32 @save_str(ptr noundef %46, ptr noundef %47, ptr noundef @.str.10)
%49 = load ptr, ptr %3, align 8
%50 = call i32 @fclose(ptr noundef %49)
%51 = load ptr, ptr %4, align 8
%52 = call i32 @fclose(ptr noundef %51)
%53 = load ptr, ptr %2, align 8
%54 = call i32 @rename_file(ptr noundef %53)
br label %55
55: ; preds = %18, %15, %10
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @open_file(ptr noundef) #1
declare ptr @create_file(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @save_str(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @save_strlist(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @rename_file(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplm53npci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"converting message %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"mtime\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"deleted\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"flags\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"from\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"anon\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"deleted_by\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"subject\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"to\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"msg\00", align 1
@.str.10 = private unnamed_addr constant [13 x i8] c"reply_number\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert_message(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call ptr @open_file(ptr noundef %7)
store ptr %8, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
br label %55
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = call ptr @create_file(ptr noundef %12)
store ptr %13, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = call i32 @fclose(ptr noundef %16)
br label %55
18: ; preds = %11
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %4, align 8
%21 = call i32 @save_str(ptr noundef %19, ptr noundef %20, ptr noundef @.str.1)
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %4, align 8
%24 = call i32 @save_str(ptr noundef %22, ptr noundef %23, ptr noundef @.str.2)
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %4, align 8
%27 = call i32 @save_str(ptr noundef %25, ptr noundef %26, ptr noundef @.str.3)
%28 = load ptr, ptr %3, align 8
%29 = load ptr, ptr %4, align 8
%30 = call i32 @save_str(ptr noundef %28, ptr noundef %29, ptr noundef @.str.4)
%31 = load ptr, ptr %3, align 8
%32 = load ptr, ptr %4, align 8
%33 = call i32 @save_str(ptr noundef %31, ptr noundef %32, ptr noundef @.str.5)
%34 = load ptr, ptr %3, align 8
%35 = load ptr, ptr %4, align 8
%36 = call i32 @save_str(ptr noundef %34, ptr noundef %35, ptr noundef @.str.6)
%37 = load ptr, ptr %3, align 8
%38 = load ptr, ptr %4, align 8
%39 = call i32 @save_str(ptr noundef %37, ptr noundef %38, ptr noundef @.str.7)
%40 = load ptr, ptr %3, align 8
%41 = load ptr, ptr %4, align 8
%42 = call i32 @save_strlist(ptr noundef %40, ptr noundef %41, ptr noundef @.str.8)
%43 = load ptr, ptr %3, align 8
%44 = load ptr, ptr %4, align 8
%45 = call i32 @save_strlist(ptr noundef %43, ptr noundef %44, ptr noundef @.str.9)
%46 = load ptr, ptr %3, align 8
%47 = load ptr, ptr %4, align 8
%48 = call i32 @save_str(ptr noundef %46, ptr noundef %47, ptr noundef @.str.10)
%49 = load ptr, ptr %3, align 8
%50 = call i32 @fclose(ptr noundef %49)
%51 = load ptr, ptr %4, align 8
%52 = call i32 @fclose(ptr noundef %51)
%53 = load ptr, ptr %2, align 8
%54 = call i32 @rename_file(ptr noundef %53)
br label %55
55: ; preds = %18, %15, %10
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @open_file(ptr noundef) #1
declare ptr @create_file(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @save_str(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @save_strlist(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @rename_file(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4p9g1p80.c'
source_filename = "/tmp/tmp4p9g1p80.c"
target datalayout = "e-m:e-p270: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/tmp4p9g1p80.c"
target datalayout = "e-m:e-p270: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/tmp8yc6trbh.c'
source_filename = "/tmp/tmp8yc6trbh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for t\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x74() #0 {
%1 = call i64 @ispunct(i32 noundef 116)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 585, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmp8yc6trbh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for t\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0x74() #0 {
%1 = call i64 @ispunct(i32 noundef 116)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 585, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmp5y1xf669.c'
source_filename = "/tmp/tmp5y1xf669.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %10, %1
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i8, ptr %5, align 1
store i8 %7, ptr %3, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %4
%11 = load i8, ptr %3, align 1
%12 = call i32 @RPI_AuxMiniUartWrite(i8 noundef signext %11)
br label %4, !llvm.loop !6
13: ; preds = %4
ret void
}
declare i32 @RPI_AuxMiniUartWrite(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5y1xf669.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i32 1
store ptr %5, ptr %2, align 8
%6 = load i8, ptr %4, align 1
store i8 %6, ptr %3, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 0
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i8, ptr %3, align 1
%11 = call i32 @RPI_AuxMiniUartWrite(i8 noundef signext %10)
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %2, align 8
%14 = load i8, ptr %12, align 1
store i8 %14, ptr %3, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %17
17: ; preds = %._crit_edge, %1
ret void
}
declare i32 @RPI_AuxMiniUartWrite(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6b8ykkq6.c'
source_filename = "/tmp/tmp6b8ykkq6.c"
target datalayout = "e-m:e-p270: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/tmp6b8ykkq6.c"
target datalayout = "e-m:e-p270: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/tmpz95w3nnn.c'
source_filename = "/tmp/tmpz95w3nnn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap_main() #0 {
%1 = call i32 (...) @main()
ret i32 %1
}
declare i32 @main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz95w3nnn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap_main() #0 {
%1 = call i32 (...) @main()
ret i32 %1
}
declare i32 @main(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzo1iw8t7.c'
source_filename = "/tmp/tmpzo1iw8t7.c"
target datalayout = "e-m:e-p270: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/tmpzo1iw8t7.c"
target datalayout = "e-m:e-p270: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/tmpj9uj1mlx.c'
source_filename = "/tmp/tmpj9uj1mlx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 1 for 0x1c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x1c() #0 {
%1 = call i32 @iscntrl(i32 noundef 28) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 145, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @iscntrl(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj9uj1mlx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 1 for 0x1c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x1c() #0 {
%1 = call i32 @iscntrl(i32 noundef 28) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 145, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @iscntrl(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr8uremgx.c'
source_filename = "/tmp/tmpr8uremgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %7, align 8
br label %11
11: ; preds = %56, %2
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %11
%17 = load ptr, ptr %7, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br label %21
21: ; preds = %16, %11
%22 = phi i1 [ false, %11 ], [ %20, %16 ]
br i1 %22, label %23, label %57
23: ; preds = %21
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %4, align 8
%26 = load i8, ptr %24, align 1
%27 = sext i8 %26 to i32
%28 = load ptr, ptr %7, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %27, %30
br i1 %31, label %32, label %35
32: ; preds = %23
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %7, align 8
br label %35
35: ; preds = %32, %23
%36 = load ptr, ptr %7, align 8
%37 = load i8, ptr %36, align 1
%38 = icmp ne i8 %37, 0
br i1 %38, label %45, label %39
39: ; preds = %35
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = sub i64 0, %42
%44 = getelementptr inbounds i8, ptr %40, i64 %43
store ptr %44, ptr %3, align 8
br label %58
45: ; preds = %35
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = load ptr, ptr %7, align 8
%49 = load ptr, ptr %5, align 8
%50 = ptrtoint ptr %48 to i64
%51 = ptrtoint ptr %49 to i64
%52 = sub i64 %50, %51
%53 = icmp eq i64 %47, %52
br i1 %53, label %54, label %56
54: ; preds = %45
%55 = load ptr, ptr %5, align 8
store ptr %55, ptr %7, align 8
br label %56
56: ; preds = %54, %45
br label %11, !llvm.loop !6
57: ; preds = %21
store ptr inttoptr (i64 -1 to ptr), ptr %3, align 8
br label %58
58: ; preds = %57, %39
%59 = load ptr, ptr %3, align 8
ret ptr %59
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr8uremgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %6, align 4
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %7, align 8
br label %11
11: ; preds = %56, %2
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %11
%17 = load ptr, ptr %7, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br label %21
21: ; preds = %16, %11
%22 = phi i1 [ false, %11 ], [ %20, %16 ]
br i1 %22, label %23, label %57
23: ; preds = %21
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %4, align 8
%26 = load i8, ptr %24, align 1
%27 = sext i8 %26 to i32
%28 = load ptr, ptr %7, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %27, %30
br i1 %31, label %32, label %35
32: ; preds = %23
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %7, align 8
br label %35
35: ; preds = %32, %23
%36 = load ptr, ptr %7, align 8
%37 = load i8, ptr %36, align 1
%38 = icmp ne i8 %37, 0
br i1 %38, label %45, label %39
39: ; preds = %35
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = sub i64 0, %42
%44 = getelementptr inbounds i8, ptr %40, i64 %43
store ptr %44, ptr %3, align 8
br label %58
45: ; preds = %35
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = load ptr, ptr %7, align 8
%49 = load ptr, ptr %5, align 8
%50 = ptrtoint ptr %48 to i64
%51 = ptrtoint ptr %49 to i64
%52 = sub i64 %50, %51
%53 = icmp eq i64 %47, %52
br i1 %53, label %54, label %56
54: ; preds = %45
%55 = load ptr, ptr %5, align 8
store ptr %55, ptr %7, align 8
br label %56
56: ; preds = %54, %45
br label %11, !llvm.loop !6
57: ; preds = %21
store ptr inttoptr (i64 -1 to ptr), ptr %3, align 8
br label %58
58: ; preds = %57, %39
%59 = load ptr, ptr %3, align 8
ret ptr %59
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv1z2elmk.c'
source_filename = "/tmp/tmpv1z2elmk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call ptr @memchr(ptr noundef %5, i32 noundef %6, i32 noundef %8)
ret ptr %9
}
declare ptr @memchr(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv1z2elmk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call ptr @memchr(ptr noundef %5, i32 noundef %6, i32 noundef %8)
ret ptr %9
}
declare ptr @memchr(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuehvv7k6.c'
source_filename = "/tmp/tmpuehvv7k6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @last(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%7 = load i32, ptr %3, align 4
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %8, align 4
%10 = icmp eq i32 %7, %9
br i1 %10, label %11, label %18
11: ; preds = %1
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br label %18
18: ; preds = %14, %11, %1
%19 = phi i1 [ false, %11 ], [ false, %1 ], [ %17, %14 ]
%20 = zext i1 %19 to i32
ret i32 %20
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuehvv7k6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @last(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%7 = load i32, ptr %3, align 4
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %8, align 4
%10 = icmp eq i32 %7, %9
br i1 %10, label %11, label %18
11: ; preds = %1
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br label %18
18: ; preds = %14, %11, %1
%19 = phi i1 [ false, %11 ], [ false, %1 ], [ %17, %14 ]
%20 = zext i1 %19 to i32
ret i32 %20
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5grjy0z1.c'
source_filename = "/tmp/tmp5grjy0z1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [81 x i8] c"Soma de Vetores(De programacao): Digite os dados do primeiro vetor (5 ao todo):\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"Digite os dados do segundo vetor (5 ao todo):\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Campo %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 [5 x i32], align 16
%3 = alloca [5 x i32], align 16
%4 = alloca [5 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %8
8: ; preds = %11, %0
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 5
br i1 %10, label %11, label %18
11: ; preds = %8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %13
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %14)
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %5, align 4
br label %8, !llvm.loop !6
18: ; preds = %8
store i32 0, ptr %5, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %20
20: ; preds = %23, %18
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %21, 5
br i1 %22, label %23, label %30
23: ; preds = %20
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %25
%27 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %26)
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
br label %20, !llvm.loop !8
30: ; preds = %20
store i32 0, ptr %5, align 4
br label %31
31: ; preds = %34, %30
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %32, 5
br i1 %33, label %34, label %57
34: ; preds = %31
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = add nsw i32 %38, %42
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %45
store i32 %43, ptr %46, align 4
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %47, i32 noundef %51)
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
%55 = load i32, ptr %6, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %6, align 4
br label %31, !llvm.loop !9
57: ; preds = %31
%58 = call i32 (...) @getch()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5grjy0z1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [81 x i8] c"Soma de Vetores(De programacao): Digite os dados do primeiro vetor (5 ao todo):\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"Digite os dados do segundo vetor (5 ao todo):\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Campo %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 [5 x i32], align 16
%3 = alloca [5 x i32], align 16
%4 = alloca [5 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %12
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %13)
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %17, 5
br i1 %18, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %19
19: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %21, 5
br i1 %22, label %.lr.ph2, label %32
.lr.ph2: ; preds = %19
br label %23
23: ; preds = %.lr.ph2, %23
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %25
%27 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %26)
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp slt i32 %30, 5
br i1 %31, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %23
br label %32
32: ; preds = %._crit_edge3, %19
store i32 0, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp slt i32 %33, 5
br i1 %34, label %.lr.ph5, label %60
.lr.ph5: ; preds = %32
br label %35
35: ; preds = %.lr.ph5, %35
%36 = load i32, ptr %5, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = add nsw i32 %39, %43
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %46
store i32 %44, ptr %47, align 4
%48 = load i32, ptr %6, align 4
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %48, i32 noundef %52)
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %5, align 4
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %6, align 4
%58 = load i32, ptr %5, align 4
%59 = icmp slt i32 %58, 5
br i1 %59, label %35, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %35
br label %60
60: ; preds = %._crit_edge6, %32
%61 = call i32 (...) @getch()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp7ua_8qvd.c'
source_filename = "/tmp/tmp7ua_8qvd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EvalPts(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = mul nsw i32 2, %7
%9 = sitofp i32 %8 to double
store double %9, ptr %6, align 8
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %26, %2
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %29
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = sitofp i32 %15 to double
%17 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %16, double 1.000000e+00)
%18 = fmul double %17, 0x400921FB54442D11
%19 = load double, ptr %6, align 8
%20 = fdiv double %18, %19
%21 = call double @cos(double noundef %20) #3
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %22, i64 %24
store double %21, ptr %25, align 8
br label %26
26: ; preds = %14
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %10, !llvm.loop !6
29: ; preds = %10
ret void
}
; Function Attrs: nounwind
declare double @cos(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ua_8qvd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EvalPts(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = mul nsw i32 2, %7
%9 = sitofp i32 %8 to double
store double %9, ptr %6, align 8
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %25
%14 = load i32, ptr %5, align 4
%15 = sitofp i32 %14 to double
%16 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %15, double 1.000000e+00)
%17 = fmul double %16, 0x400921FB54442D11
%18 = load double, ptr %6, align 8
%19 = fdiv double %17, %18
%20 = call double @cos(double noundef %19) #3
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %21, i64 %23
store double %20, ptr %24, align 8
br label %25
25: ; preds = %13
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %2
ret void
}
; Function Attrs: nounwind
declare double @cos(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprjhr21sy.c'
source_filename = "/tmp/tmprjhr21sy.c"
target datalayout = "e-m:e-p270: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/tmprjhr21sy.c"
target datalayout = "e-m:e-p270: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/tmpue5edspb.c'
source_filename = "/tmp/tmpue5edspb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__snippet_block_count(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
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %5, align 8
store ptr %6, ptr %4, align 8
br label %7
7: ; preds = %11, %1
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %17
10: ; preds = %7
br label %11
11: ; preds = %10
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds ptr, ptr %14, i32 1
store ptr %15, ptr %2, align 8
%16 = load ptr, ptr %15, align 8
store ptr %16, ptr %4, align 8
br label %7, !llvm.loop !6
17: ; preds = %7
%18 = load i32, ptr %3, align 4
ret i32 %18
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpue5edspb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__snippet_block_count(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
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %5, align 8
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %10
br label %10
10: ; preds = %9
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds ptr, ptr %13, i32 1
store ptr %14, ptr %2, align 8
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %18
18: ; preds = %._crit_edge, %1
%19 = load i32, ptr %3, align 4
ret i32 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpneky3i0y.c'
source_filename = "/tmp/tmpneky3i0y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sembuf = type { i32, i32, i64 }
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [38 x i8] c"mplayer: semaphore_v failed errno=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @semaphore_v(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.sembuf, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = getelementptr inbounds %struct.sembuf, ptr %6, i32 0, i32 0
store i32 %7, ptr %8, align 8
%9 = getelementptr inbounds %struct.sembuf, ptr %6, i32 0, i32 1
store i32 1, ptr %9, align 4
%10 = getelementptr inbounds %struct.sembuf, ptr %6, i32 0, i32 2
store i64 0, ptr %10, align 8
br label %11
11: ; preds = %2, %19
%12 = load i32, ptr %4, align 4
%13 = call i32 @semop(i32 noundef %12, ptr noundef %6, i32 noundef 1)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %23
15: ; preds = %11
%16 = load i64, ptr @errno, align 8
%17 = load i64, ptr @EINTR, align 8
%18 = icmp eq i64 %16, %17
br i1 %18, label %19, label %20
19: ; preds = %15
br label %11
20: ; preds = %15
%21 = load i64, ptr @errno, align 8
%22 = call i32 @printf(ptr noundef @.str, i64 noundef %21)
store i32 0, ptr %3, align 4
br label %25
23: ; preds = %11
br label %24
24: ; preds = %23
store i32 1, ptr %3, align 4
br label %25
25: ; preds = %24, %20
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @semop(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpneky3i0y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sembuf = type { i32, i32, i64 }
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [38 x i8] c"mplayer: semaphore_v failed errno=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @semaphore_v(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.sembuf, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = getelementptr inbounds %struct.sembuf, ptr %6, i32 0, i32 0
store i32 %7, ptr %8, align 8
%9 = getelementptr inbounds %struct.sembuf, ptr %6, i32 0, i32 1
store i32 1, ptr %9, align 4
%10 = getelementptr inbounds %struct.sembuf, ptr %6, i32 0, i32 2
store i64 0, ptr %10, align 8
%11 = load i32, ptr %4, align 4
%12 = call i32 @semop(i32 noundef %11, ptr noundef %6, i32 noundef 1)
%13 = icmp eq i32 %12, -1
br i1 %13, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %18
14: ; preds = %18
%15 = load i32, ptr %4, align 4
%16 = call i32 @semop(i32 noundef %15, ptr noundef %6, i32 noundef 1)
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %._crit_edge
18: ; preds = %.lr.ph, %14
%19 = load i64, ptr @errno, align 8
%20 = load i64, ptr @EINTR, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %14, label %22
22: ; preds = %18
%23 = load i64, ptr @errno, align 8
%24 = call i32 @printf(ptr noundef @.str, i64 noundef %23)
store i32 0, ptr %3, align 4
br label %27
._crit_edge: ; preds = %14
br label %25
25: ; preds = %._crit_edge, %2
br label %26
26: ; preds = %25
store i32 1, ptr %3, align 4
br label %27
27: ; preds = %26, %22
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @semop(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo0q196um.c'
source_filename = "/tmp/tmpo0q196um.c"
target datalayout = "e-m:e-p270: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/tmpo0q196um.c"
target datalayout = "e-m:e-p270: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/tmps3k_dxon.c'
source_filename = "/tmp/tmps3k_dxon.c"
target datalayout = "e-m:e-p270: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/tmps3k_dxon.c"
target datalayout = "e-m:e-p270: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/tmpl3t_7pdg.c'
source_filename = "/tmp/tmpl3t_7pdg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %10, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = call i64 @isspace(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
br label %5, !llvm.loop !6
13: ; preds = %5
%14 = load ptr, ptr %2, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
switch i32 %16, label %21 [
i32 45, label %17
i32 43, label %18
]
17: ; preds = %13
store i32 1, ptr %4, align 4
br label %18
18: ; preds = %13, %17
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %18, %13
br label %22
22: ; preds = %27, %21
%23 = load ptr, ptr %2, align 8
%24 = load i8, ptr %23, align 1
%25 = call i64 @isdigit(i8 noundef signext %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %36
27: ; preds = %22
%28 = load i32, ptr %3, align 4
%29 = mul nsw i32 10, %28
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %2, align 8
%32 = load i8, ptr %30, align 1
%33 = sext i8 %32 to i32
%34 = sub nsw i32 %33, 48
%35 = sub nsw i32 %29, %34
store i32 %35, ptr %3, align 4
br label %22, !llvm.loop !8
36: ; preds = %22
%37 = load i32, ptr %4, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = load i32, ptr %3, align 4
br label %44
41: ; preds = %36
%42 = load i32, ptr %3, align 4
%43 = sub nsw i32 0, %42
br label %44
44: ; preds = %41, %39
%45 = phi i32 [ %40, %39 ], [ %43, %41 ]
ret i32 %45
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl3t_7pdg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = call i64 @isspace(i8 noundef signext %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = load i8, ptr %12, align 1
%14 = call i64 @isspace(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %16
16: ; preds = %._crit_edge, %1
%17 = load ptr, ptr %2, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
switch i32 %19, label %24 [
i32 45, label %20
i32 43, label %21
]
20: ; preds = %16
store i32 1, ptr %4, align 4
br label %21
21: ; preds = %20, %16
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %2, align 8
br label %24
24: ; preds = %21, %16
%25 = load ptr, ptr %2, align 8
%26 = load i8, ptr %25, align 1
%27 = call i64 @isdigit(i8 noundef signext %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %.lr.ph2, label %42
.lr.ph2: ; preds = %24
br label %29
29: ; preds = %.lr.ph2, %29
%30 = load i32, ptr %3, align 4
%31 = mul nsw i32 10, %30
%32 = load ptr, ptr %2, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %2, align 8
%34 = load i8, ptr %32, align 1
%35 = sext i8 %34 to i32
%36 = sub nsw i32 %35, 48
%37 = sub nsw i32 %31, %36
store i32 %37, ptr %3, align 4
%38 = load ptr, ptr %2, align 8
%39 = load i8, ptr %38, align 1
%40 = call i64 @isdigit(i8 noundef signext %39)
%41 = icmp ne i64 %40, 0
br i1 %41, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %29
br label %42
42: ; preds = %._crit_edge3, %24
%43 = load i32, ptr %4, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = load i32, ptr %3, align 4
br label %50
47: ; preds = %42
%48 = load i32, ptr %3, align 4
%49 = sub nsw i32 0, %48
br label %50
50: ; preds = %47, %45
%51 = phi i32 [ %46, %45 ], [ %49, %47 ]
ret i32 %51
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9emmblrf.c'
source_filename = "/tmp/tmp9emmblrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kForRound(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 = icmp sle i32 %4, 19
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 1518500249, ptr %2, align 4
br label %16
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %8, 39
br i1 %9, label %10, label %11
10: ; preds = %7
store i32 1859775393, ptr %2, align 4
br label %16
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = icmp sle i32 %12, 59
br i1 %13, label %14, label %15
14: ; preds = %11
store i32 -1894007588, ptr %2, align 4
br label %16
15: ; preds = %11
store i32 -899497514, ptr %2, align 4
br label %16
16: ; preds = %15, %14, %10, %6
%17 = load i32, ptr %2, align 4
ret i32 %17
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9emmblrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kForRound(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 = icmp sle i32 %4, 19
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 1518500249, ptr %2, align 4
br label %16
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %8, 39
br i1 %9, label %10, label %11
10: ; preds = %7
store i32 1859775393, ptr %2, align 4
br label %16
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = icmp sle i32 %12, 59
br i1 %13, label %14, label %15
14: ; preds = %11
store i32 -1894007588, ptr %2, align 4
br label %16
15: ; preds = %11
store i32 -899497514, ptr %2, align 4
br label %16
16: ; preds = %15, %14, %10, %6
%17 = load i32, ptr %2, align 4
ret i32 %17
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn7zwqc80.c'
source_filename = "/tmp/tmpn7zwqc80.c"
target datalayout = "e-m:e-p270: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.array = internal global [100 x i32] zeroinitializer, align 16
@EOF = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %71, %0
%7 = load i64, ptr @EOF, align 8
%8 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = icmp ne i64 %7, %8
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = icmp ne i32 %11, 0
br label %13
13: ; preds = %10, %6
%14 = phi i1 [ false, %6 ], [ %12, %10 ]
br i1 %14, label %15, label %77
15: ; preds = %13
store i32 0, ptr %5, align 4
br label %16
16: ; preds = %20, %15
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %26
20: ; preds = %16
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %23
%25 = call i64 @scanf(ptr noundef @.str, ptr noundef %24)
br label %16, !llvm.loop !6
26: ; preds = %16
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %27
27: ; preds = %44, %26
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %47
31: ; preds = %27
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load i32, ptr %5, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = icmp sgt i32 %35, %39
br i1 %40, label %41, label %43
41: ; preds = %31
%42 = load i32, ptr %5, align 4
store i32 %42, ptr %4, align 4
br label %43
43: ; preds = %41, %31
br label %44
44: ; preds = %43
%45 = load i32, ptr %5, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %5, align 4
br label %27, !llvm.loop !8
47: ; preds = %27
%48 = load i32, ptr @main.array, align 16
store i32 %48, ptr %3, align 4
%49 = load i32, ptr %4, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
store i32 %52, ptr @main.array, align 16
%53 = load i32, ptr %3, align 4
%54 = load i32, ptr %4, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %55
store i32 %53, ptr %56, align 4
store i32 0, ptr %5, align 4
br label %57
57: ; preds = %68, %47
%58 = load i32, ptr %5, align 4
%59 = load i32, ptr %2, align 4
%60 = sub nsw i32 %59, 1
%61 = icmp slt i32 %58, %60
br i1 %61, label %62, label %71
62: ; preds = %57
%63 = load i32, ptr %5, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %64
%66 = load i32, ptr %65, align 4
%67 = call i32 @printf(ptr noundef @.str.1, i32 noundef %66)
br label %68
68: ; preds = %62
%69 = load i32, ptr %5, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %5, align 4
br label %57, !llvm.loop !9
71: ; preds = %57
%72 = load i32, ptr %5, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %73
%75 = load i32, ptr %74, align 4
%76 = call i32 @printf(ptr noundef @.str.2, i32 noundef %75)
br label %6, !llvm.loop !10
77: ; preds = %13
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn7zwqc80.c"
target datalayout = "e-m:e-p270: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.array = internal global [100 x i32] zeroinitializer, align 16
@EOF = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %78, %0
%7 = load i64, ptr @EOF, align 8
%8 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = icmp ne i64 %7, %8
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = icmp ne i32 %11, 0
br label %13
13: ; preds = %10, %6
%14 = phi i1 [ false, %6 ], [ %12, %10 ]
br i1 %14, label %15, label %84
15: ; preds = %13
store i32 0, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %28
.lr.ph: ; preds = %15
br label %19
19: ; preds = %.lr.ph, %19
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = sext i32 %20 to i64
%23 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %22
%24 = call i64 @scanf(ptr noundef @.str, ptr noundef %23)
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %28
28: ; preds = %._crit_edge, %15
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph2, label %51
.lr.ph2: ; preds = %28
br label %32
32: ; preds = %.lr.ph2, %45
%33 = load i32, ptr %4, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = icmp sgt i32 %36, %40
br i1 %41, label %42, label %44
42: ; preds = %32
%43 = load i32, ptr %5, align 4
store i32 %43, ptr %4, align 4
br label %44
44: ; preds = %42, %32
br label %45
45: ; preds = %44
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %5, align 4
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %51
51: ; preds = %._crit_edge3, %28
%52 = load i32, ptr @main.array, align 16
store i32 %52, ptr %3, align 4
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %54
%56 = load i32, ptr %55, align 4
store i32 %56, ptr @main.array, align 16
%57 = load i32, ptr %3, align 4
%58 = load i32, ptr %4, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %59
store i32 %57, ptr %60, align 4
store i32 0, ptr %5, align 4
%61 = load i32, ptr %5, align 4
%62 = load i32, ptr %2, align 4
%63 = sub nsw i32 %62, 1
%64 = icmp slt i32 %61, %63
br i1 %64, label %.lr.ph5, label %78
.lr.ph5: ; preds = %51
br label %65
65: ; preds = %.lr.ph5, %71
%66 = load i32, ptr %5, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %67
%69 = load i32, ptr %68, align 4
%70 = call i32 @printf(ptr noundef @.str.1, i32 noundef %69)
br label %71
71: ; preds = %65
%72 = load i32, ptr %5, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %5, align 4
%74 = load i32, ptr %5, align 4
%75 = load i32, ptr %2, align 4
%76 = sub nsw i32 %75, 1
%77 = icmp slt i32 %74, %76
br i1 %77, label %65, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %71
br label %78
78: ; preds = %._crit_edge6, %51
%79 = load i32, ptr %5, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [100 x i32], ptr @main.array, i64 0, i64 %80
%82 = load i32, ptr %81, align 4
%83 = call i32 @printf(ptr noundef @.str.2, i32 noundef %82)
br label %6, !llvm.loop !10
84: ; preds = %13
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpro6q5iq6.c'
source_filename = "/tmp/tmpro6q5iq6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_header_rest(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 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 9
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 8
%12 = load i32, ptr %11, align 4
%13 = call i32 @read(i32 noundef %7, ptr noundef %9, i32 noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 -1, ptr %3, align 4
br label %25
17: ; preds = %2
%18 = load i32, ptr %6, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 8
%21 = load i32, ptr %20, align 4
%22 = icmp ne i32 %18, %21
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 0, ptr %3, align 4
br label %25
24: ; preds = %17
store i32 1, ptr %3, align 4
br label %25
25: ; preds = %24, %23, %16
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @read(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/tmpro6q5iq6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_header_rest(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 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 9
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 8
%12 = load i32, ptr %11, align 4
%13 = call i32 @read(i32 noundef %7, ptr noundef %9, i32 noundef %12)
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 -1, ptr %3, align 4
br label %25
17: ; preds = %2
%18 = load i32, ptr %6, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 8
%21 = load i32, ptr %20, align 4
%22 = icmp ne i32 %18, %21
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 0, ptr %3, align 4
br label %25
24: ; preds = %17
store i32 1, ptr %3, align 4
br label %25
25: ; preds = %24, %23, %16
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @read(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/tmpfg5lbx8s.c'
source_filename = "/tmp/tmpfg5lbx8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 45, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @__print_int(i32 noundef 1)
br label %7
7: ; preds = %5, %0
%8 = load i32, ptr %2, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = call i32 @__print_int(i32 noundef 0)
br label %12
12: ; preds = %10, %7
%13 = load i32, ptr %2, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @__print_int(i32 noundef 1)
br label %19
17: ; preds = %12
%18 = call i32 @__print_int(i32 noundef 0)
br label %19
19: ; preds = %17, %15
%20 = load i32, ptr %2, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %19
%23 = call i32 @__print_int(i32 noundef 0)
br label %26
24: ; preds = %19
%25 = call i32 @__print_int(i32 noundef 1)
br label %26
26: ; preds = %24, %22
ret i32 0
}
declare i32 @__print_int(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/tmpfg5lbx8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 45, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @__print_int(i32 noundef 1)
br label %7
7: ; preds = %5, %0
%8 = load i32, ptr %2, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = call i32 @__print_int(i32 noundef 0)
br label %12
12: ; preds = %10, %7
%13 = load i32, ptr %2, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @__print_int(i32 noundef 1)
br label %19
17: ; preds = %12
%18 = call i32 @__print_int(i32 noundef 0)
br label %19
19: ; preds = %17, %15
%20 = load i32, ptr %2, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %19
%23 = call i32 @__print_int(i32 noundef 0)
br label %26
24: ; preds = %19
%25 = call i32 @__print_int(i32 noundef 1)
br label %26
26: ; preds = %24, %22
ret i32 0
}
declare i32 @__print_int(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/tmp84et9lv2.c'
source_filename = "/tmp/tmp84et9lv2.c"
target datalayout = "e-m:e-p270: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/tmp84et9lv2.c"
target datalayout = "e-m:e-p270: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/tmpptgv_ce5.c'
source_filename = "/tmp/tmpptgv_ce5.c"
target datalayout = "e-m:e-p270: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/tmpptgv_ce5.c"
target datalayout = "e-m:e-p270: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/tmp_jr03y8f.c'
source_filename = "/tmp/tmp_jr03y8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 1 for D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x44() #0 {
%1 = call i32 @isupper(i32 noundef 68) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 345, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isupper(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_jr03y8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 1 for D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x44() #0 {
%1 = call i32 @isupper(i32 noundef 68) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 345, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isupper(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaugmchh8.c'
source_filename = "/tmp/tmpaugmchh8.c"
target datalayout = "e-m:e-p270: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/tmpaugmchh8.c"
target datalayout = "e-m:e-p270: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/tmpv1bx9x21.c'
source_filename = "/tmp/tmpv1bx9x21.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"char1:\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"char2:\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"\0A****************\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.3)
%7 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %2)
%8 = load i8, ptr %1, align 1
%9 = load i8, ptr %2, align 1
%10 = call i32 @packCharacters(i8 noundef signext %8, i8 noundef signext %9)
store i32 %10, ptr %3, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%12 = load i32, ptr %3, align 4
%13 = call i32 @unpackCharacters(i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @packCharacters(i8 noundef signext, i8 noundef signext) #1
declare i32 @unpackCharacters(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/tmpv1bx9x21.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"char1:\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"char2:\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"\0A****************\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.3)
%7 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %2)
%8 = load i8, ptr %1, align 1
%9 = load i8, ptr %2, align 1
%10 = call i32 @packCharacters(i8 noundef signext %8, i8 noundef signext %9)
store i32 %10, ptr %3, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%12 = load i32, ptr %3, align 4
%13 = call i32 @unpackCharacters(i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @packCharacters(i8 noundef signext, i8 noundef signext) #1
declare i32 @unpackCharacters(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/tmpto2ydl47.c'
source_filename = "/tmp/tmpto2ydl47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(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 @strlen(ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %7, 1
%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 %21
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 0, ptr %20, align 1
br label %21
21: ; preds = %12, %1
%22 = load ptr, ptr %4, align 8
ret ptr %22
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpto2ydl47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(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 @strlen(ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %7, 1
%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 %21
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 0, ptr %20, align 1
br label %21
21: ; preds = %12, %1
%22 = load ptr, ptr %4, align 8
ret ptr %22
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1s_uatq5.c'
source_filename = "/tmp/tmp1s_uatq5.c"
target datalayout = "e-m:e-p270: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/tmp1s_uatq5.c"
target datalayout = "e-m:e-p270: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/tmp3nqvj_c0.c'
source_filename = "/tmp/tmp3nqvj_c0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getMINTIME() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
store i64 0, ptr %1, align 8
store i64 0, ptr %2, align 8
%3 = call i64 (...) @now()
store i64 %3, ptr %2, align 8
store i64 %3, ptr %1, align 8
br label %4
4: ; preds = %8, %0
%5 = load i64, ptr %1, align 8
%6 = load i64, ptr %2, align 8
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %10
8: ; preds = %4
%9 = call i64 (...) @now()
store i64 %9, ptr %2, align 8
br label %4, !llvm.loop !6
10: ; preds = %4
%11 = load i64, ptr %2, align 8
%12 = load i64, ptr %1, align 8
%13 = sub nsw i64 %11, %12
ret i64 %13
}
declare i64 @now(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3nqvj_c0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getMINTIME() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
store i64 0, ptr %1, align 8
store i64 0, ptr %2, align 8
%3 = call i64 (...) @now()
store i64 %3, ptr %2, align 8
store i64 %3, ptr %1, align 8
%4 = load i64, ptr %1, align 8
%5 = load i64, ptr %2, align 8
%6 = icmp eq i64 %4, %5
br i1 %6, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %7
%8 = call i64 (...) @now()
store i64 %8, ptr %2, align 8
%9 = load i64, ptr %1, align 8
%10 = load i64, ptr %2, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %12
12: ; preds = %._crit_edge, %0
%13 = load i64, ptr %2, align 8
%14 = load i64, ptr %1, align 8
%15 = sub nsw i64 %13, %14
ret i64 %15
}
declare i64 @now(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpjpdtzgw4.c'
source_filename = "/tmp/tmpjpdtzgw4.c"
target datalayout = "e-m:e-p270: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/tmpjpdtzgw4.c"
target datalayout = "e-m:e-p270: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/tmpoegzma9_.c'
source_filename = "/tmp/tmpoegzma9_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCMGET = dso_local global i32 0, align 4
@TIOCM_RTS = dso_local global i32 0, align 4
@TIOCMSET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @serial_set_rts(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @TIOCMGET, align 4
%8 = call i32 @ioctl(i32 noundef %6, i32 noundef %7, ptr noundef %5)
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %2
%12 = load i32, ptr @TIOCM_RTS, align 4
%13 = load i32, ptr %5, align 4
%14 = or i32 %13, %12
store i32 %14, ptr %5, align 4
br label %20
15: ; preds = %2
%16 = load i32, ptr @TIOCM_RTS, align 4
%17 = xor i32 %16, -1
%18 = load i32, ptr %5, align 4
%19 = and i32 %18, %17
store i32 %19, ptr %5, align 4
br label %20
20: ; preds = %15, %11
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr @TIOCMSET, align 4
%23 = call i32 @ioctl(i32 noundef %21, i32 noundef %22, ptr noundef %5)
ret void
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoegzma9_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCMGET = dso_local global i32 0, align 4
@TIOCM_RTS = dso_local global i32 0, align 4
@TIOCMSET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @serial_set_rts(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @TIOCMGET, align 4
%8 = call i32 @ioctl(i32 noundef %6, i32 noundef %7, ptr noundef %5)
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %2
%12 = load i32, ptr @TIOCM_RTS, align 4
%13 = load i32, ptr %5, align 4
%14 = or i32 %13, %12
store i32 %14, ptr %5, align 4
br label %20
15: ; preds = %2
%16 = load i32, ptr @TIOCM_RTS, align 4
%17 = xor i32 %16, -1
%18 = load i32, ptr %5, align 4
%19 = and i32 %18, %17
store i32 %19, ptr %5, align 4
br label %20
20: ; preds = %15, %11
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr @TIOCMSET, align 4
%23 = call i32 @ioctl(i32 noundef %21, i32 noundef %22, ptr noundef %5)
ret void
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuoebufl7.c'
source_filename = "/tmp/tmpuoebufl7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_u32_le(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = ashr i32 %5, 24
%7 = and i32 %6, 255
%8 = trunc i32 %7 to i8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 3
store i8 %8, ptr %10, align 1
%11 = load i32, ptr %4, align 4
%12 = ashr i32 %11, 16
%13 = and i32 %12, 255
%14 = trunc i32 %13 to i8
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 2
store i8 %14, ptr %16, align 1
%17 = load i32, ptr %4, align 4
%18 = ashr i32 %17, 8
%19 = and i32 %18, 255
%20 = trunc i32 %19 to i8
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
store i8 %20, ptr %22, align 1
%23 = load i32, ptr %4, align 4
%24 = and i32 %23, 255
%25 = trunc i32 %24 to i8
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 0
store i8 %25, ptr %27, align 1
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/tmpuoebufl7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_u32_le(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = ashr i32 %5, 24
%7 = and i32 %6, 255
%8 = trunc i32 %7 to i8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 3
store i8 %8, ptr %10, align 1
%11 = load i32, ptr %4, align 4
%12 = ashr i32 %11, 16
%13 = and i32 %12, 255
%14 = trunc i32 %13 to i8
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 2
store i8 %14, ptr %16, align 1
%17 = load i32, ptr %4, align 4
%18 = ashr i32 %17, 8
%19 = and i32 %18, 255
%20 = trunc i32 %19 to i8
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
store i8 %20, ptr %22, align 1
%23 = load i32, ptr %4, align 4
%24 = and i32 %23, 255
%25 = trunc i32 %24 to i8
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 0
store i8 %25, ptr %27, align 1
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/tmp1jdemx3y.c'
source_filename = "/tmp/tmp1jdemx3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @is_prime(i32 noundef %6, i32 noundef %7)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @is_prime(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1jdemx3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @is_prime(i32 noundef %6, i32 noundef %7)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @is_prime(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp332q903_.c'
source_filename = "/tmp/tmp332q903_.c"
target datalayout = "e-m:e-p270: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/tmp332q903_.c"
target datalayout = "e-m:e-p270: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/tmp3x_2hcgg.c'
source_filename = "/tmp/tmp3x_2hcgg.c"
target datalayout = "e-m:e-p270: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/tmp3x_2hcgg.c"
target datalayout = "e-m:e-p270: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/tmpjz274bjf.c'
source_filename = "/tmp/tmpjz274bjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pid: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %20, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %7, label %23
7: ; preds = %4
%8 = call i32 (...) @getpid()
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
%10 = call i64 (...) @fork()
store i64 %10, ptr %2, align 8
%11 = load i64, ptr %2, align 8
%12 = icmp sgt i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %7
br label %23
14: ; preds = %7
%15 = load i64, ptr %2, align 8
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %14
br label %20
18: ; preds = %14
br label %19
19: ; preds = %18
br label %20
20: ; preds = %19, %17
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %4, !llvm.loop !6
23: ; preds = %13, %4
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i64 @fork(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpjz274bjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pid: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 10
br i1 %5, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %19
%7 = call i32 (...) @getpid()
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = call i64 (...) @fork()
store i64 %9, ptr %2, align 8
%10 = load i64, ptr %2, align 8
%11 = icmp sgt i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %6
br label %24
13: ; preds = %6
%14 = load i64, ptr %2, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
br label %19
17: ; preds = %13
br label %18
18: ; preds = %17
br label %19
19: ; preds = %18, %16
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %22, 10
br i1 %23, label %6, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %19
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %24
24: ; preds = %.loopexit, %12
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i64 @fork(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmppwpvxakh.c'
source_filename = "/tmp/tmppwpvxakh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"%02d:%02d:%02d\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
store i32 0, ptr %1, align 4
br label %9
9: ; preds = %0, %20
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %20
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = load i32, ptr %4, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %20
19: ; preds = %16
br label %62
20: ; preds = %16, %13, %9
%21 = load i32, ptr %2, align 4
%22 = mul nsw i32 %21, 3600
%23 = load i32, ptr %3, align 4
%24 = mul nsw i32 %23, 60
%25 = add nsw i32 %22, %24
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %25, %26
%28 = sub nsw i32 7200, %27
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = sdiv i32 %29, 3600
store i32 %30, ptr %6, align 4
%31 = load i32, ptr %5, align 4
%32 = srem i32 %31, 3600
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = sdiv i32 %33, 60
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %5, align 4
%36 = srem i32 %35, 60
store i32 %36, ptr %8, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %8, align 4
%40 = call i32 @printf(ptr noundef @.str.1, i32 noundef %37, i32 noundef %38, i32 noundef %39)
%41 = load i32, ptr %2, align 4
%42 = mul nsw i32 %41, 3600
%43 = load i32, ptr %3, align 4
%44 = mul nsw i32 %43, 60
%45 = add nsw i32 %42, %44
%46 = load i32, ptr %4, align 4
%47 = add nsw i32 %45, %46
%48 = sub nsw i32 7200, %47
%49 = mul nsw i32 %48, 3
store i32 %49, ptr %5, align 4
%50 = load i32, ptr %5, align 4
%51 = sdiv i32 %50, 3600
store i32 %51, ptr %6, align 4
%52 = load i32, ptr %5, align 4
%53 = srem i32 %52, 3600
store i32 %53, ptr %5, align 4
%54 = load i32, ptr %5, align 4
%55 = sdiv i32 %54, 60
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %5, align 4
%57 = srem i32 %56, 60
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %8, align 4
%61 = call i32 @printf(ptr noundef @.str.1, i32 noundef %58, i32 noundef %59, i32 noundef %60)
br label %9
62: ; preds = %19
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr 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/tmppwpvxakh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"%02d:%02d:%02d\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
store i32 0, ptr %1, align 4
br label %9
9: ; preds = %20, %0
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %20
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = load i32, ptr %4, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %20
19: ; preds = %16
br label %62
20: ; preds = %16, %13, %9
%21 = load i32, ptr %2, align 4
%22 = mul nsw i32 %21, 3600
%23 = load i32, ptr %3, align 4
%24 = mul nsw i32 %23, 60
%25 = add nsw i32 %22, %24
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %25, %26
%28 = sub nsw i32 7200, %27
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = sdiv i32 %29, 3600
store i32 %30, ptr %6, align 4
%31 = load i32, ptr %5, align 4
%32 = srem i32 %31, 3600
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = sdiv i32 %33, 60
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %5, align 4
%36 = srem i32 %35, 60
store i32 %36, ptr %8, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %8, align 4
%40 = call i32 @printf(ptr noundef @.str.1, i32 noundef %37, i32 noundef %38, i32 noundef %39)
%41 = load i32, ptr %2, align 4
%42 = mul nsw i32 %41, 3600
%43 = load i32, ptr %3, align 4
%44 = mul nsw i32 %43, 60
%45 = add nsw i32 %42, %44
%46 = load i32, ptr %4, align 4
%47 = add nsw i32 %45, %46
%48 = sub nsw i32 7200, %47
%49 = mul nsw i32 %48, 3
store i32 %49, ptr %5, align 4
%50 = load i32, ptr %5, align 4
%51 = sdiv i32 %50, 3600
store i32 %51, ptr %6, align 4
%52 = load i32, ptr %5, align 4
%53 = srem i32 %52, 3600
store i32 %53, ptr %5, align 4
%54 = load i32, ptr %5, align 4
%55 = sdiv i32 %54, 60
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %5, align 4
%57 = srem i32 %56, 60
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %8, align 4
%61 = call i32 @printf(ptr noundef @.str.1, i32 noundef %58, i32 noundef %59, i32 noundef %60)
br label %9
62: ; preds = %19
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr 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/tmpqgl4h8g9.c'
source_filename = "/tmp/tmpqgl4h8g9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CMalloc: Error at %s:%d %s.\0A\00", align 1
@.str.1 = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/maokelong/cmalloc/refs/heads/master/sources/cmalloc.c\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"pvalloc() called but not implemented\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cmalloc_pvalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = call i32 @error_and_exit(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 201, ptr noundef @.str.2)
ret ptr null
}
declare i32 @error_and_exit(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqgl4h8g9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CMalloc: Error at %s:%d %s.\0A\00", align 1
@.str.1 = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/maokelong/cmalloc/refs/heads/master/sources/cmalloc.c\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"pvalloc() called but not implemented\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cmalloc_pvalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = call i32 @error_and_exit(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 201, ptr noundef @.str.2)
ret ptr null
}
declare i32 @error_and_exit(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyaow8i4i.c'
source_filename = "/tmp/tmpyaow8i4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @frlusolve(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca float, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = zext i32 %16 to i64
%18 = mul i64 %17, 4
%19 = trunc i64 %18 to i32
%20 = call ptr @alloca(i32 noundef %19)
store ptr %20, ptr %11, align 8
%21 = load ptr, ptr %11, align 8
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %10, align 4
%24 = zext i32 %23 to i64
%25 = mul i64 %24, 4
%26 = trunc i64 %25 to i32
%27 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef %26)
store i32 0, ptr %13, align 4
br label %28
28: ; preds = %105, %5
%29 = load i32, ptr %13, align 4
%30 = load i32, ptr %10, align 4
%31 = sub i32 %30, 1
%32 = icmp ult i32 %29, %31
br i1 %32, label %33, label %108
33: ; preds = %28
%34 = load ptr, ptr %9, align 8
%35 = load i32, ptr %13, align 4
%36 = zext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
store i32 %38, ptr %14, align 4
%39 = load i32, ptr %14, align 4
%40 = load i32, ptr %13, align 4
%41 = icmp ne i32 %39, %40
br i1 %41, label %42, label %64
42: ; preds = %33
br label %43
43: ; preds = %42
%44 = load ptr, ptr %11, align 8
%45 = load i32, ptr %13, align 4
%46 = zext i32 %45 to i64
%47 = getelementptr inbounds float, ptr %44, i64 %46
%48 = load float, ptr %47, align 4
store float %48, ptr %15, align 4
%49 = load ptr, ptr %11, align 8
%50 = load i32, ptr %14, align 4
%51 = zext i32 %50 to i64
%52 = getelementptr inbounds float, ptr %49, i64 %51
%53 = load float, ptr %52, align 4
%54 = load ptr, ptr %11, align 8
%55 = load i32, ptr %13, align 4
%56 = zext i32 %55 to i64
%57 = getelementptr inbounds float, ptr %54, i64 %56
store float %53, ptr %57, align 4
%58 = load float, ptr %15, align 4
%59 = load ptr, ptr %11, align 8
%60 = load i32, ptr %14, align 4
%61 = zext i32 %60 to i64
%62 = getelementptr inbounds float, ptr %59, i64 %61
store float %58, ptr %62, align 4
br label %63
63: ; preds = %43
br label %64
64: ; preds = %63, %33
%65 = load ptr, ptr %11, align 8
%66 = load i32, ptr %13, align 4
%67 = zext i32 %66 to i64
%68 = getelementptr inbounds float, ptr %65, i64 %67
%69 = load float, ptr %68, align 4
%70 = fcmp oeq float %69, 0.000000e+00
br i1 %70, label %71, label %72
71: ; preds = %64
br label %105
72: ; preds = %64
%73 = load i32, ptr %13, align 4
%74 = add i32 %73, 1
store i32 %74, ptr %14, align 4
br label %75
75: ; preds = %101, %72
%76 = load i32, ptr %14, align 4
%77 = load i32, ptr %10, align 4
%78 = icmp ult i32 %76, %77
br i1 %78, label %79, label %104
79: ; preds = %75
%80 = load ptr, ptr %11, align 8
%81 = load i32, ptr %13, align 4
%82 = zext i32 %81 to i64
%83 = getelementptr inbounds float, ptr %80, i64 %82
%84 = load float, ptr %83, align 4
%85 = load ptr, ptr %8, align 8
%86 = load i32, ptr %14, align 4
%87 = load i32, ptr %10, align 4
%88 = mul i32 %86, %87
%89 = load i32, ptr %13, align 4
%90 = add i32 %88, %89
%91 = zext i32 %90 to i64
%92 = getelementptr inbounds float, ptr %85, i64 %91
%93 = load float, ptr %92, align 4
%94 = load ptr, ptr %11, align 8
%95 = load i32, ptr %14, align 4
%96 = zext i32 %95 to i64
%97 = getelementptr inbounds float, ptr %94, i64 %96
%98 = load float, ptr %97, align 4
%99 = fneg float %84
%100 = call float @llvm.fmuladd.f32(float %99, float %93, float %98)
store float %100, ptr %97, align 4
br label %101
101: ; preds = %79
%102 = load i32, ptr %14, align 4
%103 = add i32 %102, 1
store i32 %103, ptr %14, align 4
br label %75, !llvm.loop !6
104: ; preds = %75
br label %105
105: ; preds = %104, %71
%106 = load i32, ptr %13, align 4
%107 = add i32 %106, 1
store i32 %107, ptr %13, align 4
br label %28, !llvm.loop !8
108: ; preds = %28
%109 = load i32, ptr %10, align 4
store i32 %109, ptr %13, align 4
br label %110
110: ; preds = %166, %108
%111 = load i32, ptr %13, align 4
%112 = icmp ugt i32 %111, 0
br i1 %112, label %113, label %169
113: ; preds = %110
%114 = load ptr, ptr %11, align 8
%115 = load i32, ptr %13, align 4
%116 = sub i32 %115, 1
%117 = zext i32 %116 to i64
%118 = getelementptr inbounds float, ptr %114, i64 %117
%119 = load float, ptr %118, align 4
store float %119, ptr %12, align 4
%120 = load i32, ptr %13, align 4
store i32 %120, ptr %14, align 4
br label %121
121: ; preds = %144, %113
%122 = load i32, ptr %14, align 4
%123 = load i32, ptr %10, align 4
%124 = icmp ult i32 %122, %123
br i1 %124, label %125, label %147
125: ; preds = %121
%126 = load ptr, ptr %8, align 8
%127 = load i32, ptr %13, align 4
%128 = sub i32 %127, 1
%129 = load i32, ptr %10, align 4
%130 = mul i32 %128, %129
%131 = load i32, ptr %14, align 4
%132 = add i32 %130, %131
%133 = zext i32 %132 to i64
%134 = getelementptr inbounds float, ptr %126, i64 %133
%135 = load float, ptr %134, align 4
%136 = load ptr, ptr %6, align 8
%137 = load i32, ptr %14, align 4
%138 = zext i32 %137 to i64
%139 = getelementptr inbounds float, ptr %136, i64 %138
%140 = load float, ptr %139, align 4
%141 = load float, ptr %12, align 4
%142 = fneg float %135
%143 = call float @llvm.fmuladd.f32(float %142, float %140, float %141)
store float %143, ptr %12, align 4
br label %144
144: ; preds = %125
%145 = load i32, ptr %14, align 4
%146 = add i32 %145, 1
store i32 %146, ptr %14, align 4
br label %121, !llvm.loop !9
147: ; preds = %121
%148 = load float, ptr %12, align 4
%149 = load ptr, ptr %8, align 8
%150 = load i32, ptr %13, align 4
%151 = sub i32 %150, 1
%152 = load i32, ptr %10, align 4
%153 = mul i32 %151, %152
%154 = load i32, ptr %13, align 4
%155 = sub i32 %154, 1
%156 = add i32 %153, %155
%157 = zext i32 %156 to i64
%158 = getelementptr inbounds float, ptr %149, i64 %157
%159 = load float, ptr %158, align 4
%160 = fdiv float %148, %159
%161 = load ptr, ptr %6, align 8
%162 = load i32, ptr %13, align 4
%163 = sub i32 %162, 1
%164 = zext i32 %163 to i64
%165 = getelementptr inbounds float, ptr %161, i64 %164
store float %160, ptr %165, align 4
br label %166
166: ; preds = %147
%167 = load i32, ptr %13, align 4
%168 = add i32 %167, -1
store i32 %168, ptr %13, align 4
br label %110, !llvm.loop !10
169: ; preds = %110
ret void
}
declare ptr @alloca(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyaow8i4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @frlusolve(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca float, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = zext i32 %16 to i64
%18 = mul i64 %17, 4
%19 = trunc i64 %18 to i32
%20 = call ptr @alloca(i32 noundef %19)
store ptr %20, ptr %11, align 8
%21 = load ptr, ptr %11, align 8
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr %10, align 4
%24 = zext i32 %23 to i64
%25 = mul i64 %24, 4
%26 = trunc i64 %25 to i32
%27 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef %26)
store i32 0, ptr %13, align 4
%28 = load i32, ptr %13, align 4
%29 = load i32, ptr %10, align 4
%30 = sub i32 %29, 1
%31 = icmp ult i32 %28, %30
br i1 %31, label %.lr.ph2, label %113
.lr.ph2: ; preds = %5
br label %32
32: ; preds = %.lr.ph2, %106
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %13, align 4
%35 = zext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
store i32 %37, ptr %14, align 4
%38 = load i32, ptr %14, align 4
%39 = load i32, ptr %13, align 4
%40 = icmp ne i32 %38, %39
br i1 %40, label %41, label %63
41: ; preds = %32
br label %42
42: ; preds = %41
%43 = load ptr, ptr %11, align 8
%44 = load i32, ptr %13, align 4
%45 = zext i32 %44 to i64
%46 = getelementptr inbounds float, ptr %43, i64 %45
%47 = load float, ptr %46, align 4
store float %47, ptr %15, align 4
%48 = load ptr, ptr %11, align 8
%49 = load i32, ptr %14, align 4
%50 = zext i32 %49 to i64
%51 = getelementptr inbounds float, ptr %48, i64 %50
%52 = load float, ptr %51, align 4
%53 = load ptr, ptr %11, align 8
%54 = load i32, ptr %13, align 4
%55 = zext i32 %54 to i64
%56 = getelementptr inbounds float, ptr %53, i64 %55
store float %52, ptr %56, align 4
%57 = load float, ptr %15, align 4
%58 = load ptr, ptr %11, align 8
%59 = load i32, ptr %14, align 4
%60 = zext i32 %59 to i64
%61 = getelementptr inbounds float, ptr %58, i64 %60
store float %57, ptr %61, align 4
br label %62
62: ; preds = %42
br label %63
63: ; preds = %62, %32
%64 = load ptr, ptr %11, align 8
%65 = load i32, ptr %13, align 4
%66 = zext i32 %65 to i64
%67 = getelementptr inbounds float, ptr %64, i64 %66
%68 = load float, ptr %67, align 4
%69 = fcmp oeq float %68, 0.000000e+00
br i1 %69, label %70, label %71
70: ; preds = %63
br label %106
71: ; preds = %63
%72 = load i32, ptr %13, align 4
%73 = add i32 %72, 1
store i32 %73, ptr %14, align 4
%74 = load i32, ptr %14, align 4
%75 = load i32, ptr %10, align 4
%76 = icmp ult i32 %74, %75
br i1 %76, label %.lr.ph, label %105
.lr.ph: ; preds = %71
br label %77
77: ; preds = %.lr.ph, %99
%78 = load ptr, ptr %11, align 8
%79 = load i32, ptr %13, align 4
%80 = zext i32 %79 to i64
%81 = getelementptr inbounds float, ptr %78, i64 %80
%82 = load float, ptr %81, align 4
%83 = load ptr, ptr %8, align 8
%84 = load i32, ptr %14, align 4
%85 = load i32, ptr %10, align 4
%86 = mul i32 %84, %85
%87 = load i32, ptr %13, align 4
%88 = add i32 %86, %87
%89 = zext i32 %88 to i64
%90 = getelementptr inbounds float, ptr %83, i64 %89
%91 = load float, ptr %90, align 4
%92 = load ptr, ptr %11, align 8
%93 = load i32, ptr %14, align 4
%94 = zext i32 %93 to i64
%95 = getelementptr inbounds float, ptr %92, i64 %94
%96 = load float, ptr %95, align 4
%97 = fneg float %82
%98 = call float @llvm.fmuladd.f32(float %97, float %91, float %96)
store float %98, ptr %95, align 4
br label %99
99: ; preds = %77
%100 = load i32, ptr %14, align 4
%101 = add i32 %100, 1
store i32 %101, ptr %14, align 4
%102 = load i32, ptr %14, align 4
%103 = load i32, ptr %10, align 4
%104 = icmp ult i32 %102, %103
br i1 %104, label %77, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %99
br label %105
105: ; preds = %._crit_edge, %71
br label %106
106: ; preds = %105, %70
%107 = load i32, ptr %13, align 4
%108 = add i32 %107, 1
store i32 %108, ptr %13, align 4
%109 = load i32, ptr %13, align 4
%110 = load i32, ptr %10, align 4
%111 = sub i32 %110, 1
%112 = icmp ult i32 %109, %111
br i1 %112, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %106
br label %113
113: ; preds = %._crit_edge3, %5
%114 = load i32, ptr %10, align 4
store i32 %114, ptr %13, align 4
%115 = load i32, ptr %13, align 4
%116 = icmp ugt i32 %115, 0
br i1 %116, label %.lr.ph8, label %177
.lr.ph8: ; preds = %113
br label %117
117: ; preds = %.lr.ph8, %172
%118 = load ptr, ptr %11, align 8
%119 = load i32, ptr %13, align 4
%120 = sub i32 %119, 1
%121 = zext i32 %120 to i64
%122 = getelementptr inbounds float, ptr %118, i64 %121
%123 = load float, ptr %122, align 4
store float %123, ptr %12, align 4
%124 = load i32, ptr %13, align 4
store i32 %124, ptr %14, align 4
%125 = load i32, ptr %14, align 4
%126 = load i32, ptr %10, align 4
%127 = icmp ult i32 %125, %126
br i1 %127, label %.lr.ph5, label %153
.lr.ph5: ; preds = %117
br label %128
128: ; preds = %.lr.ph5, %147
%129 = load ptr, ptr %8, align 8
%130 = load i32, ptr %13, align 4
%131 = sub i32 %130, 1
%132 = load i32, ptr %10, align 4
%133 = mul i32 %131, %132
%134 = load i32, ptr %14, align 4
%135 = add i32 %133, %134
%136 = zext i32 %135 to i64
%137 = getelementptr inbounds float, ptr %129, i64 %136
%138 = load float, ptr %137, align 4
%139 = load ptr, ptr %6, align 8
%140 = load i32, ptr %14, align 4
%141 = zext i32 %140 to i64
%142 = getelementptr inbounds float, ptr %139, i64 %141
%143 = load float, ptr %142, align 4
%144 = load float, ptr %12, align 4
%145 = fneg float %138
%146 = call float @llvm.fmuladd.f32(float %145, float %143, float %144)
store float %146, ptr %12, align 4
br label %147
147: ; preds = %128
%148 = load i32, ptr %14, align 4
%149 = add i32 %148, 1
store i32 %149, ptr %14, align 4
%150 = load i32, ptr %14, align 4
%151 = load i32, ptr %10, align 4
%152 = icmp ult i32 %150, %151
br i1 %152, label %128, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %147
br label %153
153: ; preds = %._crit_edge6, %117
%154 = load float, ptr %12, align 4
%155 = load ptr, ptr %8, align 8
%156 = load i32, ptr %13, align 4
%157 = sub i32 %156, 1
%158 = load i32, ptr %10, align 4
%159 = mul i32 %157, %158
%160 = load i32, ptr %13, align 4
%161 = sub i32 %160, 1
%162 = add i32 %159, %161
%163 = zext i32 %162 to i64
%164 = getelementptr inbounds float, ptr %155, i64 %163
%165 = load float, ptr %164, align 4
%166 = fdiv float %154, %165
%167 = load ptr, ptr %6, align 8
%168 = load i32, ptr %13, align 4
%169 = sub i32 %168, 1
%170 = zext i32 %169 to i64
%171 = getelementptr inbounds float, ptr %167, i64 %170
store float %166, ptr %171, align 4
br label %172
172: ; preds = %153
%173 = load i32, ptr %13, align 4
%174 = add i32 %173, -1
store i32 %174, ptr %13, align 4
%175 = load i32, ptr %13, align 4
%176 = icmp ugt i32 %175, 0
br i1 %176, label %117, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %172
br label %177
177: ; preds = %._crit_edge9, %113
ret void
}
declare ptr @alloca(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmplaaj8ujj.c'
source_filename = "/tmp/tmplaaj8ujj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @realloc_no_check_bad() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call i64 @malloc(i32 noundef 4)
%4 = inttoptr i64 %3 to ptr
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = call ptr @realloc_wrapper(ptr noundef %5, i32 noundef 4)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
store i32 42, ptr %7, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @free(ptr noundef %8)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare ptr @realloc_wrapper(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplaaj8ujj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @realloc_no_check_bad() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call i64 @malloc(i32 noundef 4)
%4 = inttoptr i64 %3 to ptr
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = call ptr @realloc_wrapper(ptr noundef %5, i32 noundef 4)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
store i32 42, ptr %7, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @free(ptr noundef %8)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare ptr @realloc_wrapper(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4kck48d1.c'
source_filename = "/tmp/tmp4kck48d1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in6 = type { i32, i32 }
@PF_INET6 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.sockaddr_in6, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @PF_INET6, align 4
%4 = getelementptr inbounds %struct.sockaddr_in6, ptr %2, i32 0, i32 1
store i32 %3, ptr %4, align 4
%5 = getelementptr inbounds %struct.sockaddr_in6, ptr %2, i32 0, i32 0
store i32 23, ptr %5, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4kck48d1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in6 = type { i32, i32 }
@PF_INET6 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.sockaddr_in6, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @PF_INET6, align 4
%4 = getelementptr inbounds %struct.sockaddr_in6, ptr %2, i32 0, i32 1
store i32 %3, ptr %4, align 4
%5 = getelementptr inbounds %struct.sockaddr_in6, ptr %2, i32 0, i32 0
store i32 23, ptr %5, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.