llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp9dj3fga7.c'
source_filename = "/tmp/tmp9dj3fga7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"JAN\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"FEB\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"MAR\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"APR\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"MAY\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"JUN\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"JUL\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"AUG\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"SEP\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"OCT\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"NOV\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"DEC\00", align 1
@__const.main.months = private unnamed_addr constant [12 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11], align 16
@.str.12 = private unnamed_addr constant [17 x i8] c"%s - %d Failed.\0A\00", align 1
@.str.13 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [12 x ptr], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.months, i64 96, i1 false)
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %34, %2
%10 = load i32, ptr %8, align 4
%11 = icmp slt i32 %10, 1200000000
br i1 %11, label %12, label %37
12: ; preds = %9
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %7, align 4
%15 = load i32, ptr %8, align 4
%16 = srem i32 %15, 12
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [12 x ptr], ptr %6, i64 0, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i32 @month_to_i(ptr noundef %19)
%21 = load i32, ptr %8, align 4
%22 = srem i32 %21, 12
%23 = add nsw i32 1, %22
%24 = icmp ne i32 %20, %23
br i1 %24, label %25, label %33
25: ; preds = %12
%26 = load i32, ptr %8, align 4
%27 = srem i32 %26, 12
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [12 x ptr], ptr %6, i64 0, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = load i32, ptr %8, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %30, i32 noundef %31)
br label %33
33: ; preds = %25, %12
br label %34
34: ; preds = %33
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %9, !llvm.loop !6
37: ; preds = %9
%38 = load i32, ptr %7, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %38)
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 @month_to_i(ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9dj3fga7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"JAN\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"FEB\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"MAR\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"APR\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"MAY\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"JUN\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"JUL\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"AUG\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"SEP\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"OCT\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"NOV\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"DEC\00", align 1
@__const.main.months = private unnamed_addr constant [12 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11], align 16
@.str.12 = private unnamed_addr constant [17 x i8] c"%s - %d Failed.\0A\00", align 1
@.str.13 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [12 x ptr], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.months, i64 96, i1 false)
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = icmp slt i32 %9, 1200000000
br i1 %10, label %.lr.ph, label %38
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %33
%12 = load i32, ptr %7, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = srem i32 %14, 12
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [12 x ptr], ptr %6, i64 0, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 @month_to_i(ptr noundef %18)
%20 = load i32, ptr %8, align 4
%21 = srem i32 %20, 12
%22 = add nsw i32 1, %21
%23 = icmp ne i32 %19, %22
br i1 %23, label %24, label %32
24: ; preds = %11
%25 = load i32, ptr %8, align 4
%26 = srem i32 %25, 12
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [12 x ptr], ptr %6, i64 0, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr %8, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %29, i32 noundef %30)
br label %32
32: ; preds = %24, %11
br label %33
33: ; preds = %32
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1200000000
br i1 %37, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %38
38: ; preds = %._crit_edge, %2
%39 = load i32, ptr %7, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %39)
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 @month_to_i(ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7fpxnscv.c'
source_filename = "/tmp/tmp7fpxnscv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"casa\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"caso\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 ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @distancia_subcadena(ptr noundef %4, ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @distancia_subcadena(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/tmp7fpxnscv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"casa\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"caso\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 ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @distancia_subcadena(ptr noundef %4, ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str.2, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @distancia_subcadena(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/tmpx2h3grv3.c'
source_filename = "/tmp/tmpx2h3grv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @game_initial(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call ptr @malloc_map(i32 noundef %6)
store ptr %7, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %8
8: ; preds = %30, %1
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %33
12: ; preds = %8
store i32 0, ptr %5, align 4
br label %13
13: ; preds = %26, %12
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %29
17: ; preds = %13
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
store i32 0, ptr %25, align 4
br label %26
26: ; preds = %17
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %13, !llvm.loop !6
29: ; preds = %13
br label %30
30: ; preds = %29
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
br label %8, !llvm.loop !8
33: ; preds = %8
%34 = load ptr, ptr %3, align 8
ret ptr %34
}
declare ptr @malloc_map(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx2h3grv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @game_initial(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call ptr @malloc_map(i32 noundef %6)
store ptr %7, ptr %3, align 8
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph2, label %37
.lr.ph2: ; preds = %1
br label %11
11: ; preds = %.lr.ph2, %31
store i32 0, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %30
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %24
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
store i32 0, ptr %23, align 4
br label %24
24: ; preds = %15
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %11
br label %31
31: ; preds = %30
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %2, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %31
br label %37
37: ; preds = %._crit_edge3, %1
%38 = load ptr, ptr %3, align 8
ret ptr %38
}
declare ptr @malloc_map(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp88f9f_bs.c'
source_filename = "/tmp/tmp88f9f_bs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @_Z10swcopysignff(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @llvm.copysign.f32(float %5, float %6)
ret float %7
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.copysign.f32(float, float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp88f9f_bs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @_Z10swcopysignff(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @llvm.copysign.f32(float %5, float %6)
ret float %7
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.copysign.f32(float, float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg04cer_u.c'
source_filename = "/tmp/tmpg04cer_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 i32 @f380(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @f379(ptr noundef %3)
ret i32 %4
}
declare i32 @f379(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg04cer_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 i32 @f380(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @f379(ptr noundef %3)
ret i32 %4
}
declare i32 @f379(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6xhq72nq.c'
source_filename = "/tmp/tmp6xhq72nq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, ptr }
@ASN1_STRING_FLAG_BITS_LEFT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2c_ASN1_BIT_STRING(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %151
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %16, i32 0, i32 0
%18 = load i32, ptr %17, align 8
store i32 %18, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %110
21: ; preds = %15
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i32 0, i32 1
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr @ASN1_STRING_FLAG_BITS_LEFT, align 4
%26 = and i32 %24, %25
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %21
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %29, i32 0, i32 1
%31 = load i32, ptr %30, align 4
%32 = and i32 %31, 7
store i32 %32, ptr %8, align 4
br label %109
33: ; preds = %21
br label %34
34: ; preds = %49, %33
%35 = load i32, ptr %9, align 4
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %52
37: ; preds = %34
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds %struct.TYPE_3__, ptr %38, i32 0, i32 2
%40 = load ptr, ptr %39, align 8
%41 = load i32, ptr %9, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %40, i64 %43
%45 = load i32, ptr %44, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %37
br label %52
48: ; preds = %37
br label %49
49: ; preds = %48
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %50, -1
store i32 %51, ptr %9, align 4
br label %34, !llvm.loop !6
52: ; preds = %47, %34
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds %struct.TYPE_3__, ptr %53, i32 0, i32 2
%55 = load ptr, ptr %54, align 8
%56 = load i32, ptr %9, align 4
%57 = sub nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %55, i64 %58
%60 = load i32, ptr %59, align 4
store i32 %60, ptr %7, align 4
%61 = load i32, ptr %7, align 4
%62 = and i32 %61, 1
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %52
store i32 0, ptr %8, align 4
br label %108
65: ; preds = %52
%66 = load i32, ptr %7, align 4
%67 = and i32 %66, 2
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %70
69: ; preds = %65
store i32 1, ptr %8, align 4
br label %107
70: ; preds = %65
%71 = load i32, ptr %7, align 4
%72 = and i32 %71, 4
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %70
store i32 2, ptr %8, align 4
br label %106
75: ; preds = %70
%76 = load i32, ptr %7, align 4
%77 = and i32 %76, 8
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %75
store i32 3, ptr %8, align 4
br label %105
80: ; preds = %75
%81 = load i32, ptr %7, align 4
%82 = and i32 %81, 16
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %85
84: ; preds = %80
store i32 4, ptr %8, align 4
br label %104
85: ; preds = %80
%86 = load i32, ptr %7, align 4
%87 = and i32 %86, 32
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %90
89: ; preds = %85
store i32 5, ptr %8, align 4
br label %103
90: ; preds = %85
%91 = load i32, ptr %7, align 4
%92 = and i32 %91, 64
%93 = icmp ne i32 %92, 0
br i1 %93, label %94, label %95
94: ; preds = %90
store i32 6, ptr %8, align 4
br label %102
95: ; preds = %90
%96 = load i32, ptr %7, align 4
%97 = and i32 %96, 128
%98 = icmp ne i32 %97, 0
br i1 %98, label %99, label %100
99: ; preds = %95
store i32 7, ptr %8, align 4
br label %101
100: ; preds = %95
store i32 0, ptr %8, align 4
br label %101
101: ; preds = %100, %99
br label %102
102: ; preds = %101, %94
br label %103
103: ; preds = %102, %89
br label %104
104: ; preds = %103, %84
br label %105
105: ; preds = %104, %79
br label %106
106: ; preds = %105, %74
br label %107
107: ; preds = %106, %69
br label %108
108: ; preds = %107, %64
br label %109
109: ; preds = %108, %28
br label %111
110: ; preds = %15
store i32 0, ptr %8, align 4
br label %111
111: ; preds = %110, %109
%112 = load i32, ptr %9, align 4
%113 = add nsw i32 1, %112
store i32 %113, ptr %6, align 4
%114 = load ptr, ptr %5, align 8
%115 = icmp eq ptr %114, null
br i1 %115, label %116, label %118
116: ; preds = %111
%117 = load i32, ptr %6, align 4
store i32 %117, ptr %3, align 4
br label %151
118: ; preds = %111
%119 = load ptr, ptr %5, align 8
%120 = load ptr, ptr %119, align 8
store ptr %120, ptr %10, align 8
%121 = load i32, ptr %8, align 4
%122 = trunc i32 %121 to i8
%123 = load ptr, ptr %10, align 8
%124 = getelementptr inbounds i8, ptr %123, i32 1
store ptr %124, ptr %10, align 8
store i8 %122, ptr %123, align 1
%125 = load ptr, ptr %4, align 8
%126 = getelementptr inbounds %struct.TYPE_3__, ptr %125, i32 0, i32 2
%127 = load ptr, ptr %126, align 8
store ptr %127, ptr %11, align 8
%128 = load i32, ptr %9, align 4
%129 = icmp sgt i32 %128, 0
br i1 %129, label %130, label %147
130: ; preds = %118
%131 = load ptr, ptr %10, align 8
%132 = load ptr, ptr %11, align 8
%133 = load i32, ptr %9, align 4
%134 = call i32 @memcpy(ptr noundef %131, ptr noundef %132, i32 noundef %133)
%135 = load i32, ptr %9, align 4
%136 = load ptr, ptr %10, align 8
%137 = sext i32 %135 to i64
%138 = getelementptr inbounds i8, ptr %136, i64 %137
store ptr %138, ptr %10, align 8
%139 = load i32, ptr %8, align 4
%140 = shl i32 255, %139
%141 = load ptr, ptr %10, align 8
%142 = getelementptr inbounds i8, ptr %141, i64 -1
%143 = load i8, ptr %142, align 1
%144 = zext i8 %143 to i32
%145 = and i32 %144, %140
%146 = trunc i32 %145 to i8
store i8 %146, ptr %142, align 1
br label %147
147: ; preds = %130, %118
%148 = load ptr, ptr %10, align 8
%149 = load ptr, ptr %5, align 8
store ptr %148, ptr %149, align 8
%150 = load i32, ptr %6, align 4
store i32 %150, ptr %3, align 4
br label %151
151: ; preds = %147, %116, %14
%152 = load i32, ptr %3, align 4
ret i32 %152
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6xhq72nq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, ptr }
@ASN1_STRING_FLAG_BITS_LEFT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @i2c_ASN1_BIT_STRING(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %152
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %16, i32 0, i32 0
%18 = load i32, ptr %17, align 8
store i32 %18, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %111
21: ; preds = %15
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i32 0, i32 1
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr @ASN1_STRING_FLAG_BITS_LEFT, align 4
%26 = and i32 %24, %25
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %21
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %29, i32 0, i32 1
%31 = load i32, ptr %30, align 4
%32 = and i32 %31, 7
store i32 %32, ptr %8, align 4
br label %110
33: ; preds = %21
%34 = load i32, ptr %9, align 4
%35 = icmp sgt i32 %34, 0
br i1 %35, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %33
br label %36
36: ; preds = %.lr.ph, %48
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds %struct.TYPE_3__, ptr %37, i32 0, i32 2
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %9, align 4
%41 = sub nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %39, i64 %42
%44 = load i32, ptr %43, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %36
br label %53
47: ; preds = %36
br label %48
48: ; preds = %47
%49 = load i32, ptr %9, align 4
%50 = add nsw i32 %49, -1
store i32 %50, ptr %9, align 4
%51 = load i32, ptr %9, align 4
%52 = icmp sgt i32 %51, 0
br i1 %52, label %36, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %48
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %33
br label %53
53: ; preds = %.loopexit, %46
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds %struct.TYPE_3__, ptr %54, i32 0, i32 2
%56 = load ptr, ptr %55, align 8
%57 = load i32, ptr %9, align 4
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %56, i64 %59
%61 = load i32, ptr %60, align 4
store i32 %61, ptr %7, align 4
%62 = load i32, ptr %7, align 4
%63 = and i32 %62, 1
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %53
store i32 0, ptr %8, align 4
br label %109
66: ; preds = %53
%67 = load i32, ptr %7, align 4
%68 = and i32 %67, 2
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %66
store i32 1, ptr %8, align 4
br label %108
71: ; preds = %66
%72 = load i32, ptr %7, align 4
%73 = and i32 %72, 4
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %76
75: ; preds = %71
store i32 2, ptr %8, align 4
br label %107
76: ; preds = %71
%77 = load i32, ptr %7, align 4
%78 = and i32 %77, 8
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %76
store i32 3, ptr %8, align 4
br label %106
81: ; preds = %76
%82 = load i32, ptr %7, align 4
%83 = and i32 %82, 16
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %86
85: ; preds = %81
store i32 4, ptr %8, align 4
br label %105
86: ; preds = %81
%87 = load i32, ptr %7, align 4
%88 = and i32 %87, 32
%89 = icmp ne i32 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %86
store i32 5, ptr %8, align 4
br label %104
91: ; preds = %86
%92 = load i32, ptr %7, align 4
%93 = and i32 %92, 64
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %96
95: ; preds = %91
store i32 6, ptr %8, align 4
br label %103
96: ; preds = %91
%97 = load i32, ptr %7, align 4
%98 = and i32 %97, 128
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %101
100: ; preds = %96
store i32 7, ptr %8, align 4
br label %102
101: ; preds = %96
store i32 0, ptr %8, align 4
br label %102
102: ; preds = %101, %100
br label %103
103: ; preds = %102, %95
br label %104
104: ; preds = %103, %90
br label %105
105: ; preds = %104, %85
br label %106
106: ; preds = %105, %80
br label %107
107: ; preds = %106, %75
br label %108
108: ; preds = %107, %70
br label %109
109: ; preds = %108, %65
br label %110
110: ; preds = %109, %28
br label %112
111: ; preds = %15
store i32 0, ptr %8, align 4
br label %112
112: ; preds = %111, %110
%113 = load i32, ptr %9, align 4
%114 = add nsw i32 1, %113
store i32 %114, ptr %6, align 4
%115 = load ptr, ptr %5, align 8
%116 = icmp eq ptr %115, null
br i1 %116, label %117, label %119
117: ; preds = %112
%118 = load i32, ptr %6, align 4
store i32 %118, ptr %3, align 4
br label %152
119: ; preds = %112
%120 = load ptr, ptr %5, align 8
%121 = load ptr, ptr %120, align 8
store ptr %121, ptr %10, align 8
%122 = load i32, ptr %8, align 4
%123 = trunc i32 %122 to i8
%124 = load ptr, ptr %10, align 8
%125 = getelementptr inbounds i8, ptr %124, i32 1
store ptr %125, ptr %10, align 8
store i8 %123, ptr %124, align 1
%126 = load ptr, ptr %4, align 8
%127 = getelementptr inbounds %struct.TYPE_3__, ptr %126, i32 0, i32 2
%128 = load ptr, ptr %127, align 8
store ptr %128, ptr %11, align 8
%129 = load i32, ptr %9, align 4
%130 = icmp sgt i32 %129, 0
br i1 %130, label %131, label %148
131: ; preds = %119
%132 = load ptr, ptr %10, align 8
%133 = load ptr, ptr %11, align 8
%134 = load i32, ptr %9, align 4
%135 = call i32 @memcpy(ptr noundef %132, ptr noundef %133, i32 noundef %134)
%136 = load i32, ptr %9, align 4
%137 = load ptr, ptr %10, align 8
%138 = sext i32 %136 to i64
%139 = getelementptr inbounds i8, ptr %137, i64 %138
store ptr %139, ptr %10, align 8
%140 = load i32, ptr %8, align 4
%141 = shl i32 255, %140
%142 = load ptr, ptr %10, align 8
%143 = getelementptr inbounds i8, ptr %142, i64 -1
%144 = load i8, ptr %143, align 1
%145 = zext i8 %144 to i32
%146 = and i32 %145, %141
%147 = trunc i32 %146 to i8
store i8 %147, ptr %143, align 1
br label %148
148: ; preds = %131, %119
%149 = load ptr, ptr %10, align 8
%150 = load ptr, ptr %5, align 8
store ptr %149, ptr %150, align 8
%151 = load i32, ptr %6, align 4
store i32 %151, ptr %3, align 4
br label %152
152: ; preds = %148, %117, %14
%153 = load i32, ptr %3, align 4
ret i32 %153
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7054p7s9.c'
source_filename = "/tmp/tmp7054p7s9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Unit testing C based time utilities\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Passed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 (...) @test_add_timespec()
%4 = call i32 (...) @test_subtract_timespec()
%5 = call i32 (...) @test_ms_timespec()
%6 = call i32 (...) @test_compare_timespec()
%7 = call i32 (...) @test_normalize_timespec()
%8 = call i32 (...) @test_add_timeval()
%9 = call i32 (...) @test_subtract_timeval()
%10 = call i32 (...) @test_ms_timeval()
%11 = call i32 (...) @test_compare_timeval()
%12 = call i32 (...) @test_normalize_timeval()
%13 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @test_add_timespec(...) #1
declare i32 @test_subtract_timespec(...) #1
declare i32 @test_ms_timespec(...) #1
declare i32 @test_compare_timespec(...) #1
declare i32 @test_normalize_timespec(...) #1
declare i32 @test_add_timeval(...) #1
declare i32 @test_subtract_timeval(...) #1
declare i32 @test_ms_timeval(...) #1
declare i32 @test_compare_timeval(...) #1
declare i32 @test_normalize_timeval(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7054p7s9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Unit testing C based time utilities\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Passed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 (...) @test_add_timespec()
%4 = call i32 (...) @test_subtract_timespec()
%5 = call i32 (...) @test_ms_timespec()
%6 = call i32 (...) @test_compare_timespec()
%7 = call i32 (...) @test_normalize_timespec()
%8 = call i32 (...) @test_add_timeval()
%9 = call i32 (...) @test_subtract_timeval()
%10 = call i32 (...) @test_ms_timeval()
%11 = call i32 (...) @test_compare_timeval()
%12 = call i32 (...) @test_normalize_timeval()
%13 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @test_add_timespec(...) #1
declare i32 @test_subtract_timespec(...) #1
declare i32 @test_ms_timespec(...) #1
declare i32 @test_compare_timespec(...) #1
declare i32 @test_normalize_timespec(...) #1
declare i32 @test_add_timeval(...) #1
declare i32 @test_subtract_timeval(...) #1
declare i32 @test_ms_timeval(...) #1
declare i32 @test_compare_timeval(...) #1
declare i32 @test_normalize_timeval(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcciw41az.c'
source_filename = "/tmp/tmpcciw41az.c"
target datalayout = "e-m:e-p270: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.oldString = private unnamed_addr constant [15 x i8] c"fish\09tab there\00", align 1
@.str = private unnamed_addr constant [16 x i8] c"This is ... %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"old string: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"new string: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [15 x i8], align 1
%3 = alloca [17 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [15 x i8], align 1
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.oldString, i64 15, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 17, i1 false)
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %18, %0
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 16
br i1 %11, label %12, label %21
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 %14
store i8 32, ptr %15, align 1
%16 = load i32, ptr %4, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %12
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %9, !llvm.loop !6
21: ; preds = %9
store i32 0, ptr %5, align 4
br label %22
22: ; preds = %32, %21
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %22
%30 = load i32, ptr %5, align 4
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30)
br label %32
32: ; preds = %29
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %22, !llvm.loop !8
35: ; preds = %22
store i32 0, ptr %6, align 4
br label %36
36: ; preds = %46, %35
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %49
43: ; preds = %36
%44 = load i32, ptr %6, align 4
%45 = call i32 @printf(ptr noundef @.str.2, i32 noundef %44)
br label %46
46: ; preds = %43
%47 = load i32, ptr %6, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %6, align 4
br label %36, !llvm.loop !9
49: ; preds = %36
%50 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0
%51 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%52 = call i32 @toEscape(ptr noundef %50, ptr noundef %51)
store i32 0, ptr %8, align 4
br label %53
53: ; preds = %60, %49
%54 = load i32, ptr %8, align 4
%55 = icmp slt i32 %54, 15
br i1 %55, label %56, label %63
56: ; preds = %53
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [15 x i8], ptr %7, i64 0, i64 %58
store i8 32, ptr %59, align 1
br label %60
60: ; preds = %56
%61 = load i32, ptr %8, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %8, align 4
br label %53, !llvm.loop !10
63: ; preds = %53
%64 = getelementptr inbounds [15 x i8], ptr %7, i64 0, i64 0
%65 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0
%66 = call i32 @fromEscape(ptr noundef %64, ptr noundef %65)
%67 = load i32, ptr %1, align 4
ret i32 %67
}
; 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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, i32 noundef) #3
declare i32 @toEscape(ptr noundef, ptr noundef) #3
declare i32 @fromEscape(ptr noundef, ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpcciw41az.c"
target datalayout = "e-m:e-p270: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.oldString = private unnamed_addr constant [15 x i8] c"fish\09tab there\00", align 1
@.str = private unnamed_addr constant [16 x i8] c"This is ... %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"old string: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"new string: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [15 x i8], align 1
%3 = alloca [17 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [15 x i8], align 1
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.oldString, i64 15, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 17, i1 false)
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 16
br i1 %10, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %17
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 %13
store i8 32, ptr %14, align 1
%15 = load i32, ptr %4, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %11
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %20, 16
br i1 %21, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %.lr.ph2, label %41
.lr.ph2: ; preds = %22
br label %29
29: ; preds = %.lr.ph2, %32
%30 = load i32, ptr %5, align 4
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30)
br label %32
32: ; preds = %29
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp ne i32 %39, 0
br i1 %40, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %32
br label %41
41: ; preds = %._crit_edge3, %22
store i32 0, ptr %6, align 4
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 0
br i1 %47, label %.lr.ph5, label %60
.lr.ph5: ; preds = %41
br label %48
48: ; preds = %.lr.ph5, %51
%49 = load i32, ptr %6, align 4
%50 = call i32 @printf(ptr noundef @.str.2, i32 noundef %49)
br label %51
51: ; preds = %48
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %6, align 4
%54 = load i32, ptr %6, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp ne i32 %58, 0
br i1 %59, label %48, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %51
br label %60
60: ; preds = %._crit_edge6, %41
%61 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0
%62 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%63 = call i32 @toEscape(ptr noundef %61, ptr noundef %62)
store i32 0, ptr %8, align 4
%64 = load i32, ptr %8, align 4
%65 = icmp slt i32 %64, 15
br i1 %65, label %.lr.ph8, label %75
.lr.ph8: ; preds = %60
br label %66
66: ; preds = %.lr.ph8, %70
%67 = load i32, ptr %8, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [15 x i8], ptr %7, i64 0, i64 %68
store i8 32, ptr %69, align 1
br label %70
70: ; preds = %66
%71 = load i32, ptr %8, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %8, align 4
%73 = load i32, ptr %8, align 4
%74 = icmp slt i32 %73, 15
br i1 %74, label %66, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %70
br label %75
75: ; preds = %._crit_edge9, %60
%76 = getelementptr inbounds [15 x i8], ptr %7, i64 0, i64 0
%77 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 0
%78 = call i32 @fromEscape(ptr noundef %76, ptr noundef %77)
%79 = load i32, ptr %1, align 4
ret i32 %79
}
; 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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, i32 noundef) #3
declare i32 @toEscape(ptr noundef, ptr noundef) #3
declare i32 @fromEscape(ptr noundef, ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpjrwe7imr.c'
source_filename = "/tmp/tmpjrwe7imr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"backup21.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"\0AError opening file %s\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"\0A%d read\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"\0A%d read marks: \00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"\0ARead id: %d marks: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str)
br label %10
10: ; preds = %8, %0
%11 = load ptr, ptr %2, align 8
%12 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %11, ptr noundef @.str.3, ptr noundef %3)
%13 = load i32, ptr %3, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %15, ptr noundef @.str.3, ptr noundef %4)
%17 = load i32, ptr %4, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %17)
br label %19
19: ; preds = %24, %10
%20 = load ptr, ptr %2, align 8
%21 = call i32 @feof(ptr noundef %20)
%22 = icmp ne i32 %21, 0
%23 = xor i1 %22, true
br i1 %23, label %24, label %30
24: ; preds = %19
%25 = load ptr, ptr %2, align 8
%26 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %25, ptr noundef @.str.6, ptr noundef %3, ptr noundef %4)
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %27, i32 noundef %28)
br label %19, !llvm.loop !6
30: ; preds = %19
%31 = load ptr, ptr %2, align 8
%32 = call i32 @fclose(ptr noundef %31)
%33 = load i32, ptr %1, align 4
ret i32 %33
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjrwe7imr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"backup21.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"\0AError opening file %s\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"\0A%d read\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"\0A%d read marks: \00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"\0ARead id: %d marks: %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str)
br label %10
10: ; preds = %8, %0
%11 = load ptr, ptr %2, align 8
%12 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %11, ptr noundef @.str.3, ptr noundef %3)
%13 = load i32, ptr %3, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %15, ptr noundef @.str.3, ptr noundef %4)
%17 = load i32, ptr %4, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %17)
%19 = load ptr, ptr %2, align 8
%20 = call i32 @feof(ptr noundef %19)
%21 = icmp ne i32 %20, 0
%22 = xor i1 %21, true
br i1 %22, label %.lr.ph, label %33
.lr.ph: ; preds = %10
br label %23
23: ; preds = %.lr.ph, %23
%24 = load ptr, ptr %2, align 8
%25 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %24, ptr noundef @.str.6, ptr noundef %3, ptr noundef %4)
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %4, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %26, i32 noundef %27)
%29 = load ptr, ptr %2, align 8
%30 = call i32 @feof(ptr noundef %29)
%31 = icmp ne i32 %30, 0
%32 = xor i1 %31, true
br i1 %32, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %33
33: ; preds = %._crit_edge, %10
%34 = load ptr, ptr %2, align 8
%35 = call i32 @fclose(ptr noundef %34)
%36 = load i32, ptr %1, align 4
ret i32 %36
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx29i2fn0.c'
source_filename = "/tmp/tmpx29i2fn0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @contain_3(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [256 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%11 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 256)
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %8, align 4
%14 = load ptr, ptr %5, align 8
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %9, align 4
store i32 0, ptr %7, align 4
br label %16
16: ; preds = %29, %2
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %32
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = zext i32 %26 to i64
%28 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %27
store i8 1, ptr %28, align 1
br label %29
29: ; preds = %20
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
br label %16, !llvm.loop !6
32: ; preds = %16
store i32 0, ptr %7, align 4
br label %33
33: ; preds = %51, %32
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %9, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %54
37: ; preds = %33
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = zext i32 %43 to i64
%45 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %37
store i32 0, ptr %3, align 4
br label %55
50: ; preds = %37
br label %51
51: ; preds = %50
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %7, align 4
br label %33, !llvm.loop !8
54: ; preds = %33
store i32 1, ptr %3, align 4
br label %55
55: ; preds = %54, %49
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare i32 @memset(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx29i2fn0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @contain_3(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [256 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%11 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 256)
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %8, align 4
%14 = load ptr, ptr %5, align 8
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %9, align 4
store i32 0, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %19
19: ; preds = %.lr.ph, %28
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = zext i32 %25 to i64
%27 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %26
store i8 1, ptr %27, align 1
br label %28
28: ; preds = %19
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %2
store i32 0, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %9, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %.lr.ph2, label %58
.lr.ph2: ; preds = %34
br label %38
38: ; preds = %.lr.ph2, %52
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = zext i32 %44 to i64
%46 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %38
store i32 0, ptr %3, align 4
br label %59
51: ; preds = %38
br label %52
52: ; preds = %51
%53 = load i32, ptr %7, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %7, align 4
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %9, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %58
58: ; preds = %._crit_edge3, %34
store i32 1, ptr %3, align 4
br label %59
59: ; preds = %58, %50
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i32 @memset(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9lj_uvhk.c'
source_filename = "/tmp/tmp9lj_uvhk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KaDisp_move_window_to_page(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
%5 = mul nsw i32 %4, 8
%6 = and i32 %5, 63
%7 = trunc i32 %6 to i8
%8 = call i32 @SSD1780_send_cmd_with_val(i32 noundef 211, i8 noundef zeroext %7)
ret void
}
declare i32 @SSD1780_send_cmd_with_val(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9lj_uvhk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KaDisp_move_window_to_page(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
%5 = mul nsw i32 %4, 8
%6 = and i32 %5, 63
%7 = trunc i32 %6 to i8
%8 = call i32 @SSD1780_send_cmd_with_val(i32 noundef 211, i8 noundef zeroext %7)
ret void
}
declare i32 @SSD1780_send_cmd_with_val(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyorv7fso.c'
source_filename = "/tmp/tmpyorv7fso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strip(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @head(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @tail(ptr noundef %5)
ret void
}
declare i32 @head(ptr noundef) #1
declare i32 @tail(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyorv7fso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strip(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @head(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @tail(ptr noundef %5)
ret void
}
declare i32 @head(ptr noundef) #1
declare i32 @tail(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd2o_gfju.c'
source_filename = "/tmp/tmpd2o_gfju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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 ptr null, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call i32 @atoi(ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @dump_core(i32 noundef %12, ptr noundef %7)
%14 = icmp ne i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %21
17: ; preds = %2
%18 = load ptr, ptr %7, align 8
%19 = call i32 @printf(ptr noundef @.str, ptr noundef %18)
%20 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %20, ptr %3, align 4
br label %21
21: ; preds = %17, %15
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @atoi(ptr noundef) #1
declare i32 @dump_core(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd2o_gfju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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 ptr null, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 1
%10 = load ptr, ptr %9, align 8
%11 = call i32 @atoi(ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @dump_core(i32 noundef %12, ptr noundef %7)
%14 = icmp ne i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %21
17: ; preds = %2
%18 = load ptr, ptr %7, align 8
%19 = call i32 @printf(ptr noundef @.str, ptr noundef %18)
%20 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %20, ptr %3, align 4
br label %21
21: ; preds = %17, %15
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @atoi(ptr noundef) #1
declare i32 @dump_core(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwf_5v58l.c'
source_filename = "/tmp/tmpwf_5v58l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mbs_duplicate_as_wcs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @mbstowcs(ptr noundef null, ptr noundef %6, i64 noundef 0)
store i64 %7, ptr %4, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp eq i64 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %1
store ptr null, ptr %2, align 8
br label %27
11: ; preds = %1
%12 = load i64, ptr %4, align 8
%13 = add i64 %12, 1
%14 = call ptr @xcalloc(i64 noundef %13, i32 noundef 4)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %3, align 8
%17 = load i64, ptr %4, align 8
%18 = add i64 %17, 1
%19 = call i64 @mbstowcs(ptr noundef %15, ptr noundef %16, i64 noundef %18)
store i64 %19, ptr %4, align 8
%20 = load i64, ptr %4, align 8
%21 = icmp eq i64 %20, -1
br i1 %21, label %22, label %25
22: ; preds = %11
%23 = load ptr, ptr %5, align 8
%24 = call i32 @xfree(ptr noundef %23)
store ptr null, ptr %2, align 8
br label %27
25: ; preds = %11
%26 = load ptr, ptr %5, align 8
store ptr %26, ptr %2, align 8
br label %27
27: ; preds = %25, %22, %10
%28 = load ptr, ptr %2, align 8
ret ptr %28
}
declare i64 @mbstowcs(ptr noundef, ptr noundef, i64 noundef) #1
declare ptr @xcalloc(i64 noundef, i32 noundef) #1
declare i32 @xfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwf_5v58l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mbs_duplicate_as_wcs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @mbstowcs(ptr noundef null, ptr noundef %6, i64 noundef 0)
store i64 %7, ptr %4, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp eq i64 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %1
store ptr null, ptr %2, align 8
br label %27
11: ; preds = %1
%12 = load i64, ptr %4, align 8
%13 = add i64 %12, 1
%14 = call ptr @xcalloc(i64 noundef %13, i32 noundef 4)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %3, align 8
%17 = load i64, ptr %4, align 8
%18 = add i64 %17, 1
%19 = call i64 @mbstowcs(ptr noundef %15, ptr noundef %16, i64 noundef %18)
store i64 %19, ptr %4, align 8
%20 = load i64, ptr %4, align 8
%21 = icmp eq i64 %20, -1
br i1 %21, label %22, label %25
22: ; preds = %11
%23 = load ptr, ptr %5, align 8
%24 = call i32 @xfree(ptr noundef %23)
store ptr null, ptr %2, align 8
br label %27
25: ; preds = %11
%26 = load ptr, ptr %5, align 8
store ptr %26, ptr %2, align 8
br label %27
27: ; preds = %25, %22, %10
%28 = load ptr, ptr %2, align 8
ret ptr %28
}
declare i64 @mbstowcs(ptr noundef, ptr noundef, i64 noundef) #1
declare ptr @xcalloc(i64 noundef, i32 noundef) #1
declare i32 @xfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9d4fkr_w.c'
source_filename = "/tmp/tmp9d4fkr_w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"flow\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hydrology_library_get_flow_units(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 ptr @hydrology_library_get_datatype_units(ptr noundef %3, ptr noundef @.str)
ret ptr %4
}
declare ptr @hydrology_library_get_datatype_units(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/tmp9d4fkr_w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"flow\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @hydrology_library_get_flow_units(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 ptr @hydrology_library_get_datatype_units(ptr noundef %3, ptr noundef @.str)
ret ptr %4
}
declare ptr @hydrology_library_get_datatype_units(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/tmpoentnvex.c'
source_filename = "/tmp/tmpoentnvex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@randomDouble.initialized = internal global i32 0, align 4
@RAND_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @randomDouble() #0 {
%1 = load i32, ptr @randomDouble.initialized, align 4
%2 = icmp ne i32 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
store i32 1, ptr @randomDouble.initialized, align 4
br label %6
6: ; preds = %3, %0
%7 = call i32 (...) @rand()
%8 = sub nsw i32 %7, 1
%9 = sitofp i32 %8 to double
%10 = load i32, ptr @RAND_MAX, align 4
%11 = sub nsw i32 %10, 1
%12 = sitofp i32 %11 to double
%13 = fdiv double %9, %12
ret double %13
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoentnvex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@randomDouble.initialized = internal global i32 0, align 4
@RAND_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @randomDouble() #0 {
%1 = load i32, ptr @randomDouble.initialized, align 4
%2 = icmp ne i32 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
store i32 1, ptr @randomDouble.initialized, align 4
br label %6
6: ; preds = %3, %0
%7 = call i32 (...) @rand()
%8 = sub nsw i32 %7, 1
%9 = sitofp i32 %8 to double
%10 = load i32, ptr @RAND_MAX, align 4
%11 = sub nsw i32 %10, 1
%12 = sitofp i32 %11 to double
%13 = fdiv double %9, %12
ret double %13
}
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"}
|
; ModuleID = '/tmp/tmpamifwd2w.c'
source_filename = "/tmp/tmpamifwd2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [67 x i8] c"Enter the size of the array with respect to the number of digits: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Enter a number (%d-digits): \00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"The number is now: \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%9 = load i32, ptr %4, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %5, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %6, align 8
%13 = load i32, ptr %4, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %4, align 4
%18 = call i32 @space(i32 noundef %16, ptr noundef %12, i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%20 = load i32, ptr %4, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %31, %0
%23 = load i32, ptr %3, align 4
%24 = icmp sge i32 %23, 0
br i1 %24, label %25, label %34
25: ; preds = %22
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %12, i64 %27
%29 = load i32, ptr %28, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %29)
br label %31
31: ; preds = %25
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %3, align 4
br label %22, !llvm.loop !6
34: ; preds = %22
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %1, align 4
%36 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %36)
%37 = load i32, ptr %1, align 4
ret i32 %37
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @space(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpamifwd2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [67 x i8] c"Enter the size of the array with respect to the number of digits: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Enter a number (%d-digits): \00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"The number is now: \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%9 = load i32, ptr %4, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %5, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %6, align 8
%13 = load i32, ptr %4, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %4, align 4
%18 = call i32 @space(i32 noundef %16, ptr noundef %12, i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%20 = load i32, ptr %4, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %.lr.ph, label %35
.lr.ph: ; preds = %0
br label %24
24: ; preds = %.lr.ph, %30
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %12, i64 %26
%28 = load i32, ptr %27, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp sge i32 %33, 0
br i1 %34, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %0
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %1, align 4
%37 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %37)
%38 = load i32, ptr %1, align 4
ret i32 %38
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @space(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp757mr6qy.c'
source_filename = "/tmp/tmp757mr6qy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1
%7 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i8 0, ptr %6, align 1
store i8 0, ptr %7, align 1
store i8 1, ptr %6, align 1
store i8 1, ptr %7, align 1
%8 = load i8, ptr %6, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i8, ptr %7, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %10, %2
%14 = call i32 (...) @abort() #2
unreachable
15: ; preds = %10
ret i32 0
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp757mr6qy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i8, align 1
%7 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i8 0, ptr %6, align 1
store i8 0, ptr %7, align 1
store i8 1, ptr %6, align 1
store i8 1, ptr %7, align 1
%8 = load i8, ptr %6, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i8, ptr %7, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %10, %2
%14 = call i32 (...) @abort() #2
unreachable
15: ; preds = %10
ret i32 0
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzc500ria.c'
source_filename = "/tmp/tmpzc500ria.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @smit_init() #0 {
%1 = call i32 (...) @initscr()
%2 = call i32 (...) @noecho()
%3 = load i32, ptr @stdscr, align 4
%4 = load i32, ptr @TRUE, align 4
%5 = call i32 @keypad(i32 noundef %3, i32 noundef %4)
%6 = call i32 @curs_set(i32 noundef 0)
ret i32 0
}
declare i32 @initscr(...) #1
declare i32 @noecho(...) #1
declare i32 @keypad(i32 noundef, i32 noundef) #1
declare i32 @curs_set(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/tmpzc500ria.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @smit_init() #0 {
%1 = call i32 (...) @initscr()
%2 = call i32 (...) @noecho()
%3 = load i32, ptr @stdscr, align 4
%4 = load i32, ptr @TRUE, align 4
%5 = call i32 @keypad(i32 noundef %3, i32 noundef %4)
%6 = call i32 @curs_set(i32 noundef 0)
ret i32 0
}
declare i32 @initscr(...) #1
declare i32 @noecho(...) #1
declare i32 @keypad(i32 noundef, i32 noundef) #1
declare i32 @curs_set(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/tmp11yd0bwi.c'
source_filename = "/tmp/tmp11yd0bwi.c"
target datalayout = "e-m:e-p270: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/tmp11yd0bwi.c"
target datalayout = "e-m:e-p270: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/tmpl_9ribp9.c'
source_filename = "/tmp/tmpl_9ribp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_NETLINK = dso_local global i32 0, align 4
@LOG_DEBUG = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@NETLINK_ROUTE = dso_local global i32 0, align 4
@PF_NETLINK = dso_local global i32 0, align 4
@SOCK_RAW = 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/tmpl_9ribp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_NETLINK = dso_local global i32 0, align 4
@LOG_DEBUG = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@NETLINK_ROUTE = dso_local global i32 0, align 4
@PF_NETLINK = dso_local global i32 0, align 4
@SOCK_RAW = 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/tmpt5umtl7i.c'
source_filename = "/tmp/tmpt5umtl7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cvcap(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = call i32 (...) @grab_frame()
ret void
}
declare i32 @grab_frame(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt5umtl7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cvcap(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = call i32 (...) @grab_frame()
ret void
}
declare i32 @grab_frame(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphxftw10l.c'
source_filename = "/tmp/tmphxftw10l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"%Y%m%d%H%M%S\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_time_str(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 @time(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @localtime(ptr noundef %5)
%10 = call i32 @strftime(ptr noundef %7, i32 noundef %8, ptr noundef @.str, i32 noundef %9)
ret void
}
declare i32 @time(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @localtime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphxftw10l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"%Y%m%d%H%M%S\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_time_str(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 @time(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @localtime(ptr noundef %5)
%10 = call i32 @strftime(ptr noundef %7, i32 noundef %8, ptr noundef @.str, i32 noundef %9)
ret void
}
declare i32 @time(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @localtime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpua79w848.c'
source_filename = "/tmp/tmpua79w848.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slRandomLevel() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
br label %2
2: ; preds = %7, %0
%3 = call i32 (...) @rand()
%4 = and i32 %3, 65535
%5 = sitofp i32 %4 to double
%6 = fcmp olt double %5, 3.276750e+04
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
br label %2, !llvm.loop !6
10: ; preds = %2
%11 = load i32, ptr %1, align 4
%12 = icmp slt i32 %11, 8
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = load i32, ptr %1, align 4
br label %16
15: ; preds = %10
br label %16
16: ; preds = %15, %13
%17 = phi i32 [ %14, %13 ], [ 8, %15 ]
ret i32 %17
}
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/tmpua79w848.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slRandomLevel() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = call i32 (...) @rand()
%3 = and i32 %2, 65535
%4 = sitofp i32 %3 to double
%5 = fcmp olt double %4, 3.276750e+04
br i1 %5, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %1, align 4
%9 = call i32 (...) @rand()
%10 = and i32 %9, 65535
%11 = sitofp i32 %10 to double
%12 = fcmp olt double %11, 3.276750e+04
br i1 %12, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %13
13: ; preds = %._crit_edge, %0
%14 = load i32, ptr %1, align 4
%15 = icmp slt i32 %14, 8
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = load i32, ptr %1, align 4
br label %19
18: ; preds = %13
br label %19
19: ; preds = %18, %16
%20 = phi i32 [ %17, %16 ], [ 8, %18 ]
ret i32 %20
}
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/tmpj7mwk0l_.c'
source_filename = "/tmp/tmpj7mwk0l_.c"
target datalayout = "e-m:e-p270: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/tmpj7mwk0l_.c"
target datalayout = "e-m:e-p270: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/tmpidf7b7d_.c'
source_filename = "/tmp/tmpidf7b7d_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"\0AHow many numbers will be entered? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"i = %d\09x = \00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"\0A\0AReordered List of Numbers:\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"i = %d\09x = %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 ptr, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 4
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %4, align 8
store i32 0, ptr %2, align 4
br label %14
14: ; preds = %27, %0
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %30
18: ; preds = %14
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %2, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %25)
br label %27
27: ; preds = %18
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %2, align 4
br label %14, !llvm.loop !6
30: ; preds = %14
%31 = load i32, ptr %3, align 4
%32 = load ptr, ptr %4, align 8
%33 = call i32 @reorder(i32 noundef %31, ptr noundef %32)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %2, align 4
br label %35
35: ; preds = %48, %30
%36 = load i32, ptr %2, align 4
%37 = load i32, ptr %3, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %51
39: ; preds = %35
%40 = load i32, ptr %2, align 4
%41 = add nsw i32 %40, 1
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %2, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %41, i32 noundef %46)
br label %48
48: ; preds = %39
%49 = load i32, ptr %2, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %2, align 4
br label %35, !llvm.loop !8
51: ; preds = %35
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @reorder(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpidf7b7d_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"\0AHow many numbers will be entered? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"i = %d\09x = \00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"\0A\0AReordered List of Numbers:\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"i = %d\09x = %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 ptr, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 4
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %4, align 8
store i32 0, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %26
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %24)
br label %26
26: ; preds = %17
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %2, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %0
%33 = load i32, ptr %3, align 4
%34 = load ptr, ptr %4, align 8
%35 = call i32 @reorder(i32 noundef %33, ptr noundef %34)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %2, align 4
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr %3, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %.lr.ph2, label %55
.lr.ph2: ; preds = %32
br label %40
40: ; preds = %.lr.ph2, %49
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %41, 1
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %2, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %42, i32 noundef %47)
br label %49
49: ; preds = %40
%50 = load i32, ptr %2, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %2, align 4
%52 = load i32, ptr %2, align 4
%53 = load i32, ptr %3, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %49
br label %55
55: ; preds = %._crit_edge3, %32
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @reorder(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}
|
; ModuleID = '/tmp/tmp8ovqi6oo.c'
source_filename = "/tmp/tmp8ovqi6oo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"/usr/local/lib/rman/http-rman.html\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"GET %s\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"cat %s\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [200 x i8], align 16
%7 = alloca [200 x i8], align 16
%8 = alloca i32, align 4
%9 = 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 ptr @.str, ptr %9, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp sgt i32 %10, 1
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %9, align 8
br label %16
16: ; preds = %12, %2
%17 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0
%18 = call i64 @gets(ptr noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %61
20: ; preds = %16
br label %21
21: ; preds = %32, %20
%22 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%23 = call i64 @gets(ptr noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %21
%26 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%27 = load i8, ptr %26, align 16
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 13
br label %30
30: ; preds = %25, %21
%31 = phi i1 [ false, %21 ], [ %29, %25 ]
br i1 %31, label %32, label %33
32: ; preds = %30
br label %21, !llvm.loop !6
33: ; preds = %30
%34 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0
%35 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%36 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str.1, ptr noundef %35)
%37 = icmp eq i32 %36, 1
br i1 %37, label %38, label %58
38: ; preds = %33
%39 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%40 = call i32 @http_rman(ptr noundef %39)
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %8, align 4
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %52
43: ; preds = %38
%44 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0
%45 = load ptr, ptr %9, align 8
%46 = call i32 @sprintf(ptr noundef %44, ptr noundef @.str.2, ptr noundef %45)
%47 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0
%48 = call i64 @system(ptr noundef %47)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %43
store i32 0, ptr %8, align 4
br label %51
51: ; preds = %50, %43
br label %52
52: ; preds = %51, %38
%53 = load i32, ptr %8, align 4
%54 = icmp slt i32 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = call i32 @http_error(i32 noundef 404)
br label %57
57: ; preds = %55, %52
br label %60
58: ; preds = %33
%59 = call i32 @http_error(i32 noundef 400)
br label %60
60: ; preds = %58, %57
br label %61
61: ; preds = %60, %16
%62 = load i32, ptr @stdout, align 4
%63 = call i32 @fflush(i32 noundef %62)
%64 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @gets(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @http_rman(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @system(ptr noundef) #1
declare i32 @http_error(i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ovqi6oo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"/usr/local/lib/rman/http-rman.html\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"GET %s\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"cat %s\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [200 x i8], align 16
%7 = alloca [200 x i8], align 16
%8 = alloca i32, align 4
%9 = 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 ptr @.str, ptr %9, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp sgt i32 %10, 1
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %9, align 8
br label %16
16: ; preds = %12, %2
%17 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0
%18 = call i64 @gets(ptr noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %60
20: ; preds = %16
br label %21
21: ; preds = %30, %20
%22 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%23 = call i64 @gets(ptr noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %21
%26 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%27 = load i8, ptr %26, align 16
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 13
br label %30
30: ; preds = %25, %21
%31 = phi i1 [ false, %21 ], [ %29, %25 ]
br i1 %31, label %21, label %32, !llvm.loop !6
32: ; preds = %30
%33 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0
%34 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%35 = call i32 @sscanf(ptr noundef %33, ptr noundef @.str.1, ptr noundef %34)
%36 = icmp eq i32 %35, 1
br i1 %36, label %37, label %57
37: ; preds = %32
%38 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%39 = call i32 @http_rman(ptr noundef %38)
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp slt i32 %40, 0
br i1 %41, label %42, label %51
42: ; preds = %37
%43 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0
%44 = load ptr, ptr %9, align 8
%45 = call i32 @sprintf(ptr noundef %43, ptr noundef @.str.2, ptr noundef %44)
%46 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0
%47 = call i64 @system(ptr noundef %46)
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %42
store i32 0, ptr %8, align 4
br label %50
50: ; preds = %49, %42
br label %51
51: ; preds = %50, %37
%52 = load i32, ptr %8, align 4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = call i32 @http_error(i32 noundef 404)
br label %56
56: ; preds = %54, %51
br label %59
57: ; preds = %32
%58 = call i32 @http_error(i32 noundef 400)
br label %59
59: ; preds = %57, %56
br label %60
60: ; preds = %59, %16
%61 = load i32, ptr @stdout, align 4
%62 = call i32 @fflush(i32 noundef %61)
%63 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @gets(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @http_rman(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @system(ptr noundef) #1
declare i32 @http_error(i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc6go1cfx.c'
source_filename = "/tmp/tmpc6go1cfx.c"
target datalayout = "e-m:e-p270: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/tmpc6go1cfx.c"
target datalayout = "e-m:e-p270: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/tmpel_wr77h.c'
source_filename = "/tmp/tmpel_wr77h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IFNAMSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"tun0\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Creating tun...\0A\00", align 1
@IFF_TUN = dso_local global i32 0, align 4
@IFF_NO_PI = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [49 x i8] c"Could not create tun0. Permissions not correct?\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Listening on fd %d...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @old_main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [2048 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr @IFNAMSIZ, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %7, align 8
%14 = call i32 @strcpy(ptr noundef %13, ptr noundef @.str)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%16 = load i32, ptr @IFF_TUN, align 4
%17 = load i32, ptr @IFF_NO_PI, align 4
%18 = or i32 %16, %17
%19 = call i32 @tun_alloc(ptr noundef %13, i32 noundef %18)
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%24 = call i32 @_exit(i32 noundef -1) #4
unreachable
25: ; preds = %2
%26 = load i32, ptr %8, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26)
br label %28
28: ; preds = %28, %25
%29 = load i32, ptr %8, align 4
%30 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%31 = call i32 @read(i32 noundef %29, ptr noundef %30, i32 noundef 2048)
store i32 %31, ptr %9, align 4
%32 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%33 = load i32, ptr %9, align 4
%34 = call i32 @print_bytes(ptr noundef %32, i32 noundef %33)
br label %28
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @tun_alloc(ptr noundef, i32 noundef) #2
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #3
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @print_bytes(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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/tmpel_wr77h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IFNAMSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"tun0\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Creating tun...\0A\00", align 1
@IFF_TUN = dso_local global i32 0, align 4
@IFF_NO_PI = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [49 x i8] c"Could not create tun0. Permissions not correct?\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Listening on fd %d...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @old_main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [2048 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr @IFNAMSIZ, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %7, align 8
%14 = call i32 @strcpy(ptr noundef %13, ptr noundef @.str)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%16 = load i32, ptr @IFF_TUN, align 4
%17 = load i32, ptr @IFF_NO_PI, align 4
%18 = or i32 %16, %17
%19 = call i32 @tun_alloc(ptr noundef %13, i32 noundef %18)
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%24 = call i32 @_exit(i32 noundef -1) #4
unreachable
25: ; preds = %2
%26 = load i32, ptr %8, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26)
br label %28
28: ; preds = %28, %25
%29 = load i32, ptr %8, align 4
%30 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%31 = call i32 @read(i32 noundef %29, ptr noundef %30, i32 noundef 2048)
store i32 %31, ptr %9, align 4
%32 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0
%33 = load i32, ptr %9, align 4
%34 = call i32 @print_bytes(ptr noundef %32, i32 noundef %33)
br label %28
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @tun_alloc(ptr noundef, i32 noundef) #2
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #3
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @print_bytes(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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/tmphunc9k90.c'
source_filename = "/tmp/tmphunc9k90.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"INP.TXT\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"OUT.TXT\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%s %hhd\0A\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c" %hhd %hhd\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c" %s %hhd\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca [256 x i8], align 16
%8 = alloca [256 x i8], align 16
%9 = alloca i8, align 1
%10 = alloca i8, align 1
store i32 0, ptr %1, align 4
%11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %11, ptr %2, align 8
%12 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%15 = call i32 @fscanf(ptr noundef %13, ptr noundef @.str.4, ptr noundef %14, ptr noundef %4)
store i8 0, ptr %5, align 1
br label %16
16: ; preds = %88, %0
%17 = load i8, ptr %5, align 1
%18 = zext i8 %17 to i32
%19 = load i8, ptr %4, align 1
%20 = zext i8 %19 to i32
%21 = icmp slt i32 %18, %20
br i1 %21, label %22, label %91
22: ; preds = %16
%23 = load ptr, ptr %2, align 8
%24 = call i32 @fgetc(ptr noundef %23)
%25 = xor i32 %24, 49
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %61
27: ; preds = %22
%28 = load ptr, ptr %2, align 8
%29 = call i32 @fscanf(ptr noundef %28, ptr noundef @.str.5, ptr noundef %9, ptr noundef %10)
%30 = load i8, ptr %9, align 1
%31 = add i8 %30, -1
store i8 %31, ptr %9, align 1
%32 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%33 = load i8, ptr %9, align 1
%34 = zext i8 %33 to i32
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
%37 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%38 = load i8, ptr %9, align 1
%39 = zext i8 %38 to i32
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %37, i64 %40
%42 = load i8, ptr %10, align 1
%43 = zext i8 %42 to i32
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
%46 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%47 = call signext i8 @strlen(ptr noundef %46)
%48 = sext i8 %47 to i32
%49 = load i8, ptr %9, align 1
%50 = zext i8 %49 to i32
%51 = sub nsw i32 %48, %50
%52 = load i8, ptr %10, align 1
%53 = zext i8 %52 to i32
%54 = sub nsw i32 %51, %53
%55 = add nsw i32 %54, 1
%56 = trunc i32 %55 to i8
%57 = call i32 @memmove(ptr noundef %36, ptr noundef %45, i8 noundef zeroext %56)
%58 = load ptr, ptr %3, align 8
%59 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%60 = call i32 @fprintf(ptr noundef %58, ptr noundef @.str.6, ptr noundef %59)
br label %87
61: ; preds = %22
%62 = load ptr, ptr %2, align 8
%63 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%64 = call i32 @fscanf(ptr noundef %62, ptr noundef @.str.7, ptr noundef %63, ptr noundef %10)
%65 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%66 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%67 = call signext i8 @strlen(ptr noundef %66)
%68 = sext i8 %67 to i32
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %65, i64 %69
%71 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%72 = load i8, ptr %10, align 1
%73 = zext i8 %72 to i32
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %71, i64 %74
%76 = call i32 @strcpy(ptr noundef %70, ptr noundef %75)
%77 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%78 = load i8, ptr %10, align 1
%79 = zext i8 %78 to i32
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %77, i64 %80
%82 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%83 = call i32 @strcpy(ptr noundef %81, ptr noundef %82)
%84 = load ptr, ptr %3, align 8
%85 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%86 = call i32 @fprintf(ptr noundef %84, ptr noundef @.str.6, ptr noundef %85)
br label %87
87: ; preds = %61, %27
br label %88
88: ; preds = %87
%89 = load i8, ptr %5, align 1
%90 = add i8 %89, 1
store i8 %90, ptr %5, align 1
br label %16, !llvm.loop !6
91: ; preds = %16
%92 = call i32 (...) @fcloseall()
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i8 noundef zeroext) #1
declare signext i8 @strlen(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @fcloseall(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmphunc9k90.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"INP.TXT\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"OUT.TXT\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"%s %hhd\0A\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c" %hhd %hhd\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c" %s %hhd\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca [256 x i8], align 16
%8 = alloca [256 x i8], align 16
%9 = alloca i8, align 1
%10 = alloca i8, align 1
store i32 0, ptr %1, align 4
%11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %11, ptr %2, align 8
%12 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%15 = call i32 @fscanf(ptr noundef %13, ptr noundef @.str.4, ptr noundef %14, ptr noundef %4)
store i8 0, ptr %5, align 1
%16 = load i8, ptr %5, align 1
%17 = zext i8 %16 to i32
%18 = load i8, ptr %4, align 1
%19 = zext i8 %18 to i32
%20 = icmp slt i32 %17, %19
br i1 %20, label %.lr.ph, label %95
.lr.ph: ; preds = %0
br label %21
21: ; preds = %.lr.ph, %87
%22 = load ptr, ptr %2, align 8
%23 = call i32 @fgetc(ptr noundef %22)
%24 = xor i32 %23, 49
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %60
26: ; preds = %21
%27 = load ptr, ptr %2, align 8
%28 = call i32 @fscanf(ptr noundef %27, ptr noundef @.str.5, ptr noundef %9, ptr noundef %10)
%29 = load i8, ptr %9, align 1
%30 = add i8 %29, -1
store i8 %30, ptr %9, align 1
%31 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%32 = load i8, ptr %9, align 1
%33 = zext i8 %32 to i32
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
%36 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%37 = load i8, ptr %9, align 1
%38 = zext i8 %37 to i32
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
%41 = load i8, ptr %10, align 1
%42 = zext i8 %41 to i32
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
%45 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%46 = call signext i8 @strlen(ptr noundef %45)
%47 = sext i8 %46 to i32
%48 = load i8, ptr %9, align 1
%49 = zext i8 %48 to i32
%50 = sub nsw i32 %47, %49
%51 = load i8, ptr %10, align 1
%52 = zext i8 %51 to i32
%53 = sub nsw i32 %50, %52
%54 = add nsw i32 %53, 1
%55 = trunc i32 %54 to i8
%56 = call i32 @memmove(ptr noundef %35, ptr noundef %44, i8 noundef zeroext %55)
%57 = load ptr, ptr %3, align 8
%58 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%59 = call i32 @fprintf(ptr noundef %57, ptr noundef @.str.6, ptr noundef %58)
br label %86
60: ; preds = %21
%61 = load ptr, ptr %2, align 8
%62 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%63 = call i32 @fscanf(ptr noundef %61, ptr noundef @.str.7, ptr noundef %62, ptr noundef %10)
%64 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%65 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%66 = call signext i8 @strlen(ptr noundef %65)
%67 = sext i8 %66 to i32
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %64, i64 %68
%70 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%71 = load i8, ptr %10, align 1
%72 = zext i8 %71 to i32
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %70, i64 %73
%75 = call i32 @strcpy(ptr noundef %69, ptr noundef %74)
%76 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%77 = load i8, ptr %10, align 1
%78 = zext i8 %77 to i32
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %76, i64 %79
%81 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%82 = call i32 @strcpy(ptr noundef %80, ptr noundef %81)
%83 = load ptr, ptr %3, align 8
%84 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%85 = call i32 @fprintf(ptr noundef %83, ptr noundef @.str.6, ptr noundef %84)
br label %86
86: ; preds = %60, %26
br label %87
87: ; preds = %86
%88 = load i8, ptr %5, align 1
%89 = add i8 %88, 1
store i8 %89, ptr %5, align 1
%90 = load i8, ptr %5, align 1
%91 = zext i8 %90 to i32
%92 = load i8, ptr %4, align 1
%93 = zext i8 %92 to i32
%94 = icmp slt i32 %91, %93
br i1 %94, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %87
br label %95
95: ; preds = %._crit_edge, %0
%96 = call i32 (...) @fcloseall()
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i8 noundef zeroext) #1
declare signext i8 @strlen(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @fcloseall(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpcx_a840h.c'
source_filename = "/tmp/tmpcx_a840h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [8 x [3 x i8]], align 16
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %0, %3
%4 = getelementptr inbounds [8 x [3 x i8]], ptr %2, i64 0, i64 0
%5 = call i32 @test(ptr noundef %4)
br label %3
}
declare i32 @test(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcx_a840h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [8 x [3 x i8]], align 16
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %3, %0
%4 = getelementptr inbounds [8 x [3 x i8]], ptr %2, i64 0, i64 0
%5 = call i32 @test(ptr noundef %4)
br label %3
}
declare i32 @test(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8f16lbx4.c'
source_filename = "/tmp/tmp8f16lbx4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @long_new_array(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = mul i64 %6, 8
%8 = call ptr @malloc(i64 noundef %7) #3
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = load ptr, ptr %4, align 8
%13 = call i32 @check(i32 noundef %11, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @check(i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8f16lbx4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @long_new_array(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = mul i64 %6, 8
%8 = call ptr @malloc(i64 noundef %7) #3
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = load ptr, ptr %4, align 8
%13 = call i32 @check(i32 noundef %11, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @check(i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpohlp234u.c'
source_filename = "/tmp/tmpohlp234u.c"
target datalayout = "e-m:e-p270: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/tmpohlp234u.c"
target datalayout = "e-m:e-p270: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/tmpc4xo3znh.c'
source_filename = "/tmp/tmpc4xo3znh.c"
target datalayout = "e-m:e-p270: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/tmpc4xo3znh.c"
target datalayout = "e-m:e-p270: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/tmpbf0k89ai.c'
source_filename = "/tmp/tmpbf0k89ai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@R_OK = dso_local global i32 0, align 4
@X_OK = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @find_executable(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr @R_OK, align 4
%14 = load i32, ptr @X_OK, align 4
%15 = or i32 %13, %14
%16 = call i64 @access(ptr noundef %12, i32 noundef %15)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %23
18: ; preds = %4
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %9, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %19, i32 noundef %20, ptr noundef @.str, ptr noundef %21)
store i32 1, ptr %5, align 4
br label %60
23: ; preds = %4
%24 = load ptr, ptr %7, align 8
%25 = call i32 @getenv(ptr noundef %24)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %23
store i32 0, ptr %5, align 4
br label %60
28: ; preds = %23
%29 = load ptr, ptr %7, align 8
%30 = call i32 @getenv(ptr noundef %29)
%31 = call ptr @xstrdup(i32 noundef %30)
store ptr %31, ptr %10, align 8
%32 = load ptr, ptr %10, align 8
%33 = call ptr @strtok(ptr noundef %32, ptr noundef @.str.1)
store ptr %33, ptr %11, align 8
br label %34
34: ; preds = %51, %28
%35 = load ptr, ptr %11, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %37, label %53
37: ; preds = %34
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %9, align 4
%40 = load ptr, ptr %11, align 8
%41 = load ptr, ptr %6, align 8
%42 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %38, i32 noundef %39, ptr noundef @.str.2, ptr noundef %40, ptr noundef %41)
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr @R_OK, align 4
%45 = load i32, ptr @X_OK, align 4
%46 = or i32 %44, %45
%47 = call i64 @access(ptr noundef %43, i32 noundef %46)
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %37
br label %54
50: ; preds = %37
br label %51
51: ; preds = %50
%52 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %52, ptr %11, align 8
br label %34, !llvm.loop !6
53: ; preds = %34
br label %54
54: ; preds = %53, %49
%55 = load ptr, ptr %10, align 8
%56 = call i32 @free(ptr noundef %55)
%57 = load ptr, ptr %11, align 8
%58 = icmp ne ptr %57, null
%59 = zext i1 %58 to i32
store i32 %59, ptr %5, align 4
br label %60
60: ; preds = %54, %27, %18
%61 = load i32, ptr %5, align 4
ret i32 %61
}
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @getenv(ptr noundef) #1
declare ptr @xstrdup(i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbf0k89ai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@R_OK = dso_local global i32 0, align 4
@X_OK = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @find_executable(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr @R_OK, align 4
%14 = load i32, ptr @X_OK, align 4
%15 = or i32 %13, %14
%16 = call i64 @access(ptr noundef %12, i32 noundef %15)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %23
18: ; preds = %4
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %9, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %19, i32 noundef %20, ptr noundef @.str, ptr noundef %21)
store i32 1, ptr %5, align 4
br label %61
23: ; preds = %4
%24 = load ptr, ptr %7, align 8
%25 = call i32 @getenv(ptr noundef %24)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %23
store i32 0, ptr %5, align 4
br label %61
28: ; preds = %23
%29 = load ptr, ptr %7, align 8
%30 = call i32 @getenv(ptr noundef %29)
%31 = call ptr @xstrdup(i32 noundef %30)
store ptr %31, ptr %10, align 8
%32 = load ptr, ptr %10, align 8
%33 = call ptr @strtok(ptr noundef %32, ptr noundef @.str.1)
store ptr %33, ptr %11, align 8
%34 = load ptr, ptr %11, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %.lr.ph, label %54
.lr.ph: ; preds = %28
br label %36
36: ; preds = %.lr.ph, %50
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %9, align 4
%39 = load ptr, ptr %11, align 8
%40 = load ptr, ptr %6, align 8
%41 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %37, i32 noundef %38, ptr noundef @.str.2, ptr noundef %39, ptr noundef %40)
%42 = load ptr, ptr %8, align 8
%43 = load i32, ptr @R_OK, align 4
%44 = load i32, ptr @X_OK, align 4
%45 = or i32 %43, %44
%46 = call i64 @access(ptr noundef %42, i32 noundef %45)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %36
br label %55
49: ; preds = %36
br label %50
50: ; preds = %49
%51 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %51, ptr %11, align 8
%52 = load ptr, ptr %11, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %54
54: ; preds = %._crit_edge, %28
br label %55
55: ; preds = %54, %48
%56 = load ptr, ptr %10, align 8
%57 = call i32 @free(ptr noundef %56)
%58 = load ptr, ptr %11, align 8
%59 = icmp ne ptr %58, null
%60 = zext i1 %59 to i32
store i32 %60, ptr %5, align 4
br label %61
61: ; preds = %55, %27, %18
%62 = load i32, ptr %5, align 4
ret i32 %62
}
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @getenv(ptr noundef) #1
declare ptr @xstrdup(i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdpxer7ss.c'
source_filename = "/tmp/tmpdpxer7ss.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"Usage: %s command [arguments ...]\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"fork()\00", align 1
@PTRACE_TRACEME = dso_local global i32 0, align 4
@SIGSTOP = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"[+] pid=%i, running: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"execvp()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [1024 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 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
%18 = call i32 (...) @fork()
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = call i32 @perror(ptr noundef @.str.1)
%23 = call i32 @exit(i32 noundef -1) #3
unreachable
24: ; preds = %17
%25 = load i32, ptr %6, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %6, align 4
%29 = call i32 @parent_loop(i32 noundef %28)
br label %50
30: ; preds = %24
%31 = load i32, ptr @PTRACE_TRACEME, align 4
%32 = call i32 @ptrace(i32 noundef %31, i32 noundef 0, ptr noundef null, ptr noundef null)
%33 = load i32, ptr @SIGSTOP, align 4
%34 = call i32 @raise(i32 noundef %33)
%35 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = call i32 @argv_join(ptr noundef %35, i32 noundef 1024, ptr noundef %37, ptr noundef @.str.2)
%39 = load i32, ptr @stderr, align 4
%40 = call i32 (...) @getpid()
%41 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.3, i32 noundef %40, ptr noundef %41)
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 1
%45 = load ptr, ptr %44, align 8
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 1
%48 = call i32 @execvp(ptr noundef %45, ptr noundef %47)
%49 = call i32 @perror(ptr noundef @.str.4)
br label %50
50: ; preds = %30, %27
%51 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @parent_loop(i32 noundef) #1
declare i32 @ptrace(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @raise(i32 noundef) #1
declare i32 @argv_join(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @getpid(...) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdpxer7ss.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"Usage: %s command [arguments ...]\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"fork()\00", align 1
@PTRACE_TRACEME = dso_local global i32 0, align 4
@SIGSTOP = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"[+] pid=%i, running: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"execvp()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [1024 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 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
%18 = call i32 (...) @fork()
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = call i32 @perror(ptr noundef @.str.1)
%23 = call i32 @exit(i32 noundef -1) #3
unreachable
24: ; preds = %17
%25 = load i32, ptr %6, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %6, align 4
%29 = call i32 @parent_loop(i32 noundef %28)
br label %50
30: ; preds = %24
%31 = load i32, ptr @PTRACE_TRACEME, align 4
%32 = call i32 @ptrace(i32 noundef %31, i32 noundef 0, ptr noundef null, ptr noundef null)
%33 = load i32, ptr @SIGSTOP, align 4
%34 = call i32 @raise(i32 noundef %33)
%35 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = call i32 @argv_join(ptr noundef %35, i32 noundef 1024, ptr noundef %37, ptr noundef @.str.2)
%39 = load i32, ptr @stderr, align 4
%40 = call i32 (...) @getpid()
%41 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.3, i32 noundef %40, ptr noundef %41)
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 1
%45 = load ptr, ptr %44, align 8
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 1
%48 = call i32 @execvp(ptr noundef %45, ptr noundef %47)
%49 = call i32 @perror(ptr noundef @.str.4)
br label %50
50: ; preds = %30, %27
%51 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @parent_loop(i32 noundef) #1
declare i32 @ptrace(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @raise(i32 noundef) #1
declare i32 @argv_join(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @getpid(...) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgxvx25hf.c'
source_filename = "/tmp/tmpgxvx25hf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pinWrite(i32 noundef %0, i32 noundef %1) #0 {
%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 %3, align 4
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = ashr i32 %9, 5
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %5, align 4
%13 = shl i32 %12, 5
%14 = sub i32 %11, %13
store i32 %14, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %2
store i32 546504704, ptr %8, align 4
br label %34
18: ; preds = %2
%19 = load i32, ptr %5, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %22
21: ; preds = %18
store i32 546508800, ptr %8, align 4
br label %33
22: ; preds = %18
%23 = load i32, ptr %5, align 4
%24 = icmp eq i32 %23, 2
br i1 %24, label %25, label %26
25: ; preds = %22
store i32 295731200, ptr %8, align 4
br label %32
26: ; preds = %22
%27 = load i32, ptr %5, align 4
%28 = icmp eq i32 %27, 3
br i1 %28, label %29, label %30
29: ; preds = %26
store i32 546512896, ptr %8, align 4
br label %31
30: ; preds = %26
br label %49
31: ; preds = %29
br label %32
32: ; preds = %31, %25
br label %33
33: ; preds = %32, %21
br label %34
34: ; preds = %33, %17
%35 = load i32, ptr %4, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = load i32, ptr %8, align 4
%39 = add i32 %38, 16
store i32 %39, ptr %7, align 4
br label %43
40: ; preds = %34
%41 = load i32, ptr %8, align 4
%42 = add i32 %41, 20
store i32 %42, ptr %7, align 4
br label %43
43: ; preds = %40, %37
%44 = load i32, ptr %6, align 4
%45 = zext i32 %44 to i64
%46 = shl i64 1, %45
%47 = load i32, ptr %7, align 4
%48 = call i32 @ca5_writeR(i64 noundef %46, i32 noundef %47)
br label %49
49: ; preds = %43, %30
ret void
}
declare i32 @ca5_writeR(i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgxvx25hf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pinWrite(i32 noundef %0, i32 noundef %1) #0 {
%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 %3, align 4
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = ashr i32 %9, 5
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %5, align 4
%13 = shl i32 %12, 5
%14 = sub i32 %11, %13
store i32 %14, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %2
store i32 546504704, ptr %8, align 4
br label %34
18: ; preds = %2
%19 = load i32, ptr %5, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %22
21: ; preds = %18
store i32 546508800, ptr %8, align 4
br label %33
22: ; preds = %18
%23 = load i32, ptr %5, align 4
%24 = icmp eq i32 %23, 2
br i1 %24, label %25, label %26
25: ; preds = %22
store i32 295731200, ptr %8, align 4
br label %32
26: ; preds = %22
%27 = load i32, ptr %5, align 4
%28 = icmp eq i32 %27, 3
br i1 %28, label %29, label %30
29: ; preds = %26
store i32 546512896, ptr %8, align 4
br label %31
30: ; preds = %26
br label %49
31: ; preds = %29
br label %32
32: ; preds = %31, %25
br label %33
33: ; preds = %32, %21
br label %34
34: ; preds = %33, %17
%35 = load i32, ptr %4, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = load i32, ptr %8, align 4
%39 = add i32 %38, 16
store i32 %39, ptr %7, align 4
br label %43
40: ; preds = %34
%41 = load i32, ptr %8, align 4
%42 = add i32 %41, 20
store i32 %42, ptr %7, align 4
br label %43
43: ; preds = %40, %37
%44 = load i32, ptr %6, align 4
%45 = zext i32 %44 to i64
%46 = shl i64 1, %45
%47 = load i32, ptr %7, align 4
%48 = call i32 @ca5_writeR(i64 noundef %46, i32 noundef %47)
br label %49
49: ; preds = %43, %30
ret void
}
declare i32 @ca5_writeR(i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvn8wgz_w.c'
source_filename = "/tmp/tmpvn8wgz_w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @iswxdigit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @isxdigit(i32 noundef %3) #2
ret i32 %4
}
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { 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/tmpvn8wgz_w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @iswxdigit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @isxdigit(i32 noundef %3) #2
ret i32 %4
}
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { 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/tmposl7aqdu.c'
source_filename = "/tmp/tmposl7aqdu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 @test__negti2(i32 noundef 0, i32 noundef 0)
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 1, ptr %1, align 4
br label %150
5: ; preds = %0
%6 = call i64 @test__negti2(i32 noundef 1, i32 noundef -1)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5
store i32 1, ptr %1, align 4
br label %150
9: ; preds = %5
%10 = call i64 @test__negti2(i32 noundef -1, i32 noundef 1)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, ptr %1, align 4
br label %150
13: ; preds = %9
%14 = call i64 @test__negti2(i32 noundef 2, i32 noundef -2)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 1, ptr %1, align 4
br label %150
17: ; preds = %13
%18 = call i64 @test__negti2(i32 noundef -2, i32 noundef 2)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %17
store i32 1, ptr %1, align 4
br label %150
21: ; preds = %17
%22 = call i64 @test__negti2(i32 noundef 3, i32 noundef -3)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %21
store i32 1, ptr %1, align 4
br label %150
25: ; preds = %21
%26 = call i64 @test__negti2(i32 noundef -3, i32 noundef 3)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %25
store i32 1, ptr %1, align 4
br label %150
29: ; preds = %25
%30 = call i32 @make_ti(i32 noundef 0, i32 noundef -2)
%31 = call i32 @make_ti(i32 noundef -1, i32 noundef 2)
%32 = call i64 @test__negti2(i32 noundef %30, i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %29
store i32 1, ptr %1, align 4
br label %150
35: ; preds = %29
%36 = call i32 @make_ti(i32 noundef -1, i32 noundef 2)
%37 = call i32 @make_ti(i32 noundef 0, i32 noundef -2)
%38 = call i64 @test__negti2(i32 noundef %36, i32 noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %35
store i32 1, ptr %1, align 4
br label %150
41: ; preds = %35
%42 = call i32 @make_ti(i32 noundef 0, i32 noundef -1)
%43 = call i32 @make_ti(i32 noundef -1, i32 noundef 1)
%44 = call i64 @test__negti2(i32 noundef %42, i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %41
store i32 1, ptr %1, align 4
br label %150
47: ; preds = %41
%48 = call i32 @make_ti(i32 noundef -1, i32 noundef 1)
%49 = call i32 @make_ti(i32 noundef 0, i32 noundef -1)
%50 = call i64 @test__negti2(i32 noundef %48, i32 noundef %49)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %47
store i32 1, ptr %1, align 4
br label %150
53: ; preds = %47
%54 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%55 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%56 = call i64 @test__negti2(i32 noundef %54, i32 noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %59
58: ; preds = %53
store i32 1, ptr %1, align 4
br label %150
59: ; preds = %53
%60 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%61 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%62 = call i64 @test__negti2(i32 noundef %60, i32 noundef %61)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %59
store i32 1, ptr %1, align 4
br label %150
65: ; preds = %59
%66 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%67 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%68 = call i64 @test__negti2(i32 noundef %66, i32 noundef %67)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %65
store i32 1, ptr %1, align 4
br label %150
71: ; preds = %65
%72 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%73 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%74 = call i64 @test__negti2(i32 noundef %72, i32 noundef %73)
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %71
store i32 1, ptr %1, align 4
br label %150
77: ; preds = %71
%78 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%79 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%80 = call i64 @test__negti2(i32 noundef %78, i32 noundef %79)
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %77
store i32 1, ptr %1, align 4
br label %150
83: ; preds = %77
%84 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%85 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%86 = call i64 @test__negti2(i32 noundef %84, i32 noundef %85)
%87 = icmp ne i64 %86, 0
br i1 %87, label %88, label %89
88: ; preds = %83
store i32 1, ptr %1, align 4
br label %150
89: ; preds = %83
%90 = call i32 @make_ti(i32 noundef 0, i32 noundef -1)
%91 = call i32 @make_ti(i32 noundef -1, i32 noundef 1)
%92 = call i64 @test__negti2(i32 noundef %90, i32 noundef %91)
%93 = icmp ne i64 %92, 0
br i1 %93, label %94, label %95
94: ; preds = %89
store i32 1, ptr %1, align 4
br label %150
95: ; preds = %89
%96 = call i32 @make_ti(i32 noundef -1, i32 noundef 1)
%97 = call i32 @make_ti(i32 noundef 0, i32 noundef -1)
%98 = call i64 @test__negti2(i32 noundef %96, i32 noundef %97)
%99 = icmp ne i64 %98, 0
br i1 %99, label %100, label %101
100: ; preds = %95
store i32 1, ptr %1, align 4
br label %150
101: ; preds = %95
%102 = call i32 @make_ti(i32 noundef 0, i32 noundef -1)
%103 = call i32 @make_ti(i32 noundef -1, i32 noundef 1)
%104 = call i64 @test__negti2(i32 noundef %102, i32 noundef %103)
%105 = icmp ne i64 %104, 0
br i1 %105, label %106, label %107
106: ; preds = %101
store i32 1, ptr %1, align 4
br label %150
107: ; preds = %101
%108 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%109 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%110 = call i64 @test__negti2(i32 noundef %108, i32 noundef %109)
%111 = icmp ne i64 %110, 0
br i1 %111, label %112, label %113
112: ; preds = %107
store i32 1, ptr %1, align 4
br label %150
113: ; preds = %107
%114 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%115 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%116 = call i64 @test__negti2(i32 noundef %114, i32 noundef %115)
%117 = icmp ne i64 %116, 0
br i1 %117, label %118, label %119
118: ; preds = %113
store i32 1, ptr %1, align 4
br label %150
119: ; preds = %113
%120 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%121 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%122 = call i64 @test__negti2(i32 noundef %120, i32 noundef %121)
%123 = icmp ne i64 %122, 0
br i1 %123, label %124, label %125
124: ; preds = %119
store i32 1, ptr %1, align 4
br label %150
125: ; preds = %119
%126 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%127 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%128 = call i64 @test__negti2(i32 noundef %126, i32 noundef %127)
%129 = icmp ne i64 %128, 0
br i1 %129, label %130, label %131
130: ; preds = %125
store i32 1, ptr %1, align 4
br label %150
131: ; preds = %125
%132 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%133 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%134 = call i64 @test__negti2(i32 noundef %132, i32 noundef %133)
%135 = icmp ne i64 %134, 0
br i1 %135, label %136, label %137
136: ; preds = %131
store i32 1, ptr %1, align 4
br label %150
137: ; preds = %131
%138 = call i32 @make_ti(i32 noundef 0, i32 noundef 1)
%139 = call i32 @make_ti(i32 noundef -1, i32 noundef -1)
%140 = call i64 @test__negti2(i32 noundef %138, i32 noundef %139)
%141 = icmp ne i64 %140, 0
br i1 %141, label %142, label %143
142: ; preds = %137
store i32 1, ptr %1, align 4
br label %150
143: ; preds = %137
%144 = call i32 @make_ti(i32 noundef -1, i32 noundef -1)
%145 = call i32 @make_ti(i32 noundef 0, i32 noundef 1)
%146 = call i64 @test__negti2(i32 noundef %144, i32 noundef %145)
%147 = icmp ne i64 %146, 0
br i1 %147, label %148, label %149
148: ; preds = %143
store i32 1, ptr %1, align 4
br label %150
149: ; preds = %143
store i32 0, ptr %1, align 4
br label %150
150: ; preds = %149, %148, %142, %136, %130, %124, %118, %112, %106, %100, %94, %88, %82, %76, %70, %64, %58, %52, %46, %40, %34, %28, %24, %20, %16, %12, %8, %4
%151 = load i32, ptr %1, align 4
ret i32 %151
}
declare i64 @test__negti2(i32 noundef, i32 noundef) #1
declare i32 @make_ti(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/tmposl7aqdu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 @test__negti2(i32 noundef 0, i32 noundef 0)
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 1, ptr %1, align 4
br label %150
5: ; preds = %0
%6 = call i64 @test__negti2(i32 noundef 1, i32 noundef -1)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5
store i32 1, ptr %1, align 4
br label %150
9: ; preds = %5
%10 = call i64 @test__negti2(i32 noundef -1, i32 noundef 1)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, ptr %1, align 4
br label %150
13: ; preds = %9
%14 = call i64 @test__negti2(i32 noundef 2, i32 noundef -2)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 1, ptr %1, align 4
br label %150
17: ; preds = %13
%18 = call i64 @test__negti2(i32 noundef -2, i32 noundef 2)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %17
store i32 1, ptr %1, align 4
br label %150
21: ; preds = %17
%22 = call i64 @test__negti2(i32 noundef 3, i32 noundef -3)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %21
store i32 1, ptr %1, align 4
br label %150
25: ; preds = %21
%26 = call i64 @test__negti2(i32 noundef -3, i32 noundef 3)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %25
store i32 1, ptr %1, align 4
br label %150
29: ; preds = %25
%30 = call i32 @make_ti(i32 noundef 0, i32 noundef -2)
%31 = call i32 @make_ti(i32 noundef -1, i32 noundef 2)
%32 = call i64 @test__negti2(i32 noundef %30, i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %29
store i32 1, ptr %1, align 4
br label %150
35: ; preds = %29
%36 = call i32 @make_ti(i32 noundef -1, i32 noundef 2)
%37 = call i32 @make_ti(i32 noundef 0, i32 noundef -2)
%38 = call i64 @test__negti2(i32 noundef %36, i32 noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %35
store i32 1, ptr %1, align 4
br label %150
41: ; preds = %35
%42 = call i32 @make_ti(i32 noundef 0, i32 noundef -1)
%43 = call i32 @make_ti(i32 noundef -1, i32 noundef 1)
%44 = call i64 @test__negti2(i32 noundef %42, i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %41
store i32 1, ptr %1, align 4
br label %150
47: ; preds = %41
%48 = call i32 @make_ti(i32 noundef -1, i32 noundef 1)
%49 = call i32 @make_ti(i32 noundef 0, i32 noundef -1)
%50 = call i64 @test__negti2(i32 noundef %48, i32 noundef %49)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %47
store i32 1, ptr %1, align 4
br label %150
53: ; preds = %47
%54 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%55 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%56 = call i64 @test__negti2(i32 noundef %54, i32 noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %59
58: ; preds = %53
store i32 1, ptr %1, align 4
br label %150
59: ; preds = %53
%60 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%61 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%62 = call i64 @test__negti2(i32 noundef %60, i32 noundef %61)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %59
store i32 1, ptr %1, align 4
br label %150
65: ; preds = %59
%66 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%67 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%68 = call i64 @test__negti2(i32 noundef %66, i32 noundef %67)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %65
store i32 1, ptr %1, align 4
br label %150
71: ; preds = %65
%72 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%73 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%74 = call i64 @test__negti2(i32 noundef %72, i32 noundef %73)
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %71
store i32 1, ptr %1, align 4
br label %150
77: ; preds = %71
%78 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%79 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%80 = call i64 @test__negti2(i32 noundef %78, i32 noundef %79)
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %77
store i32 1, ptr %1, align 4
br label %150
83: ; preds = %77
%84 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%85 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%86 = call i64 @test__negti2(i32 noundef %84, i32 noundef %85)
%87 = icmp ne i64 %86, 0
br i1 %87, label %88, label %89
88: ; preds = %83
store i32 1, ptr %1, align 4
br label %150
89: ; preds = %83
%90 = call i32 @make_ti(i32 noundef 0, i32 noundef -1)
%91 = call i32 @make_ti(i32 noundef -1, i32 noundef 1)
%92 = call i64 @test__negti2(i32 noundef %90, i32 noundef %91)
%93 = icmp ne i64 %92, 0
br i1 %93, label %94, label %95
94: ; preds = %89
store i32 1, ptr %1, align 4
br label %150
95: ; preds = %89
%96 = call i32 @make_ti(i32 noundef -1, i32 noundef 1)
%97 = call i32 @make_ti(i32 noundef 0, i32 noundef -1)
%98 = call i64 @test__negti2(i32 noundef %96, i32 noundef %97)
%99 = icmp ne i64 %98, 0
br i1 %99, label %100, label %101
100: ; preds = %95
store i32 1, ptr %1, align 4
br label %150
101: ; preds = %95
%102 = call i32 @make_ti(i32 noundef 0, i32 noundef -1)
%103 = call i32 @make_ti(i32 noundef -1, i32 noundef 1)
%104 = call i64 @test__negti2(i32 noundef %102, i32 noundef %103)
%105 = icmp ne i64 %104, 0
br i1 %105, label %106, label %107
106: ; preds = %101
store i32 1, ptr %1, align 4
br label %150
107: ; preds = %101
%108 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%109 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%110 = call i64 @test__negti2(i32 noundef %108, i32 noundef %109)
%111 = icmp ne i64 %110, 0
br i1 %111, label %112, label %113
112: ; preds = %107
store i32 1, ptr %1, align 4
br label %150
113: ; preds = %107
%114 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%115 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%116 = call i64 @test__negti2(i32 noundef %114, i32 noundef %115)
%117 = icmp ne i64 %116, 0
br i1 %117, label %118, label %119
118: ; preds = %113
store i32 1, ptr %1, align 4
br label %150
119: ; preds = %113
%120 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%121 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%122 = call i64 @test__negti2(i32 noundef %120, i32 noundef %121)
%123 = icmp ne i64 %122, 0
br i1 %123, label %124, label %125
124: ; preds = %119
store i32 1, ptr %1, align 4
br label %150
125: ; preds = %119
%126 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%127 = call i32 @make_ti(i32 noundef -1, i32 noundef 0)
%128 = call i64 @test__negti2(i32 noundef %126, i32 noundef %127)
%129 = icmp ne i64 %128, 0
br i1 %129, label %130, label %131
130: ; preds = %125
store i32 1, ptr %1, align 4
br label %150
131: ; preds = %125
%132 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%133 = call i32 @make_ti(i32 noundef 0, i32 noundef 0)
%134 = call i64 @test__negti2(i32 noundef %132, i32 noundef %133)
%135 = icmp ne i64 %134, 0
br i1 %135, label %136, label %137
136: ; preds = %131
store i32 1, ptr %1, align 4
br label %150
137: ; preds = %131
%138 = call i32 @make_ti(i32 noundef 0, i32 noundef 1)
%139 = call i32 @make_ti(i32 noundef -1, i32 noundef -1)
%140 = call i64 @test__negti2(i32 noundef %138, i32 noundef %139)
%141 = icmp ne i64 %140, 0
br i1 %141, label %142, label %143
142: ; preds = %137
store i32 1, ptr %1, align 4
br label %150
143: ; preds = %137
%144 = call i32 @make_ti(i32 noundef -1, i32 noundef -1)
%145 = call i32 @make_ti(i32 noundef 0, i32 noundef 1)
%146 = call i64 @test__negti2(i32 noundef %144, i32 noundef %145)
%147 = icmp ne i64 %146, 0
br i1 %147, label %148, label %149
148: ; preds = %143
store i32 1, ptr %1, align 4
br label %150
149: ; preds = %143
store i32 0, ptr %1, align 4
br label %150
150: ; preds = %149, %148, %142, %136, %130, %124, %118, %112, %106, %100, %94, %88, %82, %76, %70, %64, %58, %52, %46, %40, %34, %28, %24, %20, %16, %12, %8, %4
%151 = load i32, ptr %1, align 4
ret i32 %151
}
declare i64 @test__negti2(i32 noundef, i32 noundef) #1
declare i32 @make_ti(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/tmpa79zy3nh.c'
source_filename = "/tmp/tmpa79zy3nh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local double @fmax(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @__nv_fmax(double noundef %5, double noundef %6)
ret double %7
}
declare double @__nv_fmax(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa79zy3nh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local double @fmax(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @__nv_fmax(double noundef %5, double noundef %6)
ret double %7
}
declare double @__nv_fmax(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvh1zh885.c'
source_filename = "/tmp/tmpvh1zh885.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"msg 5678:class_num:%d:action:get_field_num:field_num:%d:\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"type\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ssds_field_type(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [16 x ptr], align 16
%12 = alloca i32, align 4
%13 = alloca [132 x i8], align 16
%14 = alloca [132 x i8], align 16
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%15 = getelementptr inbounds [16 x ptr], ptr %11, i64 0, i64 0
store ptr %15, ptr %10, align 8
%16 = getelementptr inbounds [132 x i8], ptr %14, i64 0, i64 0
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %7, align 4
%19 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, i32 noundef %17, i32 noundef %18)
%20 = load i32, ptr %5, align 4
%21 = getelementptr inbounds [132 x i8], ptr %14, i64 0, i64 0
%22 = getelementptr inbounds [132 x i8], ptr %13, i64 0, i64 0
%23 = call i32 @ssds_send(i32 noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %9, align 4
%24 = getelementptr inbounds [132 x i8], ptr %13, i64 0, i64 0
%25 = load ptr, ptr %10, align 8
%26 = call i32 @get_argc(ptr noundef %24, ptr noundef %25, i32 noundef 16)
store i32 %26, ptr %12, align 4
%27 = load i32, ptr %12, align 4
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %8, align 8
%30 = call i32 @get_arg_char(i32 noundef %27, ptr noundef %28, ptr noundef @.str.1, ptr noundef %29, i32 noundef 32)
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
ret i32 %31
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ssds_send(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @get_argc(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @get_arg_char(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvh1zh885.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"msg 5678:class_num:%d:action:get_field_num:field_num:%d:\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"type\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ssds_field_type(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [16 x ptr], align 16
%12 = alloca i32, align 4
%13 = alloca [132 x i8], align 16
%14 = alloca [132 x i8], align 16
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%15 = getelementptr inbounds [16 x ptr], ptr %11, i64 0, i64 0
store ptr %15, ptr %10, align 8
%16 = getelementptr inbounds [132 x i8], ptr %14, i64 0, i64 0
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %7, align 4
%19 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, i32 noundef %17, i32 noundef %18)
%20 = load i32, ptr %5, align 4
%21 = getelementptr inbounds [132 x i8], ptr %14, i64 0, i64 0
%22 = getelementptr inbounds [132 x i8], ptr %13, i64 0, i64 0
%23 = call i32 @ssds_send(i32 noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %9, align 4
%24 = getelementptr inbounds [132 x i8], ptr %13, i64 0, i64 0
%25 = load ptr, ptr %10, align 8
%26 = call i32 @get_argc(ptr noundef %24, ptr noundef %25, i32 noundef 16)
store i32 %26, ptr %12, align 4
%27 = load i32, ptr %12, align 4
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %8, align 8
%30 = call i32 @get_arg_char(i32 noundef %27, ptr noundef %28, ptr noundef @.str.1, ptr noundef %29, i32 noundef 32)
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
ret i32 %31
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ssds_send(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @get_argc(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @get_arg_char(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpapa61h9c.c'
source_filename = "/tmp/tmpapa61h9c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extStrPos(ptr noundef %0, i8 noundef signext %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %3
store i32 -1, ptr %4, align 4
br label %53
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %15
15: ; preds = %38, %13
%16 = load ptr, ptr %8, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %23
18: ; preds = %15
%19 = load ptr, ptr %8, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br label %23
23: ; preds = %18, %15
%24 = phi i1 [ false, %15 ], [ %22, %18 ]
br i1 %24, label %25, label %43
25: ; preds = %23
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp uge i32 %26, %27
br i1 %28, label %29, label %38
29: ; preds = %25
%30 = load ptr, ptr %8, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = load i8, ptr %6, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %32, %34
br i1 %35, label %36, label %37
36: ; preds = %29
br label %43
37: ; preds = %29
br label %38
38: ; preds = %37, %25
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %9, align 4
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %8, align 8
br label %15, !llvm.loop !6
43: ; preds = %36, %23
%44 = load i32, ptr %9, align 4
%45 = load ptr, ptr %5, align 8
%46 = call i32 @strlen(ptr noundef %45)
%47 = icmp eq i32 %44, %46
br i1 %47, label %48, label %49
48: ; preds = %43
br label %51
49: ; preds = %43
%50 = load i32, ptr %9, align 4
br label %51
51: ; preds = %49, %48
%52 = phi i32 [ -1, %48 ], [ %50, %49 ]
store i32 %52, ptr %4, align 4
br label %53
53: ; preds = %51, %12
%54 = load i32, ptr %4, align 4
ret i32 %54
}
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/tmpapa61h9c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extStrPos(ptr noundef %0, i8 noundef signext %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %3
store i32 -1, ptr %4, align 4
br label %53
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %15
15: ; preds = %38, %13
%16 = load ptr, ptr %8, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %23
18: ; preds = %15
%19 = load ptr, ptr %8, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br label %23
23: ; preds = %18, %15
%24 = phi i1 [ false, %15 ], [ %22, %18 ]
br i1 %24, label %25, label %.loopexit
25: ; preds = %23
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp uge i32 %26, %27
br i1 %28, label %29, label %38
29: ; preds = %25
%30 = load ptr, ptr %8, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = load i8, ptr %6, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %32, %34
br i1 %35, label %36, label %37
36: ; preds = %29
br label %43
37: ; preds = %29
br label %38
38: ; preds = %37, %25
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %9, align 4
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %8, align 8
br label %15, !llvm.loop !6
.loopexit: ; preds = %23
br label %43
43: ; preds = %.loopexit, %36
%44 = load i32, ptr %9, align 4
%45 = load ptr, ptr %5, align 8
%46 = call i32 @strlen(ptr noundef %45)
%47 = icmp eq i32 %44, %46
br i1 %47, label %48, label %49
48: ; preds = %43
br label %51
49: ; preds = %43
%50 = load i32, ptr %9, align 4
br label %51
51: ; preds = %49, %48
%52 = phi i32 [ -1, %48 ], [ %50, %49 ]
store i32 %52, ptr %4, align 4
br label %53
53: ; preds = %51, %12
%54 = load i32, ptr %4, align 4
ret i32 %54
}
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/tmpluw08g8_.c'
source_filename = "/tmp/tmpluw08g8_.c"
target datalayout = "e-m:e-p270: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/tmpluw08g8_.c"
target datalayout = "e-m:e-p270: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/tmp1mh96uu1.c'
source_filename = "/tmp/tmp1mh96uu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBDevAddrSet(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 %4, align 8
%6 = trunc i64 %5 to i8
%7 = load i64, ptr %3, align 8
%8 = add nsw i64 %7, 0
%9 = inttoptr i64 %8 to ptr
store volatile i8 %6, ptr %9, 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/tmp1mh96uu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBDevAddrSet(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 %4, align 8
%6 = trunc i64 %5 to i8
%7 = load i64, ptr %3, align 8
%8 = add nsw i64 %7, 0
%9 = inttoptr i64 %8 to ptr
store volatile i8 %6, ptr %9, 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/tmpabo6tj2t.c'
source_filename = "/tmp/tmpabo6tj2t.c"
target datalayout = "e-m:e-p270: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/tmpabo6tj2t.c"
target datalayout = "e-m:e-p270: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/tmpcgaluhur.c'
source_filename = "/tmp/tmpcgaluhur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setlogin(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcgaluhur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setlogin(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkt9igiji.c'
source_filename = "/tmp/tmpkt9igiji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @sigmoid(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %4, align 4
%6 = call float @pow(float noundef %5, i32 noundef 1)
%7 = load float, ptr %4, align 4
%8 = call float @pow(float noundef %7, i32 noundef 1)
%9 = load float, ptr %3, align 4
%10 = call float @pow(float noundef %9, i32 noundef 1)
%11 = fadd float %8, %10
%12 = fdiv float %6, %11
ret float %12
}
declare float @pow(float 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/tmpkt9igiji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @sigmoid(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %4, align 4
%6 = call float @pow(float noundef %5, i32 noundef 1)
%7 = load float, ptr %4, align 4
%8 = call float @pow(float noundef %7, i32 noundef 1)
%9 = load float, ptr %3, align 4
%10 = call float @pow(float noundef %9, i32 noundef 1)
%11 = fadd float %8, %10
%12 = fdiv float %6, %11
ret float %12
}
declare float @pow(float 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/tmppx64iv6h.c'
source_filename = "/tmp/tmppx64iv6h.c"
target datalayout = "e-m:e-p270: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/tmppx64iv6h.c"
target datalayout = "e-m:e-p270: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/tmpsq99urht.c'
source_filename = "/tmp/tmpsq99urht.c"
target datalayout = "e-m:e-p270: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/tmpsq99urht.c"
target datalayout = "e-m:e-p270: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/tmpmcipje2s.c'
source_filename = "/tmp/tmpmcipje2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"posix_memalign\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mem_alloc_align_func(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store ptr null, ptr %5, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = call i64 @posix_memalign(ptr noundef %5, i64 noundef %6, i64 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @perror(ptr noundef @.str)
br label %12
12: ; preds = %10, %2
%13 = load ptr, ptr %5, align 8
ret ptr %13
}
declare i64 @posix_memalign(ptr noundef, i64 noundef, i64 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmcipje2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"posix_memalign\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mem_alloc_align_func(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store ptr null, ptr %5, align 8
%6 = load i64, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = call i64 @posix_memalign(ptr noundef %5, i64 noundef %6, i64 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @perror(ptr noundef @.str)
br label %12
12: ; preds = %10, %2
%13 = load ptr, ptr %5, align 8
ret ptr %13
}
declare i64 @posix_memalign(ptr noundef, i64 noundef, i64 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw8z9_pg7.c'
source_filename = "/tmp/tmpw8z9_pg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"E\00", align 1
@FLT_EPSILON = dso_local global double 0.000000e+00, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"S\00", align 1
@FLT_MIN = dso_local global float 0.000000e+00, align 4
@FLT_MAX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"B\00", align 1
@FLT_RADIX = dso_local global double 0.000000e+00, align 8
@.str.3 = private unnamed_addr constant [2 x i8] c"P\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"N\00", align 1
@FLT_MANT_DIG = dso_local global float 0.000000e+00, align 4
@.str.5 = private unnamed_addr constant [2 x i8] c"R\00", align 1
@FLT_ROUNDS = dso_local global float 0.000000e+00, align 4
@.str.6 = private unnamed_addr constant [2 x i8] c"M\00", align 1
@FLT_MIN_EXP = dso_local global float 0.000000e+00, align 4
@.str.7 = private unnamed_addr constant [2 x i8] c"U\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"L\00", align 1
@FLT_MAX_EXP = dso_local global float 0.000000e+00, align 4
@.str.9 = private unnamed_addr constant [2 x i8] c"O\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @smach(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i64 @strncmp(ptr noundef %6, ptr noundef @.str, i32 noundef 1)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load double, ptr @FLT_EPSILON, align 8
%11 = fmul double %10, 5.000000e-01
%12 = fptrunc double %11 to float
store float %12, ptr %5, align 4
br label %98
13: ; preds = %1
%14 = load ptr, ptr %2, align 8
%15 = call i64 @strncmp(ptr noundef %14, ptr noundef @.str.1, i32 noundef 1)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %35
17: ; preds = %13
%18 = load float, ptr @FLT_MIN, align 4
store float %18, ptr %3, align 4
%19 = load i32, ptr @FLT_MAX, align 4
%20 = sitofp i32 %19 to double
%21 = fdiv double 1.000000e+00, %20
%22 = fptrunc double %21 to float
store float %22, ptr %4, align 4
%23 = load float, ptr %4, align 4
%24 = load float, ptr %3, align 4
%25 = fcmp oge float %23, %24
br i1 %25, label %26, label %33
26: ; preds = %17
%27 = load float, ptr %4, align 4
%28 = fpext float %27 to double
%29 = load double, ptr @FLT_EPSILON, align 8
%30 = call double @llvm.fmuladd.f64(double %29, double 5.000000e-01, double 1.000000e+00)
%31 = fmul double %28, %30
%32 = fptrunc double %31 to float
store float %32, ptr %3, align 4
br label %33
33: ; preds = %26, %17
%34 = load float, ptr %3, align 4
store float %34, ptr %5, align 4
br label %97
35: ; preds = %13
%36 = load ptr, ptr %2, align 8
%37 = call i64 @strncmp(ptr noundef %36, ptr noundef @.str.2, i32 noundef 1)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = load double, ptr @FLT_RADIX, align 8
%41 = fptrunc double %40 to float
store float %41, ptr %5, align 4
br label %96
42: ; preds = %35
%43 = load ptr, ptr %2, align 8
%44 = call i64 @strncmp(ptr noundef %43, ptr noundef @.str.3, i32 noundef 1)
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %52
46: ; preds = %42
%47 = load double, ptr @FLT_EPSILON, align 8
%48 = fmul double %47, 5.000000e-01
%49 = load double, ptr @FLT_RADIX, align 8
%50 = fmul double %48, %49
%51 = fptrunc double %50 to float
store float %51, ptr %5, align 4
br label %95
52: ; preds = %42
%53 = load ptr, ptr %2, align 8
%54 = call i64 @strncmp(ptr noundef %53, ptr noundef @.str.4, i32 noundef 1)
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %52
%57 = load float, ptr @FLT_MANT_DIG, align 4
store float %57, ptr %5, align 4
br label %94
58: ; preds = %52
%59 = load ptr, ptr %2, align 8
%60 = call i64 @strncmp(ptr noundef %59, ptr noundef @.str.5, i32 noundef 1)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %58
%63 = load float, ptr @FLT_ROUNDS, align 4
store float %63, ptr %5, align 4
br label %93
64: ; preds = %58
%65 = load ptr, ptr %2, align 8
%66 = call i64 @strncmp(ptr noundef %65, ptr noundef @.str.6, i32 noundef 1)
%67 = icmp eq i64 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = load float, ptr @FLT_MIN_EXP, align 4
store float %69, ptr %5, align 4
br label %92
70: ; preds = %64
%71 = load ptr, ptr %2, align 8
%72 = call i64 @strncmp(ptr noundef %71, ptr noundef @.str.7, i32 noundef 1)
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %70
%75 = load float, ptr @FLT_MIN, align 4
store float %75, ptr %5, align 4
br label %91
76: ; preds = %70
%77 = load ptr, ptr %2, align 8
%78 = call i64 @strncmp(ptr noundef %77, ptr noundef @.str.8, i32 noundef 1)
%79 = icmp eq i64 %78, 0
br i1 %79, label %80, label %82
80: ; preds = %76
%81 = load float, ptr @FLT_MAX_EXP, align 4
store float %81, ptr %5, align 4
br label %90
82: ; preds = %76
%83 = load ptr, ptr %2, align 8
%84 = call i64 @strncmp(ptr noundef %83, ptr noundef @.str.9, i32 noundef 1)
%85 = icmp eq i64 %84, 0
br i1 %85, label %86, label %89
86: ; preds = %82
%87 = load i32, ptr @FLT_MAX, align 4
%88 = sitofp i32 %87 to float
store float %88, ptr %5, align 4
br label %89
89: ; preds = %86, %82
br label %90
90: ; preds = %89, %80
br label %91
91: ; preds = %90, %74
br label %92
92: ; preds = %91, %68
br label %93
93: ; preds = %92, %62
br label %94
94: ; preds = %93, %56
br label %95
95: ; preds = %94, %46
br label %96
96: ; preds = %95, %39
br label %97
97: ; preds = %96, %33
br label %98
98: ; preds = %97, %9
%99 = load float, ptr %5, align 4
ret float %99
}
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw8z9_pg7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"E\00", align 1
@FLT_EPSILON = dso_local global double 0.000000e+00, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"S\00", align 1
@FLT_MIN = dso_local global float 0.000000e+00, align 4
@FLT_MAX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"B\00", align 1
@FLT_RADIX = dso_local global double 0.000000e+00, align 8
@.str.3 = private unnamed_addr constant [2 x i8] c"P\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"N\00", align 1
@FLT_MANT_DIG = dso_local global float 0.000000e+00, align 4
@.str.5 = private unnamed_addr constant [2 x i8] c"R\00", align 1
@FLT_ROUNDS = dso_local global float 0.000000e+00, align 4
@.str.6 = private unnamed_addr constant [2 x i8] c"M\00", align 1
@FLT_MIN_EXP = dso_local global float 0.000000e+00, align 4
@.str.7 = private unnamed_addr constant [2 x i8] c"U\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"L\00", align 1
@FLT_MAX_EXP = dso_local global float 0.000000e+00, align 4
@.str.9 = private unnamed_addr constant [2 x i8] c"O\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @smach(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i64 @strncmp(ptr noundef %6, ptr noundef @.str, i32 noundef 1)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load double, ptr @FLT_EPSILON, align 8
%11 = fmul double %10, 5.000000e-01
%12 = fptrunc double %11 to float
store float %12, ptr %5, align 4
br label %98
13: ; preds = %1
%14 = load ptr, ptr %2, align 8
%15 = call i64 @strncmp(ptr noundef %14, ptr noundef @.str.1, i32 noundef 1)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %35
17: ; preds = %13
%18 = load float, ptr @FLT_MIN, align 4
store float %18, ptr %3, align 4
%19 = load i32, ptr @FLT_MAX, align 4
%20 = sitofp i32 %19 to double
%21 = fdiv double 1.000000e+00, %20
%22 = fptrunc double %21 to float
store float %22, ptr %4, align 4
%23 = load float, ptr %4, align 4
%24 = load float, ptr %3, align 4
%25 = fcmp oge float %23, %24
br i1 %25, label %26, label %33
26: ; preds = %17
%27 = load float, ptr %4, align 4
%28 = fpext float %27 to double
%29 = load double, ptr @FLT_EPSILON, align 8
%30 = call double @llvm.fmuladd.f64(double %29, double 5.000000e-01, double 1.000000e+00)
%31 = fmul double %28, %30
%32 = fptrunc double %31 to float
store float %32, ptr %3, align 4
br label %33
33: ; preds = %26, %17
%34 = load float, ptr %3, align 4
store float %34, ptr %5, align 4
br label %97
35: ; preds = %13
%36 = load ptr, ptr %2, align 8
%37 = call i64 @strncmp(ptr noundef %36, ptr noundef @.str.2, i32 noundef 1)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = load double, ptr @FLT_RADIX, align 8
%41 = fptrunc double %40 to float
store float %41, ptr %5, align 4
br label %96
42: ; preds = %35
%43 = load ptr, ptr %2, align 8
%44 = call i64 @strncmp(ptr noundef %43, ptr noundef @.str.3, i32 noundef 1)
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %52
46: ; preds = %42
%47 = load double, ptr @FLT_EPSILON, align 8
%48 = fmul double %47, 5.000000e-01
%49 = load double, ptr @FLT_RADIX, align 8
%50 = fmul double %48, %49
%51 = fptrunc double %50 to float
store float %51, ptr %5, align 4
br label %95
52: ; preds = %42
%53 = load ptr, ptr %2, align 8
%54 = call i64 @strncmp(ptr noundef %53, ptr noundef @.str.4, i32 noundef 1)
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %52
%57 = load float, ptr @FLT_MANT_DIG, align 4
store float %57, ptr %5, align 4
br label %94
58: ; preds = %52
%59 = load ptr, ptr %2, align 8
%60 = call i64 @strncmp(ptr noundef %59, ptr noundef @.str.5, i32 noundef 1)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %58
%63 = load float, ptr @FLT_ROUNDS, align 4
store float %63, ptr %5, align 4
br label %93
64: ; preds = %58
%65 = load ptr, ptr %2, align 8
%66 = call i64 @strncmp(ptr noundef %65, ptr noundef @.str.6, i32 noundef 1)
%67 = icmp eq i64 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = load float, ptr @FLT_MIN_EXP, align 4
store float %69, ptr %5, align 4
br label %92
70: ; preds = %64
%71 = load ptr, ptr %2, align 8
%72 = call i64 @strncmp(ptr noundef %71, ptr noundef @.str.7, i32 noundef 1)
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %70
%75 = load float, ptr @FLT_MIN, align 4
store float %75, ptr %5, align 4
br label %91
76: ; preds = %70
%77 = load ptr, ptr %2, align 8
%78 = call i64 @strncmp(ptr noundef %77, ptr noundef @.str.8, i32 noundef 1)
%79 = icmp eq i64 %78, 0
br i1 %79, label %80, label %82
80: ; preds = %76
%81 = load float, ptr @FLT_MAX_EXP, align 4
store float %81, ptr %5, align 4
br label %90
82: ; preds = %76
%83 = load ptr, ptr %2, align 8
%84 = call i64 @strncmp(ptr noundef %83, ptr noundef @.str.9, i32 noundef 1)
%85 = icmp eq i64 %84, 0
br i1 %85, label %86, label %89
86: ; preds = %82
%87 = load i32, ptr @FLT_MAX, align 4
%88 = sitofp i32 %87 to float
store float %88, ptr %5, align 4
br label %89
89: ; preds = %86, %82
br label %90
90: ; preds = %89, %80
br label %91
91: ; preds = %90, %74
br label %92
92: ; preds = %91, %68
br label %93
93: ; preds = %92, %62
br label %94
94: ; preds = %93, %56
br label %95
95: ; preds = %94, %46
br label %96
96: ; preds = %95, %39
br label %97
97: ; preds = %96, %33
br label %98
98: ; preds = %97, %9
%99 = load float, ptr %5, align 4
ret float %99
}
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz08j8sa3.c'
source_filename = "/tmp/tmpz08j8sa3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clUnloadCompiler() #0 {
%1 = call i32 @syscall(i32 noundef 325, i32 noundef 1033)
ret i32 %1
}
declare i32 @syscall(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/tmpz08j8sa3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clUnloadCompiler() #0 {
%1 = call i32 @syscall(i32 noundef 325, i32 noundef 1033)
ret i32 %1
}
declare i32 @syscall(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/tmpyz591vid.c'
source_filename = "/tmp/tmpyz591vid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_allocArray(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = mul i64 %7, 8
%9 = add i64 %8, 1
%10 = call ptr @malloc(i64 noundef %9)
store ptr %10, ptr %6, align 8
%11 = load i64, ptr %3, align 8
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds i64, ptr %12, i64 0
store i64 %11, ptr %13, align 8
store i32 1, ptr %5, align 4
br label %14
14: ; preds = %25, %2
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = load i64, ptr %3, align 8
%18 = icmp sle i64 %16, %17
br i1 %18, label %19, label %28
19: ; preds = %14
%20 = load i64, ptr %4, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i64, ptr %21, i64 %23
store i64 %20, ptr %24, align 8
br label %25
25: ; preds = %19
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
br label %14, !llvm.loop !6
28: ; preds = %14
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i64, ptr %29, i64 1
ret ptr %30
}
declare ptr @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyz591vid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_allocArray(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load i64, ptr %3, align 8
%8 = mul i64 %7, 8
%9 = add i64 %8, 1
%10 = call ptr @malloc(i64 noundef %9)
store ptr %10, ptr %6, align 8
%11 = load i64, ptr %3, align 8
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds i64, ptr %12, i64 0
store i64 %11, ptr %13, align 8
store i32 1, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = load i64, ptr %3, align 8
%17 = icmp sle i64 %15, %16
br i1 %17, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %24
%19 = load i64, ptr %4, align 8
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i64, ptr %20, i64 %22
store i64 %19, ptr %23, align 8
br label %24
24: ; preds = %18
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = load i64, ptr %3, align 8
%30 = icmp sle i64 %28, %29
br i1 %30, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %31
31: ; preds = %._crit_edge, %2
%32 = load ptr, ptr %6, align 8
%33 = getelementptr inbounds i64, ptr %32, i64 1
ret ptr %33
}
declare ptr @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy4doqb4p.c'
source_filename = "/tmp/tmpy4doqb4p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"socketpair\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"before init, size=%d\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"after init\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"start read\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"done read\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"start write\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"done write\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"TIME: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [10 x i8], align 1
%12 = alloca [2 x i32], align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%22 = load i32, ptr %4, align 4
%23 = icmp sgt i32 %22, 1
br i1 %23, label %24, label %37
24: ; preds = %2
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i32 @atoi(ptr noundef %27)
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = udiv i64 %30, 4
%32 = trunc i64 %31 to i32
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = mul i64 4, %34
%36 = trunc i64 %35 to i32
store i32 %36, ptr %6, align 4
br label %39
37: ; preds = %2
%38 = call i32 @exit(i32 noundef 1) #3
unreachable
39: ; preds = %24
%40 = load i32, ptr %6, align 4
store i32 %40, ptr %17, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp sgt i32 %41, 2
br i1 %42, label %43, label %48
43: ; preds = %39
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 2
%46 = load ptr, ptr %45, align 8
%47 = call i32 @atoi(ptr noundef %46)
store i32 %47, ptr %17, align 4
br label %48
48: ; preds = %43, %39
%49 = load i32, ptr @AF_UNIX, align 4
%50 = load i32, ptr @SOCK_STREAM, align 4
%51 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
%52 = call i32 @socketpair(i32 noundef %49, i32 noundef %50, i32 noundef 0, ptr noundef %51)
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %57
54: ; preds = %48
%55 = call i32 @perror(ptr noundef @.str)
%56 = call i32 @exit(i32 noundef 1) #3
unreachable
57: ; preds = %48
%58 = load i32, ptr %6, align 4
%59 = call double (ptr, ...) @log_perf(ptr noundef @.str.1, i32 noundef %58)
%60 = load i32, ptr %6, align 4
%61 = call ptr @malloc(i32 noundef %60)
store ptr %61, ptr %9, align 8
store i32 0, ptr %8, align 4
br label %62
62: ; preds = %72, %57
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %7, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %66, label %75
66: ; preds = %62
%67 = load i32, ptr %8, align 4
%68 = load ptr, ptr %9, align 8
%69 = load i32, ptr %8, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
store i32 %67, ptr %71, align 4
br label %72
72: ; preds = %66
%73 = load i32, ptr %8, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %8, align 4
br label %62, !llvm.loop !6
75: ; preds = %62
%76 = call double (ptr, ...) @log_perf(ptr noundef @.str.2)
%77 = call i32 (...) @fork()
%78 = icmp ne i32 %77, 0
br i1 %78, label %146, label %79
79: ; preds = %75
%80 = load ptr, ptr %9, align 8
%81 = call i32 @free(ptr noundef %80)
%82 = load i32, ptr %6, align 4
%83 = call ptr @malloc(i32 noundef %82)
store ptr %83, ptr %10, align 8
%84 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 1
%85 = load i32, ptr %84, align 4
%86 = call i32 @internal_send(i32 noundef %85, ptr noundef %11, i32 noundef 1)
%87 = call double (ptr, ...) @log_perf(ptr noundef @.str.3)
store double %87, ptr %15, align 8
store i32 0, ptr %18, align 4
br label %88
88: ; preds = %104, %79
%89 = load i32, ptr %18, align 4
%90 = load i32, ptr %6, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %92, label %120
92: ; preds = %88
%93 = load i32, ptr %6, align 4
%94 = load i32, ptr %18, align 4
%95 = sub nsw i32 %93, %94
%96 = load i32, ptr %17, align 4
%97 = icmp sgt i32 %95, %96
br i1 %97, label %98, label %100
98: ; preds = %92
%99 = load i32, ptr %17, align 4
br label %104
100: ; preds = %92
%101 = load i32, ptr %6, align 4
%102 = load i32, ptr %18, align 4
%103 = sub nsw i32 %101, %102
br label %104
104: ; preds = %100, %98
%105 = phi i32 [ %99, %98 ], [ %103, %100 ]
store i32 %105, ptr %19, align 4
%106 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 1
%107 = load i32, ptr %106, align 4
%108 = load ptr, ptr %10, align 8
%109 = load i32, ptr %18, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr i8, ptr %108, i64 %110
%112 = load i32, ptr %19, align 4
%113 = call i32 (i32, ...) @internal_recv(i32 noundef %107, ptr noundef %111, i32 noundef %112)
%114 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 1
%115 = load i32, ptr %114, align 4
%116 = call i32 @internal_send(i32 noundef %115, ptr noundef %11, i32 noundef 10)
%117 = load i32, ptr %19, align 4
%118 = load i32, ptr %18, align 4
%119 = add nsw i32 %118, %117
store i32 %119, ptr %18, align 4
br label %88, !llvm.loop !8
120: ; preds = %88
%121 = call double (ptr, ...) @log_perf(ptr noundef @.str.4)
store double %121, ptr %16, align 8
%122 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 1
%123 = load i32, ptr %122, align 4
%124 = call i32 @internal_send(i32 noundef %123, ptr noundef %15, i32 noundef 8)
%125 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 1
%126 = load i32, ptr %125, align 4
%127 = call i32 @internal_send(i32 noundef %126, ptr noundef %16, i32 noundef 8)
store i32 0, ptr %8, align 4
br label %128
128: ; preds = %142, %120
%129 = load i32, ptr %8, align 4
%130 = load i32, ptr %7, align 4
%131 = icmp slt i32 %129, %130
br i1 %131, label %132, label %145
132: ; preds = %128
%133 = load ptr, ptr %10, align 8
%134 = load i32, ptr %8, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i32, ptr %133, i64 %135
%137 = load i32, ptr %136, align 4
%138 = load i32, ptr %8, align 4
%139 = icmp eq i32 %137, %138
%140 = zext i1 %139 to i32
%141 = call i32 @assert(i32 noundef %140)
br label %142
142: ; preds = %132
%143 = load i32, ptr %8, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %8, align 4
br label %128, !llvm.loop !9
145: ; preds = %128
br label %212
146: ; preds = %75
%147 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
%148 = load i32, ptr %147, align 4
%149 = call i32 (i32, ...) @internal_recv(i32 noundef %148, ptr noundef %11, i64 noundef 1)
%150 = call double (ptr, ...) @log_perf(ptr noundef @.str.5)
store double %150, ptr %13, align 8
store i32 0, ptr %20, align 4
br label %151
151: ; preds = %167, %146
%152 = load i32, ptr %20, align 4
%153 = load i32, ptr %6, align 4
%154 = icmp slt i32 %152, %153
br i1 %154, label %155, label %183
155: ; preds = %151
%156 = load i32, ptr %6, align 4
%157 = load i32, ptr %20, align 4
%158 = sub nsw i32 %156, %157
%159 = load i32, ptr %17, align 4
%160 = icmp sgt i32 %158, %159
br i1 %160, label %161, label %163
161: ; preds = %155
%162 = load i32, ptr %17, align 4
br label %167
163: ; preds = %155
%164 = load i32, ptr %6, align 4
%165 = load i32, ptr %20, align 4
%166 = sub nsw i32 %164, %165
br label %167
167: ; preds = %163, %161
%168 = phi i32 [ %162, %161 ], [ %166, %163 ]
store i32 %168, ptr %21, align 4
%169 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
%170 = load i32, ptr %169, align 4
%171 = load ptr, ptr %9, align 8
%172 = load i32, ptr %20, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr i8, ptr %171, i64 %173
%175 = load i32, ptr %21, align 4
%176 = call i32 @internal_send(i32 noundef %170, ptr noundef %174, i32 noundef %175)
%177 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
%178 = load i32, ptr %177, align 4
%179 = call i32 (i32, ...) @internal_recv(i32 noundef %178, ptr noundef %11, i64 noundef 10)
%180 = load i32, ptr %21, align 4
%181 = load i32, ptr %20, align 4
%182 = add nsw i32 %181, %180
store i32 %182, ptr %20, align 4
br label %151, !llvm.loop !10
183: ; preds = %151
%184 = call double (ptr, ...) @log_perf(ptr noundef @.str.6)
store double %184, ptr %14, align 8
%185 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
%186 = load i32, ptr %185, align 4
%187 = call i32 (i32, ...) @internal_recv(i32 noundef %186, ptr noundef %15, i64 noundef 8)
%188 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
%189 = load i32, ptr %188, align 4
%190 = call i32 (i32, ...) @internal_recv(i32 noundef %189, ptr noundef %16, i64 noundef 8)
%191 = load double, ptr %14, align 8
%192 = load double, ptr %16, align 8
%193 = fcmp ogt double %191, %192
br i1 %193, label %194, label %196
194: ; preds = %183
%195 = load double, ptr %14, align 8
br label %198
196: ; preds = %183
%197 = load double, ptr %16, align 8
br label %198
198: ; preds = %196, %194
%199 = phi double [ %195, %194 ], [ %197, %196 ]
%200 = load double, ptr %13, align 8
%201 = load double, ptr %15, align 8
%202 = fcmp olt double %200, %201
br i1 %202, label %203, label %205
203: ; preds = %198
%204 = load double, ptr %13, align 8
br label %207
205: ; preds = %198
%206 = load double, ptr %15, align 8
br label %207
207: ; preds = %205, %203
%208 = phi double [ %204, %203 ], [ %206, %205 ]
%209 = fsub double %199, %208
%210 = call i32 @printf(ptr noundef @.str.7, double noundef %209)
%211 = call i32 @wait(ptr noundef null)
br label %212
212: ; preds = %207, %145
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare double @log_perf(ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fork(...) #1
declare i32 @free(ptr noundef) #1
declare i32 @internal_send(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @internal_recv(i32 noundef, ...) #1
declare i32 @assert(i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare i32 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy4doqb4p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"socketpair\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"before init, size=%d\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"after init\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"start read\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"done read\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"start write\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"done write\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"TIME: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [10 x i8], align 1
%12 = alloca [2 x i32], align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%22 = load i32, ptr %4, align 4
%23 = icmp sgt i32 %22, 1
br i1 %23, label %24, label %37
24: ; preds = %2
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i32 @atoi(ptr noundef %27)
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = udiv i64 %30, 4
%32 = trunc i64 %31 to i32
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = mul i64 4, %34
%36 = trunc i64 %35 to i32
store i32 %36, ptr %6, align 4
br label %39
37: ; preds = %2
%38 = call i32 @exit(i32 noundef 1) #3
unreachable
39: ; preds = %24
%40 = load i32, ptr %6, align 4
store i32 %40, ptr %17, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp sgt i32 %41, 2
br i1 %42, label %43, label %48
43: ; preds = %39
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 2
%46 = load ptr, ptr %45, align 8
%47 = call i32 @atoi(ptr noundef %46)
store i32 %47, ptr %17, align 4
br label %48
48: ; preds = %43, %39
%49 = load i32, ptr @AF_UNIX, align 4
%50 = load i32, ptr @SOCK_STREAM, align 4
%51 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
%52 = call i32 @socketpair(i32 noundef %49, i32 noundef %50, i32 noundef 0, ptr noundef %51)
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %57
54: ; preds = %48
%55 = call i32 @perror(ptr noundef @.str)
%56 = call i32 @exit(i32 noundef 1) #3
unreachable
57: ; preds = %48
%58 = load i32, ptr %6, align 4
%59 = call double (ptr, ...) @log_perf(ptr noundef @.str.1, i32 noundef %58)
%60 = load i32, ptr %6, align 4
%61 = call ptr @malloc(i32 noundef %60)
store ptr %61, ptr %9, align 8
store i32 0, ptr %8, align 4
%62 = load i32, ptr %8, align 4
%63 = load i32, ptr %7, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %.lr.ph, label %77
.lr.ph: ; preds = %57
br label %65
65: ; preds = %.lr.ph, %71
%66 = load i32, ptr %8, align 4
%67 = load ptr, ptr %9, align 8
%68 = load i32, ptr %8, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
store i32 %66, ptr %70, align 4
br label %71
71: ; preds = %65
%72 = load i32, ptr %8, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %8, align 4
%74 = load i32, ptr %8, align 4
%75 = load i32, ptr %7, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %65, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %77
77: ; preds = %._crit_edge, %57
%78 = call double (ptr, ...) @log_perf(ptr noundef @.str.2)
%79 = call i32 (...) @fork()
%80 = icmp ne i32 %79, 0
br i1 %80, label %152, label %81
81: ; preds = %77
%82 = load ptr, ptr %9, align 8
%83 = call i32 @free(ptr noundef %82)
%84 = load i32, ptr %6, align 4
%85 = call ptr @malloc(i32 noundef %84)
store ptr %85, ptr %10, align 8
%86 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 1
%87 = load i32, ptr %86, align 4
%88 = call i32 @internal_send(i32 noundef %87, ptr noundef %11, i32 noundef 1)
%89 = call double (ptr, ...) @log_perf(ptr noundef @.str.3)
store double %89, ptr %15, align 8
store i32 0, ptr %18, align 4
%90 = load i32, ptr %18, align 4
%91 = load i32, ptr %6, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %.lr.ph2, label %124
.lr.ph2: ; preds = %81
br label %93
93: ; preds = %.lr.ph2, %105
%94 = load i32, ptr %6, align 4
%95 = load i32, ptr %18, align 4
%96 = sub nsw i32 %94, %95
%97 = load i32, ptr %17, align 4
%98 = icmp sgt i32 %96, %97
br i1 %98, label %99, label %101
99: ; preds = %93
%100 = load i32, ptr %17, align 4
br label %105
101: ; preds = %93
%102 = load i32, ptr %6, align 4
%103 = load i32, ptr %18, align 4
%104 = sub nsw i32 %102, %103
br label %105
105: ; preds = %101, %99
%106 = phi i32 [ %100, %99 ], [ %104, %101 ]
store i32 %106, ptr %19, align 4
%107 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 1
%108 = load i32, ptr %107, align 4
%109 = load ptr, ptr %10, align 8
%110 = load i32, ptr %18, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr i8, ptr %109, i64 %111
%113 = load i32, ptr %19, align 4
%114 = call i32 (i32, ...) @internal_recv(i32 noundef %108, ptr noundef %112, i32 noundef %113)
%115 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 1
%116 = load i32, ptr %115, align 4
%117 = call i32 @internal_send(i32 noundef %116, ptr noundef %11, i32 noundef 10)
%118 = load i32, ptr %19, align 4
%119 = load i32, ptr %18, align 4
%120 = add nsw i32 %119, %118
store i32 %120, ptr %18, align 4
%121 = load i32, ptr %18, align 4
%122 = load i32, ptr %6, align 4
%123 = icmp slt i32 %121, %122
br i1 %123, label %93, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %105
br label %124
124: ; preds = %._crit_edge3, %81
%125 = call double (ptr, ...) @log_perf(ptr noundef @.str.4)
store double %125, ptr %16, align 8
%126 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 1
%127 = load i32, ptr %126, align 4
%128 = call i32 @internal_send(i32 noundef %127, ptr noundef %15, i32 noundef 8)
%129 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 1
%130 = load i32, ptr %129, align 4
%131 = call i32 @internal_send(i32 noundef %130, ptr noundef %16, i32 noundef 8)
store i32 0, ptr %8, align 4
%132 = load i32, ptr %8, align 4
%133 = load i32, ptr %7, align 4
%134 = icmp slt i32 %132, %133
br i1 %134, label %.lr.ph5, label %151
.lr.ph5: ; preds = %124
br label %135
135: ; preds = %.lr.ph5, %145
%136 = load ptr, ptr %10, align 8
%137 = load i32, ptr %8, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i32, ptr %136, i64 %138
%140 = load i32, ptr %139, align 4
%141 = load i32, ptr %8, align 4
%142 = icmp eq i32 %140, %141
%143 = zext i1 %142 to i32
%144 = call i32 @assert(i32 noundef %143)
br label %145
145: ; preds = %135
%146 = load i32, ptr %8, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %8, align 4
%148 = load i32, ptr %8, align 4
%149 = load i32, ptr %7, align 4
%150 = icmp slt i32 %148, %149
br i1 %150, label %135, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %145
br label %151
151: ; preds = %._crit_edge6, %124
br label %220
152: ; preds = %77
%153 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
%154 = load i32, ptr %153, align 4
%155 = call i32 (i32, ...) @internal_recv(i32 noundef %154, ptr noundef %11, i64 noundef 1)
%156 = call double (ptr, ...) @log_perf(ptr noundef @.str.5)
store double %156, ptr %13, align 8
store i32 0, ptr %20, align 4
%157 = load i32, ptr %20, align 4
%158 = load i32, ptr %6, align 4
%159 = icmp slt i32 %157, %158
br i1 %159, label %.lr.ph8, label %191
.lr.ph8: ; preds = %152
br label %160
160: ; preds = %.lr.ph8, %172
%161 = load i32, ptr %6, align 4
%162 = load i32, ptr %20, align 4
%163 = sub nsw i32 %161, %162
%164 = load i32, ptr %17, align 4
%165 = icmp sgt i32 %163, %164
br i1 %165, label %166, label %168
166: ; preds = %160
%167 = load i32, ptr %17, align 4
br label %172
168: ; preds = %160
%169 = load i32, ptr %6, align 4
%170 = load i32, ptr %20, align 4
%171 = sub nsw i32 %169, %170
br label %172
172: ; preds = %168, %166
%173 = phi i32 [ %167, %166 ], [ %171, %168 ]
store i32 %173, ptr %21, align 4
%174 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
%175 = load i32, ptr %174, align 4
%176 = load ptr, ptr %9, align 8
%177 = load i32, ptr %20, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr i8, ptr %176, i64 %178
%180 = load i32, ptr %21, align 4
%181 = call i32 @internal_send(i32 noundef %175, ptr noundef %179, i32 noundef %180)
%182 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
%183 = load i32, ptr %182, align 4
%184 = call i32 (i32, ...) @internal_recv(i32 noundef %183, ptr noundef %11, i64 noundef 10)
%185 = load i32, ptr %21, align 4
%186 = load i32, ptr %20, align 4
%187 = add nsw i32 %186, %185
store i32 %187, ptr %20, align 4
%188 = load i32, ptr %20, align 4
%189 = load i32, ptr %6, align 4
%190 = icmp slt i32 %188, %189
br i1 %190, label %160, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %172
br label %191
191: ; preds = %._crit_edge9, %152
%192 = call double (ptr, ...) @log_perf(ptr noundef @.str.6)
store double %192, ptr %14, align 8
%193 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
%194 = load i32, ptr %193, align 4
%195 = call i32 (i32, ...) @internal_recv(i32 noundef %194, ptr noundef %15, i64 noundef 8)
%196 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
%197 = load i32, ptr %196, align 4
%198 = call i32 (i32, ...) @internal_recv(i32 noundef %197, ptr noundef %16, i64 noundef 8)
%199 = load double, ptr %14, align 8
%200 = load double, ptr %16, align 8
%201 = fcmp ogt double %199, %200
br i1 %201, label %202, label %204
202: ; preds = %191
%203 = load double, ptr %14, align 8
br label %206
204: ; preds = %191
%205 = load double, ptr %16, align 8
br label %206
206: ; preds = %204, %202
%207 = phi double [ %203, %202 ], [ %205, %204 ]
%208 = load double, ptr %13, align 8
%209 = load double, ptr %15, align 8
%210 = fcmp olt double %208, %209
br i1 %210, label %211, label %213
211: ; preds = %206
%212 = load double, ptr %13, align 8
br label %215
213: ; preds = %206
%214 = load double, ptr %15, align 8
br label %215
215: ; preds = %213, %211
%216 = phi double [ %212, %211 ], [ %214, %213 ]
%217 = fsub double %207, %216
%218 = call i32 @printf(ptr noundef @.str.7, double noundef %217)
%219 = call i32 @wait(ptr noundef null)
br label %220
220: ; preds = %215, %151
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare double @log_perf(ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fork(...) #1
declare i32 @free(ptr noundef) #1
declare i32 @internal_send(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @internal_recv(i32 noundef, ...) #1
declare i32 @assert(i32 noundef) #1
declare i32 @printf(ptr noundef, double noundef) #1
declare i32 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpyrlb4k49.c'
source_filename = "/tmp/tmpyrlb4k49.c"
target datalayout = "e-m:e-p270: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/tmpyrlb4k49.c"
target datalayout = "e-m:e-p270: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/tmptqj3hz6r.c'
source_filename = "/tmp/tmptqj3hz6r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%e\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%g\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%5 = load float, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str.1, float noundef %5)
%7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%8 = load float, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str.1, float noundef %8)
%10 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %3)
%11 = load float, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str.1, float noundef %11)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptqj3hz6r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%e\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%g\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%5 = load float, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str.1, float noundef %5)
%7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%8 = load float, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str.1, float noundef %8)
%10 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %3)
%11 = load float, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str.1, float noundef %11)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnzoxpyd7.c'
source_filename = "/tmp/tmpnzoxpyd7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @add(i32 noundef 1)
%3 = call i32 @add(i32 noundef 2)
%4 = call i32 @add(i32 noundef 3)
%5 = call i32 @add(i32 noundef 4)
%6 = call i32 @add(i32 noundef 5)
%7 = call i32 @add(i32 noundef 6)
%8 = call i32 (...) @printList()
%9 = call i32 @reverse_n(i32 noundef 1)
%10 = call i32 (...) @printList()
%11 = call i32 @reverse_n(i32 noundef 2)
%12 = call i32 (...) @printList()
ret i32 0
}
declare i32 @add(i32 noundef) #1
declare i32 @printList(...) #1
declare i32 @reverse_n(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/tmpnzoxpyd7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @add(i32 noundef 1)
%3 = call i32 @add(i32 noundef 2)
%4 = call i32 @add(i32 noundef 3)
%5 = call i32 @add(i32 noundef 4)
%6 = call i32 @add(i32 noundef 5)
%7 = call i32 @add(i32 noundef 6)
%8 = call i32 (...) @printList()
%9 = call i32 @reverse_n(i32 noundef 1)
%10 = call i32 (...) @printList()
%11 = call i32 @reverse_n(i32 noundef 2)
%12 = call i32 (...) @printList()
ret i32 0
}
declare i32 @add(i32 noundef) #1
declare i32 @printList(...) #1
declare i32 @reverse_n(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/tmp3nrzsu_q.c'
source_filename = "/tmp/tmp3nrzsu_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 [35 x i8] c"What is the radius of your pizza?\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"Your basic pizza parameters are as follows: \0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"circumference = %1.2f,area = %1.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%7 = load float, ptr %4, align 4
%8 = fpext float %7 to double
%9 = fmul double 3.141590e+00, %8
%10 = load float, ptr %4, align 4
%11 = fpext float %10 to double
%12 = fmul double %9, %11
%13 = fptrunc double %12 to float
store float %13, ptr %2, align 4
%14 = load float, ptr %4, align 4
%15 = fpext float %14 to double
%16 = fmul double 6.283180e+00, %15
%17 = fptrunc double %16 to float
store float %17, ptr %3, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%19 = load float, ptr %3, align 4
%20 = fpext float %19 to double
%21 = load float, ptr %2, align 4
%22 = fpext float %21 to double
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %20, double noundef %22)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3nrzsu_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 [35 x i8] c"What is the radius of your pizza?\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"Your basic pizza parameters are as follows: \0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"circumference = %1.2f,area = %1.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%7 = load float, ptr %4, align 4
%8 = fpext float %7 to double
%9 = fmul double 3.141590e+00, %8
%10 = load float, ptr %4, align 4
%11 = fpext float %10 to double
%12 = fmul double %9, %11
%13 = fptrunc double %12 to float
store float %13, ptr %2, align 4
%14 = load float, ptr %4, align 4
%15 = fpext float %14 to double
%16 = fmul double 6.283180e+00, %15
%17 = fptrunc double %16 to float
store float %17, ptr %3, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%19 = load float, ptr %3, align 4
%20 = fpext float %19 to double
%21 = load float, ptr %2, align 4
%22 = fpext float %21 to double
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %20, double noundef %22)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq8qbuhwj.c'
source_filename = "/tmp/tmpq8qbuhwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq8qbuhwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd909l04i.c'
source_filename = "/tmp/tmpd909l04i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @iterative(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %3
3: ; preds = %1, %25
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 4
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = load i32, ptr %2, align 4
ret i32 %7
8: ; preds = %3
%9 = load i32, ptr %2, align 4
%10 = srem i32 %9, 2
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %16
12: ; preds = %8
%13 = load i32, ptr %2, align 4
%14 = mul nsw i32 3, %13
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
br label %24
16: ; preds = %8
%17 = load i32, ptr %2, align 4
%18 = srem i32 %17, 2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load i32, ptr %2, align 4
%22 = sdiv i32 %21, 2
store i32 %22, ptr %2, align 4
br label %23
23: ; preds = %20, %16
br label %24
24: ; preds = %23, %12
br label %25
25: ; preds = %24
%26 = load i32, ptr %2, align 4
%27 = call i32 @printf(ptr noundef @.str, i32 noundef %26)
br label %3
}
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/tmpd909l04i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @iterative(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 4
br i1 %4, label %5, label %.lr.ph
.lr.ph: ; preds = %1
br label %7
._crit_edge: ; preds = %24
br label %5
5: ; preds = %._crit_edge, %1
%6 = load i32, ptr %2, align 4
ret i32 %6
7: ; preds = %.lr.ph, %24
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 2
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = mul nsw i32 3, %12
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
br label %23
15: ; preds = %7
%16 = load i32, ptr %2, align 4
%17 = srem i32 %16, 2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = sdiv i32 %20, 2
store i32 %21, ptr %2, align 4
br label %22
22: ; preds = %19, %15
br label %23
23: ; preds = %22, %11
br label %24
24: ; preds = %23
%25 = load i32, ptr %2, align 4
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %25)
%27 = load i32, ptr %2, align 4
%28 = icmp eq i32 %27, 4
br i1 %28, label %._crit_edge, label %7
}
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/tmpnf8f6qqv.c'
source_filename = "/tmp/tmpnf8f6qqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ca_coulomb_force(ptr noundef %0, double noundef %1, double noundef %2, i32 noundef %3, double noundef %4, double noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca ptr, align 8
%15 = alloca double, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store double %1, ptr %9, align 8
store double %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store double %4, ptr %12, align 8
store double %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%21 = load double, ptr %9, align 8
%22 = load double, ptr %9, align 8
%23 = fmul double %21, %22
%24 = load double, ptr %10, align 8
%25 = fmul double %23, %24
%26 = load double, ptr %13, align 8
%27 = fmul double %25, %26
store double %27, ptr %15, align 8
store i32 0, ptr %19, align 4
br label %28
28: ; preds = %68, %7
%29 = load i32, ptr %19, align 4
%30 = load i32, ptr %11, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %71
32: ; preds = %28
%33 = load ptr, ptr %8, align 8
%34 = load i32, ptr %19, align 4
%35 = mul nsw i32 %34, 3
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double, ptr %33, i64 %36
store ptr %37, ptr %16, align 8
%38 = load ptr, ptr %14, align 8
%39 = load i32, ptr %19, align 4
%40 = mul nsw i32 %39, 3
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %38, i64 %41
store ptr %42, ptr %17, align 8
store i32 0, ptr %20, align 4
br label %43
43: ; preds = %64, %32
%44 = load i32, ptr %20, align 4
%45 = load i32, ptr %11, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %67
47: ; preds = %43
%48 = load i32, ptr %20, align 4
%49 = load i32, ptr %19, align 4
%50 = icmp eq i32 %48, %49
br i1 %50, label %51, label %52
51: ; preds = %47
br label %64
52: ; preds = %47
%53 = load ptr, ptr %8, align 8
%54 = load i32, ptr %20, align 4
%55 = mul nsw i32 %54, 3
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, ptr %53, i64 %56
store ptr %57, ptr %18, align 8
%58 = load ptr, ptr %16, align 8
%59 = load ptr, ptr %18, align 8
%60 = load double, ptr %15, align 8
%61 = load double, ptr %12, align 8
%62 = load ptr, ptr %17, align 8
%63 = call i32 @coulomb_force_one_pair(ptr noundef %58, ptr noundef %59, double noundef %60, double noundef %61, ptr noundef %62)
br label %64
64: ; preds = %52, %51
%65 = load i32, ptr %20, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %20, align 4
br label %43, !llvm.loop !6
67: ; preds = %43
br label %68
68: ; preds = %67
%69 = load i32, ptr %19, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %19, align 4
br label %28, !llvm.loop !8
71: ; preds = %28
ret void
}
declare i32 @coulomb_force_one_pair(ptr noundef, ptr noundef, double noundef, double 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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnf8f6qqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ca_coulomb_force(ptr noundef %0, double noundef %1, double noundef %2, i32 noundef %3, double noundef %4, double noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca ptr, align 8
%15 = alloca double, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store double %1, ptr %9, align 8
store double %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store double %4, ptr %12, align 8
store double %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%21 = load double, ptr %9, align 8
%22 = load double, ptr %9, align 8
%23 = fmul double %21, %22
%24 = load double, ptr %10, align 8
%25 = fmul double %23, %24
%26 = load double, ptr %13, align 8
%27 = fmul double %25, %26
store double %27, ptr %15, align 8
store i32 0, ptr %19, align 4
%28 = load i32, ptr %19, align 4
%29 = load i32, ptr %11, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph2, label %75
.lr.ph2: ; preds = %7
br label %31
31: ; preds = %.lr.ph2, %69
%32 = load ptr, ptr %8, align 8
%33 = load i32, ptr %19, align 4
%34 = mul nsw i32 %33, 3
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %32, i64 %35
store ptr %36, ptr %16, align 8
%37 = load ptr, ptr %14, align 8
%38 = load i32, ptr %19, align 4
%39 = mul nsw i32 %38, 3
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %37, i64 %40
store ptr %41, ptr %17, align 8
store i32 0, ptr %20, align 4
%42 = load i32, ptr %20, align 4
%43 = load i32, ptr %11, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %.lr.ph, label %68
.lr.ph: ; preds = %31
br label %45
45: ; preds = %.lr.ph, %62
%46 = load i32, ptr %20, align 4
%47 = load i32, ptr %19, align 4
%48 = icmp eq i32 %46, %47
br i1 %48, label %49, label %50
49: ; preds = %45
br label %62
50: ; preds = %45
%51 = load ptr, ptr %8, align 8
%52 = load i32, ptr %20, align 4
%53 = mul nsw i32 %52, 3
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %51, i64 %54
store ptr %55, ptr %18, align 8
%56 = load ptr, ptr %16, align 8
%57 = load ptr, ptr %18, align 8
%58 = load double, ptr %15, align 8
%59 = load double, ptr %12, align 8
%60 = load ptr, ptr %17, align 8
%61 = call i32 @coulomb_force_one_pair(ptr noundef %56, ptr noundef %57, double noundef %58, double noundef %59, ptr noundef %60)
br label %62
62: ; preds = %50, %49
%63 = load i32, ptr %20, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %20, align 4
%65 = load i32, ptr %20, align 4
%66 = load i32, ptr %11, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %31
br label %69
69: ; preds = %68
%70 = load i32, ptr %19, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %19, align 4
%72 = load i32, ptr %19, align 4
%73 = load i32, ptr %11, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %69
br label %75
75: ; preds = %._crit_edge3, %7
ret void
}
declare i32 @coulomb_force_one_pair(ptr noundef, ptr noundef, double noundef, double 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}
|
; ModuleID = '/tmp/tmp3s3rfh7q.c'
source_filename = "/tmp/tmp3s3rfh7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Informe o primeiro coeficiente: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Informe o segundo coeficiente: \00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"Informe o terceiro coeficiente: \00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Raizes: %.2f e %.2f\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Sem solucao!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%13 = load float, ptr %4, align 4
%14 = load float, ptr %5, align 4
%15 = load float, ptr %6, align 4
%16 = call i64 @bhaskara(float noundef %13, float noundef %14, float noundef %15, ptr noundef %2, ptr noundef %3)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %0
%19 = load float, ptr %2, align 4
%20 = fpext float %19 to double
%21 = load float, ptr %3, align 4
%22 = fpext float %21 to double
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %20, double noundef %22)
br label %26
24: ; preds = %0
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %26
26: ; preds = %24, %18
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @bhaskara(float noundef, float noundef, float 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/tmp3s3rfh7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Informe o primeiro coeficiente: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Informe o segundo coeficiente: \00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"Informe o terceiro coeficiente: \00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Raizes: %.2f e %.2f\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Sem solucao!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%13 = load float, ptr %4, align 4
%14 = load float, ptr %5, align 4
%15 = load float, ptr %6, align 4
%16 = call i64 @bhaskara(float noundef %13, float noundef %14, float noundef %15, ptr noundef %2, ptr noundef %3)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %0
%19 = load float, ptr %2, align 4
%20 = fpext float %19 to double
%21 = load float, ptr %3, align 4
%22 = fpext float %21 to double
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %20, double noundef %22)
br label %26
24: ; preds = %0
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %26
26: ; preds = %24, %18
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @bhaskara(float noundef, float noundef, float 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/tmpxigpczxi.c'
source_filename = "/tmp/tmpxigpczxi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@gcd.aesl_llvm_cbe_1_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_2_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_3_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_4_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_5_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_6_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_7_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_8_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_9_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_10_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_11_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_12_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_13_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_14_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_15_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_16_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_17_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_18_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_19_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_20_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_21_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_22_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_23_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_24_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_25_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_26_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_27_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_28_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_29_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_30_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_31_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_32_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_33_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_34_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe__2e_be_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_35_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe__2e_be1_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_36_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_37_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_38_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe__2e_lcssa_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_39_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_40_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_41_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_42_count = internal global i64 0, align 8
@.str = private unnamed_addr constant [12 x i8] c"DEBUG_TRACE\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"\0A{ BEGIN @gcd\0A\00", align 1
@.str.2 = private unnamed_addr constant [89 x i8] c"\0A %%2 = phi i16 [ %%.be1, %%.lr.ph ], [ %%a, %%0 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"\0A = 0x%X\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"\0A.be1 = 0x%X\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"\0Aa = 0x%X\00", align 1
@.str.6 = private unnamed_addr constant [88 x i8] c"\0A %%3 = phi i16 [ %%.be, %%.lr.ph ], [ %%b, %%0 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"\0A.be = 0x%X\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"\0Ab = 0x%X\00", align 1
@.str.9 = private unnamed_addr constant [73 x i8] c"\0A %%5 = sub i16 %%3, %%2, !dbg !3 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"\0A = 0x%X\0A\00", align 1
@.str.11 = private unnamed_addr constant [73 x i8] c"\0A %%6 = sub i16 %%2, %%3, !dbg !3 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.12 = private unnamed_addr constant [90 x i8] c"\0A %%.be = select i1 %%4, i16 %%3, i16 %%5, !dbg !3 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.13 = private unnamed_addr constant [13 x i8] c"\0A.be = 0x%X\0A\00", align 1
@.str.14 = private unnamed_addr constant [91 x i8] c"\0A %%.be1 = select i1 %%4, i16 %%6, i16 %%2, !dbg !3 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.15 = private unnamed_addr constant [14 x i8] c"\0A.be1 = 0x%X\0A\00", align 1
@.str.16 = private unnamed_addr constant [93 x i8] c"\0A %%.lcssa = phi i16 [ %%a, %%0 ], [ %%.be, %%.lr.ph for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.17 = private unnamed_addr constant [15 x i8] c"\0A.lcssa = 0x%X\00", align 1
@.str.18 = private unnamed_addr constant [94 x i8] c"\0A store i16 %%.lcssa, i16* %%pResult, align 2, !dbg !4 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.19 = private unnamed_addr constant [16 x i8] c"\0A.lcssa = 0x%X\0A\00", align 1
@.str.20 = private unnamed_addr constant [12 x i8] c"\0AEND @gcd}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gcd(i16 noundef signext %0, i16 noundef signext %1, ptr noundef %2) #0 {
%4 = alloca i16, align 2
%5 = alloca i16, align 2
%6 = alloca ptr, align 8
%7 = alloca i16, align 2
%8 = alloca i16, align 2
%9 = alloca i16, align 2
%10 = alloca i16, align 2
%11 = alloca i16, align 2
%12 = alloca i16, align 2
%13 = alloca i16, align 2
%14 = alloca i16, align 2
%15 = alloca i16, align 2
%16 = alloca i16, align 2
%17 = alloca ptr, align 8
store i16 %0, ptr %4, align 2
store i16 %1, ptr %5, align 2
store ptr %2, ptr %6, align 8
%18 = call ptr @getenv(ptr noundef @.str)
store ptr %18, ptr %17, align 8
%19 = load ptr, ptr %17, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %23
21: ; preds = %3
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %23
23: ; preds = %21, %3
%24 = load i16, ptr %4, align 2
%25 = sext i16 %24 to i32
%26 = and i32 %25, 65535
%27 = load i16, ptr %5, align 2
%28 = sext i16 %27 to i32
%29 = and i32 %28, 65535
%30 = icmp eq i32 %26, %29
br i1 %30, label %31, label %33
31: ; preds = %23
%32 = load i16, ptr %4, align 2
store i16 %32, ptr %16, align 2
br label %209
33: ; preds = %23
%34 = load i16, ptr %4, align 2
store i16 %34, ptr %8, align 2
%35 = load i16, ptr %5, align 2
store i16 %35, ptr %10, align 2
br label %38
36: ; No predecessors!
br label %37
37: ; preds = %207, %36
br label %38
38: ; preds = %204, %37, %33
%39 = load ptr, ptr %17, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %41, label %45
41: ; preds = %38
%42 = load i64, ptr @gcd.aesl_llvm_cbe_18_count, align 8
%43 = add i64 %42, 1
store i64 %43, ptr @gcd.aesl_llvm_cbe_18_count, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %43)
br label %45
45: ; preds = %41, %38
%46 = load i16, ptr %8, align 2
store i16 %46, ptr %7, align 2
%47 = load ptr, ptr %17, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %49, label %59
49: ; preds = %45
%50 = load i16, ptr %7, align 2
%51 = zext i16 %50 to i32
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %51)
%53 = load i16, ptr %14, align 2
%54 = zext i16 %53 to i32
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %54)
%56 = load i16, ptr %4, align 2
%57 = sext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %57)
br label %59
59: ; preds = %49, %45
%60 = load ptr, ptr %17, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %66
62: ; preds = %59
%63 = load i64, ptr @gcd.aesl_llvm_cbe_19_count, align 8
%64 = add i64 %63, 1
store i64 %64, ptr @gcd.aesl_llvm_cbe_19_count, align 8
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %64)
br label %66
66: ; preds = %62, %59
%67 = load i16, ptr %10, align 2
store i16 %67, ptr %9, align 2
%68 = load ptr, ptr %17, align 8
%69 = icmp ne ptr %68, null
br i1 %69, label %70, label %80
70: ; preds = %66
%71 = load i16, ptr %9, align 2
%72 = zext i16 %71 to i32
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %72)
%74 = load i16, ptr %13, align 2
%75 = zext i16 %74 to i32
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %75)
%77 = load i16, ptr %5, align 2
%78 = sext i16 %77 to i32
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %78)
br label %80
80: ; preds = %70, %66
%81 = load ptr, ptr %17, align 8
%82 = icmp ne ptr %81, null
br i1 %82, label %83, label %87
83: ; preds = %80
%84 = load i64, ptr @gcd.aesl_llvm_cbe_21_count, align 8
%85 = add i64 %84, 1
store i64 %85, ptr @gcd.aesl_llvm_cbe_21_count, align 8
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %85)
br label %87
87: ; preds = %83, %80
%88 = load i16, ptr %9, align 2
%89 = zext i16 %88 to i64
%90 = and i64 %89, 65535
%91 = trunc i64 %90 to i16
%92 = zext i16 %91 to i32
%93 = load i16, ptr %7, align 2
%94 = zext i16 %93 to i64
%95 = and i64 %94, 65535
%96 = trunc i64 %95 to i16
%97 = zext i16 %96 to i32
%98 = sub nsw i32 %92, %97
%99 = trunc i32 %98 to i16
store i16 %99, ptr %11, align 2
%100 = load ptr, ptr %17, align 8
%101 = icmp ne ptr %100, null
br i1 %101, label %102, label %109
102: ; preds = %87
%103 = load i16, ptr %11, align 2
%104 = zext i16 %103 to i64
%105 = and i64 %104, 65535
%106 = trunc i64 %105 to i16
%107 = zext i16 %106 to i32
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %107)
br label %109
109: ; preds = %102, %87
%110 = load ptr, ptr %17, align 8
%111 = icmp ne ptr %110, null
br i1 %111, label %112, label %116
112: ; preds = %109
%113 = load i64, ptr @gcd.aesl_llvm_cbe_27_count, align 8
%114 = add i64 %113, 1
store i64 %114, ptr @gcd.aesl_llvm_cbe_27_count, align 8
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i64 noundef %114)
br label %116
116: ; preds = %112, %109
%117 = load i16, ptr %7, align 2
%118 = zext i16 %117 to i64
%119 = and i64 %118, 65535
%120 = trunc i64 %119 to i16
%121 = zext i16 %120 to i32
%122 = load i16, ptr %9, align 2
%123 = zext i16 %122 to i64
%124 = and i64 %123, 65535
%125 = trunc i64 %124 to i16
%126 = zext i16 %125 to i32
%127 = sub nsw i32 %121, %126
%128 = trunc i32 %127 to i16
store i16 %128, ptr %12, align 2
%129 = load ptr, ptr %17, align 8
%130 = icmp ne ptr %129, null
br i1 %130, label %131, label %138
131: ; preds = %116
%132 = load i16, ptr %12, align 2
%133 = zext i16 %132 to i64
%134 = and i64 %133, 65535
%135 = trunc i64 %134 to i16
%136 = zext i16 %135 to i32
%137 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %136)
br label %138
138: ; preds = %131, %116
%139 = load ptr, ptr %17, align 8
%140 = icmp ne ptr %139, null
br i1 %140, label %141, label %145
141: ; preds = %138
%142 = load i64, ptr @gcd.aesl_llvm_cbe__2e_be_count, align 8
%143 = add i64 %142, 1
store i64 %143, ptr @gcd.aesl_llvm_cbe__2e_be_count, align 8
%144 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i64 noundef %143)
br label %145
145: ; preds = %141, %138
%146 = load i16, ptr %7, align 2
%147 = sext i16 %146 to i32
%148 = load i16, ptr %9, align 2
%149 = sext i16 %148 to i32
%150 = icmp sgt i32 %147, %149
br i1 %150, label %151, label %154
151: ; preds = %145
%152 = load i16, ptr %9, align 2
%153 = zext i16 %152 to i32
br label %157
154: ; preds = %145
%155 = load i16, ptr %11, align 2
%156 = zext i16 %155 to i32
br label %157
157: ; preds = %154, %151
%158 = phi i32 [ %153, %151 ], [ %156, %154 ]
%159 = trunc i32 %158 to i16
store i16 %159, ptr %13, align 2
%160 = load ptr, ptr %17, align 8
%161 = icmp ne ptr %160, null
br i1 %161, label %162, label %166
162: ; preds = %157
%163 = load i16, ptr %13, align 2
%164 = zext i16 %163 to i32
%165 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %164)
br label %166
166: ; preds = %162, %157
%167 = load ptr, ptr %17, align 8
%168 = icmp ne ptr %167, null
br i1 %168, label %169, label %173
169: ; preds = %166
%170 = load i64, ptr @gcd.aesl_llvm_cbe__2e_be1_count, align 8
%171 = add i64 %170, 1
store i64 %171, ptr @gcd.aesl_llvm_cbe__2e_be1_count, align 8
%172 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i64 noundef %171)
br label %173
173: ; preds = %169, %166
%174 = load i16, ptr %7, align 2
%175 = sext i16 %174 to i32
%176 = load i16, ptr %9, align 2
%177 = sext i16 %176 to i32
%178 = icmp sgt i32 %175, %177
br i1 %178, label %179, label %182
179: ; preds = %173
%180 = load i16, ptr %12, align 2
%181 = zext i16 %180 to i32
br label %185
182: ; preds = %173
%183 = load i16, ptr %7, align 2
%184 = zext i16 %183 to i32
br label %185
185: ; preds = %182, %179
%186 = phi i32 [ %181, %179 ], [ %184, %182 ]
%187 = trunc i32 %186 to i16
store i16 %187, ptr %14, align 2
%188 = load ptr, ptr %17, align 8
%189 = icmp ne ptr %188, null
br i1 %189, label %190, label %194
190: ; preds = %185
%191 = load i16, ptr %14, align 2
%192 = zext i16 %191 to i32
%193 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %192)
br label %194
194: ; preds = %190, %185
%195 = load i16, ptr %14, align 2
%196 = zext i16 %195 to i32
%197 = and i32 %196, 65535
%198 = load i16, ptr %13, align 2
%199 = zext i16 %198 to i32
%200 = and i32 %199, 65535
%201 = icmp eq i32 %197, %200
br i1 %201, label %202, label %204
202: ; preds = %194
%203 = load i16, ptr %13, align 2
store i16 %203, ptr %16, align 2
br label %209
204: ; preds = %194
%205 = load i16, ptr %14, align 2
store i16 %205, ptr %8, align 2
%206 = load i16, ptr %13, align 2
store i16 %206, ptr %10, align 2
br label %38
207: ; No predecessors!
br i1 true, label %37, label %208
208: ; preds = %207
br label %209
209: ; preds = %208, %202, %31
%210 = load ptr, ptr %17, align 8
%211 = icmp ne ptr %210, null
br i1 %211, label %212, label %216
212: ; preds = %209
%213 = load i64, ptr @gcd.aesl_llvm_cbe__2e_lcssa_count, align 8
%214 = add i64 %213, 1
store i64 %214, ptr @gcd.aesl_llvm_cbe__2e_lcssa_count, align 8
%215 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i64 noundef %214)
br label %216
216: ; preds = %212, %209
%217 = load i16, ptr %16, align 2
store i16 %217, ptr %15, align 2
%218 = load ptr, ptr %17, align 8
%219 = icmp ne ptr %218, null
br i1 %219, label %220, label %230
220: ; preds = %216
%221 = load i16, ptr %15, align 2
%222 = zext i16 %221 to i32
%223 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %222)
%224 = load i16, ptr %4, align 2
%225 = sext i16 %224 to i32
%226 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %225)
%227 = load i16, ptr %13, align 2
%228 = zext i16 %227 to i32
%229 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %228)
br label %230
230: ; preds = %220, %216
%231 = load ptr, ptr %17, align 8
%232 = icmp ne ptr %231, null
br i1 %232, label %233, label %237
233: ; preds = %230
%234 = load i64, ptr @gcd.aesl_llvm_cbe_41_count, align 8
%235 = add i64 %234, 1
store i64 %235, ptr @gcd.aesl_llvm_cbe_41_count, align 8
%236 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i64 noundef %235)
br label %237
237: ; preds = %233, %230
%238 = load i16, ptr %15, align 2
%239 = load ptr, ptr %6, align 8
store i16 %238, ptr %239, align 2
%240 = load ptr, ptr %17, align 8
%241 = icmp ne ptr %240, null
br i1 %241, label %242, label %246
242: ; preds = %237
%243 = load i16, ptr %15, align 2
%244 = zext i16 %243 to i32
%245 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %244)
br label %246
246: ; preds = %242, %237
%247 = load ptr, ptr %17, align 8
%248 = icmp ne ptr %247, null
br i1 %248, label %249, label %251
249: ; preds = %246
%250 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
br label %251
251: ; preds = %249, %246
ret void
}
declare ptr @getenv(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxigpczxi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@gcd.aesl_llvm_cbe_1_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_2_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_3_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_4_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_5_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_6_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_7_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_8_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_9_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_10_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_11_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_12_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_13_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_14_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_15_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_16_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_17_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_18_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_19_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_20_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_21_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_22_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_23_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_24_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_25_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_26_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_27_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_28_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_29_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_30_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_31_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_32_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_33_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_34_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe__2e_be_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_35_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe__2e_be1_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_36_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_37_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_38_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe__2e_lcssa_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_39_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_40_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_41_count = internal global i64 0, align 8
@gcd.aesl_llvm_cbe_42_count = internal global i64 0, align 8
@.str = private unnamed_addr constant [12 x i8] c"DEBUG_TRACE\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"\0A{ BEGIN @gcd\0A\00", align 1
@.str.2 = private unnamed_addr constant [89 x i8] c"\0A %%2 = phi i16 [ %%.be1, %%.lr.ph ], [ %%a, %%0 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"\0A = 0x%X\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"\0A.be1 = 0x%X\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"\0Aa = 0x%X\00", align 1
@.str.6 = private unnamed_addr constant [88 x i8] c"\0A %%3 = phi i16 [ %%.be, %%.lr.ph ], [ %%b, %%0 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"\0A.be = 0x%X\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"\0Ab = 0x%X\00", align 1
@.str.9 = private unnamed_addr constant [73 x i8] c"\0A %%5 = sub i16 %%3, %%2, !dbg !3 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"\0A = 0x%X\0A\00", align 1
@.str.11 = private unnamed_addr constant [73 x i8] c"\0A %%6 = sub i16 %%2, %%3, !dbg !3 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.12 = private unnamed_addr constant [90 x i8] c"\0A %%.be = select i1 %%4, i16 %%3, i16 %%5, !dbg !3 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.13 = private unnamed_addr constant [13 x i8] c"\0A.be = 0x%X\0A\00", align 1
@.str.14 = private unnamed_addr constant [91 x i8] c"\0A %%.be1 = select i1 %%4, i16 %%6, i16 %%2, !dbg !3 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.15 = private unnamed_addr constant [14 x i8] c"\0A.be1 = 0x%X\0A\00", align 1
@.str.16 = private unnamed_addr constant [93 x i8] c"\0A %%.lcssa = phi i16 [ %%a, %%0 ], [ %%.be, %%.lr.ph for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.17 = private unnamed_addr constant [15 x i8] c"\0A.lcssa = 0x%X\00", align 1
@.str.18 = private unnamed_addr constant [94 x i8] c"\0A store i16 %%.lcssa, i16* %%pResult, align 2, !dbg !4 for 0x%I64xth hint within @gcd --> \0A\00", align 1
@.str.19 = private unnamed_addr constant [16 x i8] c"\0A.lcssa = 0x%X\0A\00", align 1
@.str.20 = private unnamed_addr constant [12 x i8] c"\0AEND @gcd}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gcd(i16 noundef signext %0, i16 noundef signext %1, ptr noundef %2) #0 {
%4 = alloca i16, align 2
%5 = alloca i16, align 2
%6 = alloca ptr, align 8
%7 = alloca i16, align 2
%8 = alloca i16, align 2
%9 = alloca i16, align 2
%10 = alloca i16, align 2
%11 = alloca i16, align 2
%12 = alloca i16, align 2
%13 = alloca i16, align 2
%14 = alloca i16, align 2
%15 = alloca i16, align 2
%16 = alloca i16, align 2
%17 = alloca ptr, align 8
store i16 %0, ptr %4, align 2
store i16 %1, ptr %5, align 2
store ptr %2, ptr %6, align 8
%18 = call ptr @getenv(ptr noundef @.str)
store ptr %18, ptr %17, align 8
%19 = load ptr, ptr %17, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %23
21: ; preds = %3
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %23
23: ; preds = %21, %3
%24 = load i16, ptr %4, align 2
%25 = sext i16 %24 to i32
%26 = and i32 %25, 65535
%27 = load i16, ptr %5, align 2
%28 = sext i16 %27 to i32
%29 = and i32 %28, 65535
%30 = icmp eq i32 %26, %29
br i1 %30, label %31, label %33
31: ; preds = %23
%32 = load i16, ptr %4, align 2
store i16 %32, ptr %16, align 2
br label %209
33: ; preds = %23
%34 = load i16, ptr %4, align 2
store i16 %34, ptr %8, align 2
%35 = load i16, ptr %5, align 2
store i16 %35, ptr %10, align 2
br label %.preheader
36: ; No predecessors!
br label %37
37: ; preds = %207, %36
br label %.preheader
.preheader: ; preds = %33, %37
br label %38
38: ; preds = %.preheader, %204
%39 = load ptr, ptr %17, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %41, label %45
41: ; preds = %38
%42 = load i64, ptr @gcd.aesl_llvm_cbe_18_count, align 8
%43 = add i64 %42, 1
store i64 %43, ptr @gcd.aesl_llvm_cbe_18_count, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %43)
br label %45
45: ; preds = %41, %38
%46 = load i16, ptr %8, align 2
store i16 %46, ptr %7, align 2
%47 = load ptr, ptr %17, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %49, label %59
49: ; preds = %45
%50 = load i16, ptr %7, align 2
%51 = zext i16 %50 to i32
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %51)
%53 = load i16, ptr %14, align 2
%54 = zext i16 %53 to i32
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %54)
%56 = load i16, ptr %4, align 2
%57 = sext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %57)
br label %59
59: ; preds = %49, %45
%60 = load ptr, ptr %17, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %66
62: ; preds = %59
%63 = load i64, ptr @gcd.aesl_llvm_cbe_19_count, align 8
%64 = add i64 %63, 1
store i64 %64, ptr @gcd.aesl_llvm_cbe_19_count, align 8
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %64)
br label %66
66: ; preds = %62, %59
%67 = load i16, ptr %10, align 2
store i16 %67, ptr %9, align 2
%68 = load ptr, ptr %17, align 8
%69 = icmp ne ptr %68, null
br i1 %69, label %70, label %80
70: ; preds = %66
%71 = load i16, ptr %9, align 2
%72 = zext i16 %71 to i32
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %72)
%74 = load i16, ptr %13, align 2
%75 = zext i16 %74 to i32
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %75)
%77 = load i16, ptr %5, align 2
%78 = sext i16 %77 to i32
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %78)
br label %80
80: ; preds = %70, %66
%81 = load ptr, ptr %17, align 8
%82 = icmp ne ptr %81, null
br i1 %82, label %83, label %87
83: ; preds = %80
%84 = load i64, ptr @gcd.aesl_llvm_cbe_21_count, align 8
%85 = add i64 %84, 1
store i64 %85, ptr @gcd.aesl_llvm_cbe_21_count, align 8
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %85)
br label %87
87: ; preds = %83, %80
%88 = load i16, ptr %9, align 2
%89 = zext i16 %88 to i64
%90 = and i64 %89, 65535
%91 = trunc i64 %90 to i16
%92 = zext i16 %91 to i32
%93 = load i16, ptr %7, align 2
%94 = zext i16 %93 to i64
%95 = and i64 %94, 65535
%96 = trunc i64 %95 to i16
%97 = zext i16 %96 to i32
%98 = sub nsw i32 %92, %97
%99 = trunc i32 %98 to i16
store i16 %99, ptr %11, align 2
%100 = load ptr, ptr %17, align 8
%101 = icmp ne ptr %100, null
br i1 %101, label %102, label %109
102: ; preds = %87
%103 = load i16, ptr %11, align 2
%104 = zext i16 %103 to i64
%105 = and i64 %104, 65535
%106 = trunc i64 %105 to i16
%107 = zext i16 %106 to i32
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %107)
br label %109
109: ; preds = %102, %87
%110 = load ptr, ptr %17, align 8
%111 = icmp ne ptr %110, null
br i1 %111, label %112, label %116
112: ; preds = %109
%113 = load i64, ptr @gcd.aesl_llvm_cbe_27_count, align 8
%114 = add i64 %113, 1
store i64 %114, ptr @gcd.aesl_llvm_cbe_27_count, align 8
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i64 noundef %114)
br label %116
116: ; preds = %112, %109
%117 = load i16, ptr %7, align 2
%118 = zext i16 %117 to i64
%119 = and i64 %118, 65535
%120 = trunc i64 %119 to i16
%121 = zext i16 %120 to i32
%122 = load i16, ptr %9, align 2
%123 = zext i16 %122 to i64
%124 = and i64 %123, 65535
%125 = trunc i64 %124 to i16
%126 = zext i16 %125 to i32
%127 = sub nsw i32 %121, %126
%128 = trunc i32 %127 to i16
store i16 %128, ptr %12, align 2
%129 = load ptr, ptr %17, align 8
%130 = icmp ne ptr %129, null
br i1 %130, label %131, label %138
131: ; preds = %116
%132 = load i16, ptr %12, align 2
%133 = zext i16 %132 to i64
%134 = and i64 %133, 65535
%135 = trunc i64 %134 to i16
%136 = zext i16 %135 to i32
%137 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %136)
br label %138
138: ; preds = %131, %116
%139 = load ptr, ptr %17, align 8
%140 = icmp ne ptr %139, null
br i1 %140, label %141, label %145
141: ; preds = %138
%142 = load i64, ptr @gcd.aesl_llvm_cbe__2e_be_count, align 8
%143 = add i64 %142, 1
store i64 %143, ptr @gcd.aesl_llvm_cbe__2e_be_count, align 8
%144 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i64 noundef %143)
br label %145
145: ; preds = %141, %138
%146 = load i16, ptr %7, align 2
%147 = sext i16 %146 to i32
%148 = load i16, ptr %9, align 2
%149 = sext i16 %148 to i32
%150 = icmp sgt i32 %147, %149
br i1 %150, label %151, label %154
151: ; preds = %145
%152 = load i16, ptr %9, align 2
%153 = zext i16 %152 to i32
br label %157
154: ; preds = %145
%155 = load i16, ptr %11, align 2
%156 = zext i16 %155 to i32
br label %157
157: ; preds = %154, %151
%158 = phi i32 [ %153, %151 ], [ %156, %154 ]
%159 = trunc i32 %158 to i16
store i16 %159, ptr %13, align 2
%160 = load ptr, ptr %17, align 8
%161 = icmp ne ptr %160, null
br i1 %161, label %162, label %166
162: ; preds = %157
%163 = load i16, ptr %13, align 2
%164 = zext i16 %163 to i32
%165 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %164)
br label %166
166: ; preds = %162, %157
%167 = load ptr, ptr %17, align 8
%168 = icmp ne ptr %167, null
br i1 %168, label %169, label %173
169: ; preds = %166
%170 = load i64, ptr @gcd.aesl_llvm_cbe__2e_be1_count, align 8
%171 = add i64 %170, 1
store i64 %171, ptr @gcd.aesl_llvm_cbe__2e_be1_count, align 8
%172 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i64 noundef %171)
br label %173
173: ; preds = %169, %166
%174 = load i16, ptr %7, align 2
%175 = sext i16 %174 to i32
%176 = load i16, ptr %9, align 2
%177 = sext i16 %176 to i32
%178 = icmp sgt i32 %175, %177
br i1 %178, label %179, label %182
179: ; preds = %173
%180 = load i16, ptr %12, align 2
%181 = zext i16 %180 to i32
br label %185
182: ; preds = %173
%183 = load i16, ptr %7, align 2
%184 = zext i16 %183 to i32
br label %185
185: ; preds = %182, %179
%186 = phi i32 [ %181, %179 ], [ %184, %182 ]
%187 = trunc i32 %186 to i16
store i16 %187, ptr %14, align 2
%188 = load ptr, ptr %17, align 8
%189 = icmp ne ptr %188, null
br i1 %189, label %190, label %194
190: ; preds = %185
%191 = load i16, ptr %14, align 2
%192 = zext i16 %191 to i32
%193 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %192)
br label %194
194: ; preds = %190, %185
%195 = load i16, ptr %14, align 2
%196 = zext i16 %195 to i32
%197 = and i32 %196, 65535
%198 = load i16, ptr %13, align 2
%199 = zext i16 %198 to i32
%200 = and i32 %199, 65535
%201 = icmp eq i32 %197, %200
br i1 %201, label %202, label %204
202: ; preds = %194
%203 = load i16, ptr %13, align 2
store i16 %203, ptr %16, align 2
br label %209
204: ; preds = %194
%205 = load i16, ptr %14, align 2
store i16 %205, ptr %8, align 2
%206 = load i16, ptr %13, align 2
store i16 %206, ptr %10, align 2
br label %38
207: ; No predecessors!
br i1 true, label %37, label %208
208: ; preds = %207
br label %209
209: ; preds = %208, %202, %31
%210 = load ptr, ptr %17, align 8
%211 = icmp ne ptr %210, null
br i1 %211, label %212, label %216
212: ; preds = %209
%213 = load i64, ptr @gcd.aesl_llvm_cbe__2e_lcssa_count, align 8
%214 = add i64 %213, 1
store i64 %214, ptr @gcd.aesl_llvm_cbe__2e_lcssa_count, align 8
%215 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i64 noundef %214)
br label %216
216: ; preds = %212, %209
%217 = load i16, ptr %16, align 2
store i16 %217, ptr %15, align 2
%218 = load ptr, ptr %17, align 8
%219 = icmp ne ptr %218, null
br i1 %219, label %220, label %230
220: ; preds = %216
%221 = load i16, ptr %15, align 2
%222 = zext i16 %221 to i32
%223 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %222)
%224 = load i16, ptr %4, align 2
%225 = sext i16 %224 to i32
%226 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %225)
%227 = load i16, ptr %13, align 2
%228 = zext i16 %227 to i32
%229 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %228)
br label %230
230: ; preds = %220, %216
%231 = load ptr, ptr %17, align 8
%232 = icmp ne ptr %231, null
br i1 %232, label %233, label %237
233: ; preds = %230
%234 = load i64, ptr @gcd.aesl_llvm_cbe_41_count, align 8
%235 = add i64 %234, 1
store i64 %235, ptr @gcd.aesl_llvm_cbe_41_count, align 8
%236 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i64 noundef %235)
br label %237
237: ; preds = %233, %230
%238 = load i16, ptr %15, align 2
%239 = load ptr, ptr %6, align 8
store i16 %238, ptr %239, align 2
%240 = load ptr, ptr %17, align 8
%241 = icmp ne ptr %240, null
br i1 %241, label %242, label %246
242: ; preds = %237
%243 = load i16, ptr %15, align 2
%244 = zext i16 %243 to i32
%245 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %244)
br label %246
246: ; preds = %242, %237
%247 = load ptr, ptr %17, align 8
%248 = icmp ne ptr %247, null
br i1 %248, label %249, label %251
249: ; preds = %246
%250 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
br label %251
251: ; preds = %249, %246
ret void
}
declare ptr @getenv(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdh_opn_g.c'
source_filename = "/tmp/tmpdh_opn_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MS_NOATIME = dso_local global i32 0, align 4
@MS_NOEXEC = dso_local global i32 0, align 4
@MS_NOSUID = dso_local global i32 0, align 4
@MS_RDONLY = 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/tmpdh_opn_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MS_NOATIME = dso_local global i32 0, align 4
@MS_NOEXEC = dso_local global i32 0, align 4
@MS_NOSUID = dso_local global i32 0, align 4
@MS_RDONLY = 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/tmpydy8z1d6.c'
source_filename = "/tmp/tmpydy8z1d6.c"
target datalayout = "e-m:e-p270: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/tmpydy8z1d6.c"
target datalayout = "e-m:e-p270: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/tmp91ebhdnh.c'
source_filename = "/tmp/tmp91ebhdnh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crn_ifdown(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @crn_set_flag(ptr noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @crn_set_flag(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/tmp91ebhdnh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crn_ifdown(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @crn_set_flag(ptr noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @crn_set_flag(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/tmprlc9n0v_.c'
source_filename = "/tmp/tmprlc9n0v_.c"
target datalayout = "e-m:e-p270: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/tmprlc9n0v_.c"
target datalayout = "e-m:e-p270: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/tmpj74fkb9x.c'
source_filename = "/tmp/tmpj74fkb9x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0AVous etes en vie !\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"32\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gagneRouletteRusse(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 = call i32 @coloration(ptr noundef @.str, ptr noundef @.str.1)
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @systemePoints(i32 noundef %6, i32 noundef 0, i32 noundef %7)
ret void
}
declare i32 @coloration(ptr noundef, ptr noundef) #1
declare i32 @systemePoints(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/tmpj74fkb9x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"\0AVous etes en vie !\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"32\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gagneRouletteRusse(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 = call i32 @coloration(ptr noundef @.str, ptr noundef @.str.1)
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @systemePoints(i32 noundef %6, i32 noundef 0, i32 noundef %7)
ret void
}
declare i32 @coloration(ptr noundef, ptr noundef) #1
declare i32 @systemePoints(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/tmpvgb9h5mm.c'
source_filename = "/tmp/tmpvgb9h5mm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sizeof (char) = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"sizeof (short int) = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"sizeof (int) = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"sizeof (long int) = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"sizeof (long long int) = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"sizeof (float) = %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"sizeof (double) = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"sizeof (long double) = %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [29 x i8] c"sizeof (void *) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 1)
%3 = call i32 @printf(ptr noundef @.str.1, i32 noundef 2)
%4 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4)
%5 = call i32 @printf(ptr noundef @.str.3, i32 noundef 8)
%6 = call i32 @printf(ptr noundef @.str.4, i32 noundef 8)
%7 = call i32 @printf(ptr noundef @.str.5, i32 noundef 4)
%8 = call i32 @printf(ptr noundef @.str.6, i32 noundef 8)
%9 = call i32 @printf(ptr noundef @.str.7, i32 noundef 16)
%10 = call i32 @printf(ptr noundef @.str.8, i32 noundef 8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvgb9h5mm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sizeof (char) = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"sizeof (short int) = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"sizeof (int) = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"sizeof (long int) = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"sizeof (long long int) = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"sizeof (float) = %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [29 x i8] c"sizeof (double) = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"sizeof (long double) = %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [29 x i8] c"sizeof (void *) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 1)
%3 = call i32 @printf(ptr noundef @.str.1, i32 noundef 2)
%4 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4)
%5 = call i32 @printf(ptr noundef @.str.3, i32 noundef 8)
%6 = call i32 @printf(ptr noundef @.str.4, i32 noundef 8)
%7 = call i32 @printf(ptr noundef @.str.5, i32 noundef 4)
%8 = call i32 @printf(ptr noundef @.str.6, i32 noundef 8)
%9 = call i32 @printf(ptr noundef @.str.7, i32 noundef 16)
%10 = call i32 @printf(ptr noundef @.str.8, i32 noundef 8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfmnvt8cl.c'
source_filename = "/tmp/tmpfmnvt8cl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"typeof\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testmain() #0 {
%1 = call i32 @print(ptr noundef @.str)
%2 = call i32 (...) @test_basic()
%3 = call i32 (...) @test_array()
%4 = call i32 (...) @test_alt()
ret void
}
declare i32 @print(ptr noundef) #1
declare i32 @test_basic(...) #1
declare i32 @test_array(...) #1
declare i32 @test_alt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfmnvt8cl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"typeof\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testmain() #0 {
%1 = call i32 @print(ptr noundef @.str)
%2 = call i32 (...) @test_basic()
%3 = call i32 (...) @test_array()
%4 = call i32 (...) @test_alt()
ret void
}
declare i32 @print(ptr noundef) #1
declare i32 @test_basic(...) #1
declare i32 @test_array(...) #1
declare i32 @test_alt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyvv4r89j.c'
source_filename = "/tmp/tmpyvv4r89j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%20s(\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"glPopClientAttrib\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c");\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @trace_glPopClientAttrib() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%3 = call i32 (...) @glPopClientAttrib()
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @glPopClientAttrib(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyvv4r89j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%20s(\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"glPopClientAttrib\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c");\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @trace_glPopClientAttrib() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%3 = call i32 (...) @glPopClientAttrib()
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @glPopClientAttrib(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4sm7ziwt.c'
source_filename = "/tmp/tmp4sm7ziwt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eventloop() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %0, %9
%3 = call i32 (...) @handleevent()
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp sle i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr %1, align 4
%8 = call i32 @process_window_closure(i32 noundef %7)
br label %9
9: ; preds = %6, %2
br label %2
}
declare i32 @handleevent(...) #1
declare i32 @process_window_closure(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/tmp4sm7ziwt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eventloop() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %9, %0
%3 = call i32 (...) @handleevent()
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp sle i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr %1, align 4
%8 = call i32 @process_window_closure(i32 noundef %7)
br label %9
9: ; preds = %6, %2
br label %2
}
declare i32 @handleevent(...) #1
declare i32 @process_window_closure(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/tmp3n7xbrhm.c'
source_filename = "/tmp/tmp3n7xbrhm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @binary_fault_injection(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %49, %4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp ult i32 %13, %14
br i1 %15, label %16, label %52
16: ; preds = %12
store i32 0, ptr %10, align 4
br label %17
17: ; preds = %45, %16
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp ult i32 %18, %19
br i1 %20, label %21, label %48
21: ; preds = %17
%22 = call i64 (...) @rand()
%23 = sitofp i64 %22 to double
%24 = load double, ptr @RAND_MAX, align 8
%25 = fdiv double %23, %24
store double %25, ptr %11, align 8
%26 = load double, ptr %11, align 8
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %10, align 4
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %27, i64 %29
%31 = load double, ptr %30, align 8
%32 = fcmp ogt double %26, %31
br i1 %32, label %33, label %34
33: ; preds = %21
br label %44
34: ; preds = %21
%35 = load i32, ptr %10, align 4
%36 = zext i32 %35 to i64
%37 = shl i64 1, %36
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %9, align 4
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i64, ptr %41, align 8
%43 = xor i64 %42, %37
store i64 %43, ptr %41, align 8
br label %44
44: ; preds = %34, %33
br label %45
45: ; preds = %44
%46 = load i32, ptr %10, align 4
%47 = add i32 %46, 1
store i32 %47, ptr %10, align 4
br label %17, !llvm.loop !6
48: ; preds = %17
br label %49
49: ; preds = %48
%50 = load i32, ptr %9, align 4
%51 = add i32 %50, 1
store i32 %51, ptr %9, align 4
br label %12, !llvm.loop !8
52: ; preds = %12
ret i32 1
}
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3n7xbrhm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @binary_fault_injection(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp ult i32 %12, %13
br i1 %14, label %.lr.ph2, label %56
.lr.ph2: ; preds = %4
br label %15
15: ; preds = %.lr.ph2, %50
store i32 0, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp ult i32 %16, %17
br i1 %18, label %.lr.ph, label %49
.lr.ph: ; preds = %15
br label %19
19: ; preds = %.lr.ph, %43
%20 = call i64 (...) @rand()
%21 = sitofp i64 %20 to double
%22 = load double, ptr @RAND_MAX, align 8
%23 = fdiv double %21, %22
store double %23, ptr %11, align 8
%24 = load double, ptr %11, align 8
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %10, align 4
%27 = zext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %25, i64 %27
%29 = load double, ptr %28, align 8
%30 = fcmp ogt double %24, %29
br i1 %30, label %31, label %32
31: ; preds = %19
br label %42
32: ; preds = %19
%33 = load i32, ptr %10, align 4
%34 = zext i32 %33 to i64
%35 = shl i64 1, %34
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %9, align 4
%38 = zext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i64, ptr %39, align 8
%41 = xor i64 %40, %35
store i64 %41, ptr %39, align 8
br label %42
42: ; preds = %32, %31
br label %43
43: ; preds = %42
%44 = load i32, ptr %10, align 4
%45 = add i32 %44, 1
store i32 %45, ptr %10, align 4
%46 = load i32, ptr %10, align 4
%47 = load i32, ptr %7, align 4
%48 = icmp ult i32 %46, %47
br i1 %48, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %49
49: ; preds = %._crit_edge, %15
br label %50
50: ; preds = %49
%51 = load i32, ptr %9, align 4
%52 = add i32 %51, 1
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp ult i32 %53, %54
br i1 %55, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %56
56: ; preds = %._crit_edge3, %4
ret i32 1
}
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpepyw2nnd.c'
source_filename = "/tmp/tmpepyw2nnd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Type in your number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"The absolute value is %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 0, %8
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %7, %0
%11 = load i32, ptr %2, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpepyw2nnd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Type in your number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"The absolute value is %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 0, %8
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %7, %0
%11 = load i32, ptr %2, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo2o_w9hf.c'
source_filename = "/tmp/tmpo2o_w9hf.c"
target datalayout = "e-m:e-p270: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/tmpo2o_w9hf.c"
target datalayout = "e-m:e-p270: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/tmpt0utsthx.c'
source_filename = "/tmp/tmpt0utsthx.c"
target datalayout = "e-m:e-p270: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/tmpt0utsthx.c"
target datalayout = "e-m:e-p270: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/tmpgim6ux9m.c'
source_filename = "/tmp/tmpgim6ux9m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0x1a\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0x1a() #0 {
%1 = call i64 @isdigit(i32 noundef 26)
%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 135, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgim6ux9m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0x1a\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0x1a() #0 {
%1 = call i64 @isdigit(i32 noundef 26)
%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 135, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr_0g3ay5.c'
source_filename = "/tmp/tmpr_0g3ay5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @GetRandomDouble() #0 {
%1 = alloca double, align 8
%2 = call i32 (...) @rand()
%3 = srem i32 %2, 1000
%4 = sitofp i32 %3 to double
store double %4, ptr %1, align 8
%5 = load double, ptr %1, align 8
%6 = fdiv double %5, 1.000000e+06
ret double %6
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr_0g3ay5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @GetRandomDouble() #0 {
%1 = alloca double, align 8
%2 = call i32 (...) @rand()
%3 = srem i32 %2, 1000
%4 = sitofp i32 %3 to double
store double %4, ptr %1, align 8
%5 = load double, ptr %1, align 8
%6 = fdiv double %5, 1.000000e+06
ret double %6
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjm2n6g0n.c'
source_filename = "/tmp/tmpjm2n6g0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello World !\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @initscr()
%3 = call i32 @printw(ptr noundef @.str)
%4 = call i32 (...) @refresh()
%5 = call i32 (...) @getch()
%6 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @initscr(...) #1
declare i32 @printw(ptr noundef) #1
declare i32 @refresh(...) #1
declare i32 @getch(...) #1
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjm2n6g0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello World !\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @initscr()
%3 = call i32 @printw(ptr noundef @.str)
%4 = call i32 (...) @refresh()
%5 = call i32 (...) @getch()
%6 = call i32 (...) @endwin()
ret i32 0
}
declare i32 @initscr(...) #1
declare i32 @printw(ptr noundef) #1
declare i32 @refresh(...) #1
declare i32 @getch(...) #1
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp649lhxzm.c'
source_filename = "/tmp/tmp649lhxzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"-----------Limits Header-----------\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"CHAR_BIT : %d\0A\00", align 1
@CHAR_BIT = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"CHAR_MAX : %d\0A\00", align 1
@CHAR_MAX = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [20 x i8] c"CHAR_MIN : %d\0A\00", align 1
@CHAR_MIN = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [20 x i8] c"INT_MAX : %d\0A\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [20 x i8] c"INT_MIN : %d\0A\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [21 x i8] c"LONG_MAX : %ld\0A\00", align 1
@LONG_MAX = dso_local global i64 0, align 8
@.str.7 = private unnamed_addr constant [21 x i8] c"LONG_MIN : %ld\0A\00", align 1
@LONG_MIN = dso_local global i64 0, align 8
@.str.8 = private unnamed_addr constant [20 x i8] c"SCHAR_MAX : %d\0A\00", align 1
@SCHAR_MAX = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [20 x i8] c"SCHAR_MIN : %d\0A\00", align 1
@SCHAR_MIN = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [20 x i8] c"SHRT_MAX : %d\0A\00", align 1
@SHRT_MAX = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [20 x i8] c"SHRT_MIN : %d\0A\00", align 1
@SHRT_MIN = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [20 x i8] c"UCHAR_MAX : %d\0A\00", align 1
@UCHAR_MAX = dso_local global i32 0, align 4
@.str.13 = private unnamed_addr constant [20 x i8] c"UINT_MAX : %u\0A\00", align 1
@UINT_MAX = dso_local global i64 0, align 8
@.str.14 = private unnamed_addr constant [21 x i8] c"ULONG_MAX : %lu\0A\00", align 1
@ULONG_MAX = dso_local global i64 0, align 8
@.str.15 = private unnamed_addr constant [20 x i8] c"USHRT_MAX : %d\0A\00", align 1
@USHRT_MAX = dso_local global i64 0, align 8
@.str.16 = private unnamed_addr constant [20 x i8] c"FLT_MAX : %g\0A\00", align 1
@FLT_MAX = dso_local global i64 0, align 8
@.str.17 = private unnamed_addr constant [20 x i8] c"-FLT_MAX : %g\0A\00", align 1
@.str.18 = private unnamed_addr constant [20 x i8] c"FLT_MIN : %g\0A\00", align 1
@FLT_MIN = dso_local global i64 0, align 8
@.str.19 = private unnamed_addr constant [20 x i8] c"-FLT_MIN : %g\0A\00", align 1
@.str.20 = private unnamed_addr constant [20 x i8] c"DBL_MAX : %g\0A\00", align 1
@DBL_MAX = dso_local global i64 0, align 8
@.str.21 = private unnamed_addr constant [20 x i8] c"-DBL_MAX : %g\0A\00", align 1
@.str.22 = private unnamed_addr constant [20 x i8] c"DBL_MIN : %g\0A\00", align 1
@DBL_MIN = dso_local global i64 0, align 8
@.str.23 = private unnamed_addr constant [20 x i8] c"-DBL_MIN : %g\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load i32, ptr @CHAR_BIT, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
%9 = load i32, ptr @CHAR_MAX, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9)
%11 = load i32, ptr @CHAR_MIN, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11)
%13 = load i32, ptr @INT_MAX, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %13)
%15 = load i32, ptr @INT_MIN, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %15)
%17 = load i64, ptr @LONG_MAX, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %17)
%19 = load i64, ptr @LONG_MIN, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %19)
%21 = load i32, ptr @SCHAR_MAX, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %21)
%23 = load i32, ptr @SCHAR_MIN, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %23)
%25 = load i32, ptr @SHRT_MAX, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %25)
%27 = load i32, ptr @SHRT_MIN, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %27)
%29 = load i32, ptr @UCHAR_MAX, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %29)
%31 = load i64, ptr @UINT_MAX, align 8
%32 = trunc i64 %31 to i32
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %32)
%34 = load i64, ptr @ULONG_MAX, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i64 noundef %34)
%36 = load i64, ptr @USHRT_MAX, align 8
%37 = trunc i64 %36 to i16
%38 = zext i16 %37 to i32
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %38)
%40 = load i64, ptr @FLT_MAX, align 8
%41 = sitofp i64 %40 to float
%42 = fpext float %41 to double
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %42)
%44 = load i64, ptr @FLT_MAX, align 8
%45 = sub nsw i64 0, %44
%46 = sitofp i64 %45 to float
%47 = fpext float %46 to double
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, double noundef %47)
%49 = load i64, ptr @FLT_MIN, align 8
%50 = sitofp i64 %49 to float
%51 = fpext float %50 to double
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef %51)
%53 = load i64, ptr @FLT_MIN, align 8
%54 = sub nsw i64 0, %53
%55 = sitofp i64 %54 to float
%56 = fpext float %55 to double
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, double noundef %56)
%58 = load i64, ptr @DBL_MAX, align 8
%59 = sitofp i64 %58 to double
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, double noundef %59)
%61 = load i64, ptr @DBL_MAX, align 8
%62 = sub nsw i64 0, %61
%63 = sitofp i64 %62 to double
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, double noundef %63)
%65 = load i64, ptr @DBL_MIN, align 8
%66 = sitofp i64 %65 to double
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, double noundef %66)
%68 = load i64, ptr @DBL_MIN, align 8
%69 = sub nsw i64 0, %68
%70 = sitofp i64 %69 to double
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, double noundef %70)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp649lhxzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"-----------Limits Header-----------\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"CHAR_BIT : %d\0A\00", align 1
@CHAR_BIT = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"CHAR_MAX : %d\0A\00", align 1
@CHAR_MAX = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [20 x i8] c"CHAR_MIN : %d\0A\00", align 1
@CHAR_MIN = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [20 x i8] c"INT_MAX : %d\0A\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [20 x i8] c"INT_MIN : %d\0A\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [21 x i8] c"LONG_MAX : %ld\0A\00", align 1
@LONG_MAX = dso_local global i64 0, align 8
@.str.7 = private unnamed_addr constant [21 x i8] c"LONG_MIN : %ld\0A\00", align 1
@LONG_MIN = dso_local global i64 0, align 8
@.str.8 = private unnamed_addr constant [20 x i8] c"SCHAR_MAX : %d\0A\00", align 1
@SCHAR_MAX = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [20 x i8] c"SCHAR_MIN : %d\0A\00", align 1
@SCHAR_MIN = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [20 x i8] c"SHRT_MAX : %d\0A\00", align 1
@SHRT_MAX = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [20 x i8] c"SHRT_MIN : %d\0A\00", align 1
@SHRT_MIN = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [20 x i8] c"UCHAR_MAX : %d\0A\00", align 1
@UCHAR_MAX = dso_local global i32 0, align 4
@.str.13 = private unnamed_addr constant [20 x i8] c"UINT_MAX : %u\0A\00", align 1
@UINT_MAX = dso_local global i64 0, align 8
@.str.14 = private unnamed_addr constant [21 x i8] c"ULONG_MAX : %lu\0A\00", align 1
@ULONG_MAX = dso_local global i64 0, align 8
@.str.15 = private unnamed_addr constant [20 x i8] c"USHRT_MAX : %d\0A\00", align 1
@USHRT_MAX = dso_local global i64 0, align 8
@.str.16 = private unnamed_addr constant [20 x i8] c"FLT_MAX : %g\0A\00", align 1
@FLT_MAX = dso_local global i64 0, align 8
@.str.17 = private unnamed_addr constant [20 x i8] c"-FLT_MAX : %g\0A\00", align 1
@.str.18 = private unnamed_addr constant [20 x i8] c"FLT_MIN : %g\0A\00", align 1
@FLT_MIN = dso_local global i64 0, align 8
@.str.19 = private unnamed_addr constant [20 x i8] c"-FLT_MIN : %g\0A\00", align 1
@.str.20 = private unnamed_addr constant [20 x i8] c"DBL_MAX : %g\0A\00", align 1
@DBL_MAX = dso_local global i64 0, align 8
@.str.21 = private unnamed_addr constant [20 x i8] c"-DBL_MAX : %g\0A\00", align 1
@.str.22 = private unnamed_addr constant [20 x i8] c"DBL_MIN : %g\0A\00", align 1
@DBL_MIN = dso_local global i64 0, align 8
@.str.23 = private unnamed_addr constant [20 x i8] c"-DBL_MIN : %g\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = load i32, ptr @CHAR_BIT, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
%9 = load i32, ptr @CHAR_MAX, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9)
%11 = load i32, ptr @CHAR_MIN, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11)
%13 = load i32, ptr @INT_MAX, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %13)
%15 = load i32, ptr @INT_MIN, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %15)
%17 = load i64, ptr @LONG_MAX, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %17)
%19 = load i64, ptr @LONG_MIN, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %19)
%21 = load i32, ptr @SCHAR_MAX, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %21)
%23 = load i32, ptr @SCHAR_MIN, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %23)
%25 = load i32, ptr @SHRT_MAX, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %25)
%27 = load i32, ptr @SHRT_MIN, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %27)
%29 = load i32, ptr @UCHAR_MAX, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %29)
%31 = load i64, ptr @UINT_MAX, align 8
%32 = trunc i64 %31 to i32
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %32)
%34 = load i64, ptr @ULONG_MAX, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i64 noundef %34)
%36 = load i64, ptr @USHRT_MAX, align 8
%37 = trunc i64 %36 to i16
%38 = zext i16 %37 to i32
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %38)
%40 = load i64, ptr @FLT_MAX, align 8
%41 = sitofp i64 %40 to float
%42 = fpext float %41 to double
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %42)
%44 = load i64, ptr @FLT_MAX, align 8
%45 = sub nsw i64 0, %44
%46 = sitofp i64 %45 to float
%47 = fpext float %46 to double
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, double noundef %47)
%49 = load i64, ptr @FLT_MIN, align 8
%50 = sitofp i64 %49 to float
%51 = fpext float %50 to double
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef %51)
%53 = load i64, ptr @FLT_MIN, align 8
%54 = sub nsw i64 0, %53
%55 = sitofp i64 %54 to float
%56 = fpext float %55 to double
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, double noundef %56)
%58 = load i64, ptr @DBL_MAX, align 8
%59 = sitofp i64 %58 to double
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, double noundef %59)
%61 = load i64, ptr @DBL_MAX, align 8
%62 = sub nsw i64 0, %61
%63 = sitofp i64 %62 to double
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, double noundef %63)
%65 = load i64, ptr @DBL_MIN, align 8
%66 = sitofp i64 %65 to double
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, double noundef %66)
%68 = load i64, ptr @DBL_MIN, align 8
%69 = sub nsw i64 0, %68
%70 = sitofp i64 %69 to double
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, double noundef %70)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwva9e4qu.c'
source_filename = "/tmp/tmpwva9e4qu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_sorted(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
br label %4
4: ; preds = %19, %1
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds ptr, ptr %5, i32 1
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %20
9: ; preds = %4
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i64 @my_strcmp(ptr noundef %12, ptr noundef %15)
%17 = icmp sgt i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %9
store i32 0, ptr %2, align 4
br label %21
19: ; preds = %9
br label %4, !llvm.loop !6
20: ; preds = %4
store i32 1, ptr %2, align 4
br label %21
21: ; preds = %20, %18
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i64 @my_strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwva9e4qu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_sorted(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = getelementptr inbounds ptr, ptr %4, i32 1
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %.lr.ph, label %23
.lr.ph: ; preds = %1
br label %13
8: ; preds = %13
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds ptr, ptr %9, i32 1
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %9, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %._crit_edge, !llvm.loop !6
13: ; preds = %.lr.ph, %8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i64 @my_strcmp(ptr noundef %16, ptr noundef %19)
%21 = icmp sgt i64 %20, 0
br i1 %21, label %22, label %8
22: ; preds = %13
store i32 0, ptr %2, align 4
br label %24
._crit_edge: ; preds = %8
br label %23
23: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %24
24: ; preds = %23, %22
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i64 @my_strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7uk9bqhc.c'
source_filename = "/tmp/tmp7uk9bqhc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @output_number_printf(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i8, align 1
%14 = alloca i64, align 8
%15 = alloca i8, align 1
%16 = alloca i64, align 8
%17 = alloca i8, align 1
%18 = alloca i64, align 8
%19 = alloca i8, align 1
%20 = alloca i64, align 8
%21 = alloca i8, align 1
%22 = alloca i64, align 8
%23 = alloca i8, align 1
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp uge i32 %24, %25
br i1 %26, label %27, label %40
27: ; preds = %5
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %8, align 4
%31 = udiv i32 %29, %30
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = sub nsw i32 %33, 1
%35 = load i32, ptr %10, align 4
%36 = call i32 @output_number_printf(i32 noundef %28, i32 noundef %31, i32 noundef %32, i32 noundef %34, i32 noundef %35)
store i32 %36, ptr %11, align 4
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %7, align 4
%39 = urem i32 %38, %37
store i32 %39, ptr %7, align 4
br label %40
40: ; preds = %27, %5
%41 = load i32, ptr %11, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %71
43: ; preds = %40
%44 = load i32, ptr %9, align 4
%45 = icmp sgt i32 %44, 0
br i1 %45, label %46, label %71
46: ; preds = %43
%47 = load i32, ptr %10, align 4
%48 = and i32 %47, 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %71, label %50
50: ; preds = %46
br label %51
51: ; preds = %69, %50
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %9, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %70
55: ; preds = %51
%56 = load i32, ptr %10, align 4
%57 = and i32 %56, 1
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %64
59: ; preds = %55
br label %60
60: ; preds = %59
store i8 48, ptr %13, align 1
%61 = load i32, ptr %6, align 4
%62 = call i32 @transmit(i32 noundef %61, ptr noundef %13, i32 noundef 1, ptr noundef %12)
br label %63
63: ; preds = %60
br label %69
64: ; preds = %55
br label %65
65: ; preds = %64
store i8 32, ptr %15, align 1
%66 = load i32, ptr %6, align 4
%67 = call i32 @transmit(i32 noundef %66, ptr noundef %15, i32 noundef 1, ptr noundef %14)
br label %68
68: ; preds = %65
br label %69
69: ; preds = %68, %63
br label %51, !llvm.loop !6
70: ; preds = %51
br label %71
71: ; preds = %70, %46, %43, %40
%72 = load i32, ptr %10, align 4
%73 = and i32 %72, 2
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %92
75: ; preds = %71
br label %76
76: ; preds = %75
%77 = load i32, ptr %7, align 4
%78 = icmp ult i32 %77, 10
br i1 %78, label %79, label %82
79: ; preds = %76
%80 = load i32, ptr %7, align 4
%81 = add i32 %80, 48
br label %86
82: ; preds = %76
%83 = load i32, ptr %7, align 4
%84 = sub i32 %83, 10
%85 = add i32 %84, 65
br label %86
86: ; preds = %82, %79
%87 = phi i32 [ %81, %79 ], [ %85, %82 ]
%88 = trunc i32 %87 to i8
store i8 %88, ptr %17, align 1
%89 = load i32, ptr %6, align 4
%90 = call i32 @transmit(i32 noundef %89, ptr noundef %17, i32 noundef 1, ptr noundef %16)
br label %91
91: ; preds = %86
br label %109
92: ; preds = %71
br label %93
93: ; preds = %92
%94 = load i32, ptr %7, align 4
%95 = icmp ult i32 %94, 10
br i1 %95, label %96, label %99
96: ; preds = %93
%97 = load i32, ptr %7, align 4
%98 = add i32 %97, 48
br label %103
99: ; preds = %93
%100 = load i32, ptr %7, align 4
%101 = sub i32 %100, 10
%102 = add i32 %101, 97
br label %103
103: ; preds = %99, %96
%104 = phi i32 [ %98, %96 ], [ %102, %99 ]
%105 = trunc i32 %104 to i8
store i8 %105, ptr %19, align 1
%106 = load i32, ptr %6, align 4
%107 = call i32 @transmit(i32 noundef %106, ptr noundef %19, i32 noundef 1, ptr noundef %18)
br label %108
108: ; preds = %103
br label %109
109: ; preds = %108, %91
%110 = load i32, ptr %11, align 4
%111 = icmp eq i32 %110, 0
br i1 %111, label %112, label %140
112: ; preds = %109
%113 = load i32, ptr %9, align 4
%114 = icmp sgt i32 %113, 0
br i1 %114, label %115, label %140
115: ; preds = %112
%116 = load i32, ptr %10, align 4
%117 = and i32 %116, 4
%118 = icmp ne i32 %117, 0
br i1 %118, label %119, label %140
119: ; preds = %115
br label %120
120: ; preds = %138, %119
%121 = load i32, ptr %9, align 4
%122 = add nsw i32 %121, -1
store i32 %122, ptr %9, align 4
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %139
124: ; preds = %120
%125 = load i32, ptr %10, align 4
%126 = and i32 %125, 1
%127 = icmp ne i32 %126, 0
br i1 %127, label %128, label %133
128: ; preds = %124
br label %129
129: ; preds = %128
store i8 48, ptr %21, align 1
%130 = load i32, ptr %6, align 4
%131 = call i32 @transmit(i32 noundef %130, ptr noundef %21, i32 noundef 1, ptr noundef %20)
br label %132
132: ; preds = %129
br label %138
133: ; preds = %124
br label %134
134: ; preds = %133
store i8 32, ptr %23, align 1
%135 = load i32, ptr %6, align 4
%136 = call i32 @transmit(i32 noundef %135, ptr noundef %23, i32 noundef 1, ptr noundef %22)
br label %137
137: ; preds = %134
br label %138
138: ; preds = %137, %132
br label %120, !llvm.loop !8
139: ; preds = %120
br label %140
140: ; preds = %139, %115, %112, %109
%141 = load i32, ptr %11, align 4
%142 = add nsw i32 %141, 1
ret i32 %142
}
declare i32 @transmit(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7uk9bqhc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @output_number_printf(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i8, align 1
%14 = alloca i64, align 8
%15 = alloca i8, align 1
%16 = alloca i64, align 8
%17 = alloca i8, align 1
%18 = alloca i64, align 8
%19 = alloca i8, align 1
%20 = alloca i64, align 8
%21 = alloca i8, align 1
%22 = alloca i64, align 8
%23 = alloca i8, align 1
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp uge i32 %24, %25
br i1 %26, label %27, label %40
27: ; preds = %5
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %8, align 4
%31 = udiv i32 %29, %30
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = sub nsw i32 %33, 1
%35 = load i32, ptr %10, align 4
%36 = call i32 @output_number_printf(i32 noundef %28, i32 noundef %31, i32 noundef %32, i32 noundef %34, i32 noundef %35)
store i32 %36, ptr %11, align 4
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %7, align 4
%39 = urem i32 %38, %37
store i32 %39, ptr %7, align 4
br label %40
40: ; preds = %27, %5
%41 = load i32, ptr %11, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %73
43: ; preds = %40
%44 = load i32, ptr %9, align 4
%45 = icmp sgt i32 %44, 0
br i1 %45, label %46, label %73
46: ; preds = %43
%47 = load i32, ptr %10, align 4
%48 = and i32 %47, 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %73, label %50
50: ; preds = %46
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %9, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %.lr.ph, label %72
.lr.ph: ; preds = %50
br label %54
54: ; preds = %.lr.ph, %68
%55 = load i32, ptr %10, align 4
%56 = and i32 %55, 1
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %63
58: ; preds = %54
br label %59
59: ; preds = %58
store i8 48, ptr %13, align 1
%60 = load i32, ptr %6, align 4
%61 = call i32 @transmit(i32 noundef %60, ptr noundef %13, i32 noundef 1, ptr noundef %12)
br label %62
62: ; preds = %59
br label %68
63: ; preds = %54
br label %64
64: ; preds = %63
store i8 32, ptr %15, align 1
%65 = load i32, ptr %6, align 4
%66 = call i32 @transmit(i32 noundef %65, ptr noundef %15, i32 noundef 1, ptr noundef %14)
br label %67
67: ; preds = %64
br label %68
68: ; preds = %67, %62
%69 = load i32, ptr %9, align 4
%70 = add nsw i32 %69, -1
store i32 %70, ptr %9, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %54, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %68
br label %72
72: ; preds = %._crit_edge, %50
br label %73
73: ; preds = %72, %46, %43, %40
%74 = load i32, ptr %10, align 4
%75 = and i32 %74, 2
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %94
77: ; preds = %73
br label %78
78: ; preds = %77
%79 = load i32, ptr %7, align 4
%80 = icmp ult i32 %79, 10
br i1 %80, label %81, label %84
81: ; preds = %78
%82 = load i32, ptr %7, align 4
%83 = add i32 %82, 48
br label %88
84: ; preds = %78
%85 = load i32, ptr %7, align 4
%86 = sub i32 %85, 10
%87 = add i32 %86, 65
br label %88
88: ; preds = %84, %81
%89 = phi i32 [ %83, %81 ], [ %87, %84 ]
%90 = trunc i32 %89 to i8
store i8 %90, ptr %17, align 1
%91 = load i32, ptr %6, align 4
%92 = call i32 @transmit(i32 noundef %91, ptr noundef %17, i32 noundef 1, ptr noundef %16)
br label %93
93: ; preds = %88
br label %111
94: ; preds = %73
br label %95
95: ; preds = %94
%96 = load i32, ptr %7, align 4
%97 = icmp ult i32 %96, 10
br i1 %97, label %98, label %101
98: ; preds = %95
%99 = load i32, ptr %7, align 4
%100 = add i32 %99, 48
br label %105
101: ; preds = %95
%102 = load i32, ptr %7, align 4
%103 = sub i32 %102, 10
%104 = add i32 %103, 97
br label %105
105: ; preds = %101, %98
%106 = phi i32 [ %100, %98 ], [ %104, %101 ]
%107 = trunc i32 %106 to i8
store i8 %107, ptr %19, align 1
%108 = load i32, ptr %6, align 4
%109 = call i32 @transmit(i32 noundef %108, ptr noundef %19, i32 noundef 1, ptr noundef %18)
br label %110
110: ; preds = %105
br label %111
111: ; preds = %110, %93
%112 = load i32, ptr %11, align 4
%113 = icmp eq i32 %112, 0
br i1 %113, label %114, label %144
114: ; preds = %111
%115 = load i32, ptr %9, align 4
%116 = icmp sgt i32 %115, 0
br i1 %116, label %117, label %144
117: ; preds = %114
%118 = load i32, ptr %10, align 4
%119 = and i32 %118, 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %144
121: ; preds = %117
%122 = load i32, ptr %9, align 4
%123 = add nsw i32 %122, -1
store i32 %123, ptr %9, align 4
%124 = icmp ne i32 %123, 0
br i1 %124, label %.lr.ph2, label %143
.lr.ph2: ; preds = %121
br label %125
125: ; preds = %.lr.ph2, %139
%126 = load i32, ptr %10, align 4
%127 = and i32 %126, 1
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %134
129: ; preds = %125
br label %130
130: ; preds = %129
store i8 48, ptr %21, align 1
%131 = load i32, ptr %6, align 4
%132 = call i32 @transmit(i32 noundef %131, ptr noundef %21, i32 noundef 1, ptr noundef %20)
br label %133
133: ; preds = %130
br label %139
134: ; preds = %125
br label %135
135: ; preds = %134
store i8 32, ptr %23, align 1
%136 = load i32, ptr %6, align 4
%137 = call i32 @transmit(i32 noundef %136, ptr noundef %23, i32 noundef 1, ptr noundef %22)
br label %138
138: ; preds = %135
br label %139
139: ; preds = %138, %133
%140 = load i32, ptr %9, align 4
%141 = add nsw i32 %140, -1
store i32 %141, ptr %9, align 4
%142 = icmp ne i32 %141, 0
br i1 %142, label %125, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %139
br label %143
143: ; preds = %._crit_edge3, %121
br label %144
144: ; preds = %143, %117, %114, %111
%145 = load i32, ptr %11, align 4
%146 = add nsw i32 %145, 1
ret i32 %146
}
declare i32 @transmit(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpwpivoti6.c'
source_filename = "/tmp/tmpwpivoti6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wl_rmmanydir() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 27, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %10, %0
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp ult i32 %4, %5
br i1 %6, label %7, label %13
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = call i32 @op_mkdir(i32 noundef %8)
br label %10
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = add i32 %11, 1
store i32 %12, ptr %2, align 4
br label %3, !llvm.loop !6
13: ; preds = %3
%14 = load i32, ptr %1, align 4
%15 = call i32 @writeemptyfile(i32 noundef %14)
%16 = call i32 (...) @op_sync()
store i32 0, ptr %2, align 4
br label %17
17: ; preds = %24, %13
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %1, align 4
%20 = icmp ult i32 %18, %19
br i1 %20, label %21, label %27
21: ; preds = %17
%22 = load i32, ptr %2, align 4
%23 = call i32 @op_rmdir(i32 noundef %22)
br label %24
24: ; preds = %21
%25 = load i32, ptr %2, align 4
%26 = add i32 %25, 1
store i32 %26, ptr %2, align 4
br label %17, !llvm.loop !8
27: ; preds = %17
ret void
}
declare i32 @op_mkdir(i32 noundef) #1
declare i32 @writeemptyfile(i32 noundef) #1
declare i32 @op_sync(...) #1
declare i32 @op_rmdir(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwpivoti6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wl_rmmanydir() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 27, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp ult i32 %3, %4
br i1 %5, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %9
%7 = load i32, ptr %2, align 4
%8 = call i32 @op_mkdir(i32 noundef %7)
br label %9
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = add i32 %10, 1
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %1, align 4
%14 = icmp ult i32 %12, %13
br i1 %14, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %15
15: ; preds = %._crit_edge, %0
%16 = load i32, ptr %1, align 4
%17 = call i32 @writeemptyfile(i32 noundef %16)
%18 = call i32 (...) @op_sync()
store i32 0, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %1, align 4
%21 = icmp ult i32 %19, %20
br i1 %21, label %.lr.ph2, label %31
.lr.ph2: ; preds = %15
br label %22
22: ; preds = %.lr.ph2, %25
%23 = load i32, ptr %2, align 4
%24 = call i32 @op_rmdir(i32 noundef %23)
br label %25
25: ; preds = %22
%26 = load i32, ptr %2, align 4
%27 = add i32 %26, 1
store i32 %27, ptr %2, align 4
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %1, align 4
%30 = icmp ult i32 %28, %29
br i1 %30, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %31
31: ; preds = %._crit_edge3, %15
ret void
}
declare i32 @op_mkdir(i32 noundef) #1
declare i32 @writeemptyfile(i32 noundef) #1
declare i32 @op_sync(...) #1
declare i32 @op_rmdir(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpu16dx01p.c'
source_filename = "/tmp/tmpu16dx01p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @morus_initialization(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = call i32 (...) @_mm_setzero_si128()
store i32 %9, ptr %8, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @_mm_load_si128(ptr noundef %10)
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 0
store i32 %11, ptr %13, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @_mm_load_si128(ptr noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 1
store i32 %15, ptr %17, align 4
%18 = call i32 @_mm_set_epi32(i32 noundef -1, i32 noundef -1, i32 noundef -1, i32 noundef -1)
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 2
store i32 %18, ptr %20, align 4
%21 = call i32 @_mm_set_epi8(i32 noundef 98, i32 noundef 121, i32 noundef 233, i32 noundef 144, i32 noundef 89, i32 noundef 55, i32 noundef 34, i32 noundef 21, i32 noundef 13, i32 noundef 8, i32 noundef 5, i32 noundef 3, i32 noundef 2, i32 noundef 1, i32 noundef 1, i32 noundef 0)
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 3
store i32 %21, ptr %23, align 4
%24 = call i32 @_mm_set_epi8(i32 noundef 221, i32 noundef 40, i32 noundef 181, i32 noundef 115, i32 noundef 66, i32 noundef 49, i32 noundef 17, i32 noundef 32, i32 noundef 241, i32 noundef 47, i32 noundef 194, i32 noundef 109, i32 noundef 85, i32 noundef 24, i32 noundef 61, i32 noundef 219)
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 4
store i32 %24, ptr %26, align 4
store i32 0, ptr %7, align 4
br label %27
27: ; preds = %34, %3
%28 = load i32, ptr %7, align 4
%29 = icmp slt i32 %28, 16
br i1 %29, label %30, label %37
30: ; preds = %27
%31 = load i32, ptr %8, align 4
%32 = load ptr, ptr %6, align 8
%33 = call i32 @morus_stateupdate(i32 noundef %31, ptr noundef %32)
br label %34
34: ; preds = %30
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
br label %27, !llvm.loop !6
37: ; preds = %27
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds i32, ptr %38, i64 1
%40 = load i32, ptr %39, align 4
%41 = load ptr, ptr %4, align 8
%42 = call i32 @_mm_load_si128(ptr noundef %41)
%43 = call i32 @_mm_xor_si128(i32 noundef %40, i32 noundef %42)
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds i32, ptr %44, i64 1
store i32 %43, ptr %45, align 4
ret void
}
declare i32 @_mm_setzero_si128(...) #1
declare i32 @_mm_load_si128(ptr noundef) #1
declare i32 @_mm_set_epi32(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @_mm_set_epi8(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @morus_stateupdate(i32 noundef, ptr noundef) #1
declare i32 @_mm_xor_si128(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu16dx01p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @morus_initialization(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = call i32 (...) @_mm_setzero_si128()
store i32 %9, ptr %8, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @_mm_load_si128(ptr noundef %10)
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 0
store i32 %11, ptr %13, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @_mm_load_si128(ptr noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 1
store i32 %15, ptr %17, align 4
%18 = call i32 @_mm_set_epi32(i32 noundef -1, i32 noundef -1, i32 noundef -1, i32 noundef -1)
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 2
store i32 %18, ptr %20, align 4
%21 = call i32 @_mm_set_epi8(i32 noundef 98, i32 noundef 121, i32 noundef 233, i32 noundef 144, i32 noundef 89, i32 noundef 55, i32 noundef 34, i32 noundef 21, i32 noundef 13, i32 noundef 8, i32 noundef 5, i32 noundef 3, i32 noundef 2, i32 noundef 1, i32 noundef 1, i32 noundef 0)
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 3
store i32 %21, ptr %23, align 4
%24 = call i32 @_mm_set_epi8(i32 noundef 221, i32 noundef 40, i32 noundef 181, i32 noundef 115, i32 noundef 66, i32 noundef 49, i32 noundef 17, i32 noundef 32, i32 noundef 241, i32 noundef 47, i32 noundef 194, i32 noundef 109, i32 noundef 85, i32 noundef 24, i32 noundef 61, i32 noundef 219)
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 4
store i32 %24, ptr %26, align 4
store i32 0, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %27, 16
br i1 %28, label %.lr.ph, label %38
.lr.ph: ; preds = %3
br label %29
29: ; preds = %.lr.ph, %33
%30 = load i32, ptr %8, align 4
%31 = load ptr, ptr %6, align 8
%32 = call i32 @morus_stateupdate(i32 noundef %30, ptr noundef %31)
br label %33
33: ; preds = %29
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp slt i32 %36, 16
br i1 %37, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %38
38: ; preds = %._crit_edge, %3
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds i32, ptr %39, i64 1
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %4, align 8
%43 = call i32 @_mm_load_si128(ptr noundef %42)
%44 = call i32 @_mm_xor_si128(i32 noundef %41, i32 noundef %43)
%45 = load ptr, ptr %6, align 8
%46 = getelementptr inbounds i32, ptr %45, i64 1
store i32 %44, ptr %46, align 4
ret void
}
declare i32 @_mm_setzero_si128(...) #1
declare i32 @_mm_load_si128(ptr noundef) #1
declare i32 @_mm_set_epi32(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @_mm_set_epi8(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @morus_stateupdate(i32 noundef, ptr noundef) #1
declare i32 @_mm_xor_si128(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjxz7tb5y.c'
source_filename = "/tmp/tmpjxz7tb5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @deserialize_u_int8_t(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 %4, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = load ptr, ptr %3, align 8
store i8 %7, ptr %8, align 1
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
ret ptr %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjxz7tb5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @deserialize_u_int8_t(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 %4, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = load ptr, ptr %3, align 8
store i8 %7, ptr %8, align 1
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
ret ptr %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaifbq5l1.c'
source_filename = "/tmp/tmpaifbq5l1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Unreachable!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo2() #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/tmpaifbq5l1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Unreachable!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo2() #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/tmp2soemzv5.c'
source_filename = "/tmp/tmp2soemzv5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"]\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"must be constant\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"negative size illegal\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @needsub() #0 {
%1 = alloca i32, align 4
%2 = alloca [1 x i32], align 4
%3 = call i64 @match(ptr noundef @.str)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %0
store i32 0, ptr %1, align 4
br label %27
6: ; preds = %0
%7 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%8 = call i32 @number(ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = call i32 @error(ptr noundef @.str.1)
%12 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
store i32 1, ptr %12, align 4
br label %13
13: ; preds = %10, %6
%14 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%15 = load i32, ptr %14, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %13
%18 = call i32 @error(ptr noundef @.str.2)
%19 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%20 = load i32, ptr %19, align 4
%21 = sub nsw i32 0, %20
%22 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
store i32 %21, ptr %22, align 4
br label %23
23: ; preds = %17, %13
%24 = call i32 @needbrack(ptr noundef @.str)
%25 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %1, align 4
br label %27
27: ; preds = %23, %5
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i64 @match(ptr noundef) #1
declare i32 @number(ptr noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @needbrack(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2soemzv5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"]\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"must be constant\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"negative size illegal\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @needsub() #0 {
%1 = alloca i32, align 4
%2 = alloca [1 x i32], align 4
%3 = call i64 @match(ptr noundef @.str)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %0
store i32 0, ptr %1, align 4
br label %27
6: ; preds = %0
%7 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%8 = call i32 @number(ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = call i32 @error(ptr noundef @.str.1)
%12 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
store i32 1, ptr %12, align 4
br label %13
13: ; preds = %10, %6
%14 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%15 = load i32, ptr %14, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %13
%18 = call i32 @error(ptr noundef @.str.2)
%19 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%20 = load i32, ptr %19, align 4
%21 = sub nsw i32 0, %20
%22 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
store i32 %21, ptr %22, align 4
br label %23
23: ; preds = %17, %13
%24 = call i32 @needbrack(ptr noundef @.str)
%25 = getelementptr inbounds [1 x i32], ptr %2, i64 0, i64 0
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %1, align 4
br label %27
27: ; preds = %23, %5
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i64 @match(ptr noundef) #1
declare i32 @number(ptr noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @needbrack(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzhj4rnu3.c'
source_filename = "/tmp/tmpzhj4rnu3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"a = 0 ?: 7; a == %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"b = 3 ?: 17; b == %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 7, ptr %2, align 4
store i32 3, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 7
br i1 %9, label %10, label %13
10: ; preds = %0
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 3
br label %13
13: ; preds = %10, %0
%14 = phi i1 [ false, %0 ], [ %12, %10 ]
%15 = zext i1 %14 to i64
%16 = select i1 %14, i32 0, i32 1
ret i32 %16
}
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/tmpzhj4rnu3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"a = 0 ?: 7; a == %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"b = 3 ?: 17; b == %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 7, ptr %2, align 4
store i32 3, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 7
br i1 %9, label %10, label %13
10: ; preds = %0
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 3
br label %13
13: ; preds = %10, %0
%14 = phi i1 [ false, %0 ], [ %12, %10 ]
%15 = zext i1 %14 to i64
%16 = select i1 %14, i32 0, i32 1
ret i32 %16
}
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/tmpurecsa8q.c'
source_filename = "/tmp/tmpurecsa8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Z_ERRNO\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"invalid compression level\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"invalid or incomplete deflate data\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"zlib version mismatch!\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"unk zlib error %i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @zlib_errstr(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
switch i32 %6, label %12 [
i32 131, label %7
i32 129, label %8
i32 132, label %9
i32 130, label %10
i32 128, label %11
]
7: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %24
8: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %24
9: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %24
10: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %24
11: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %24
12: ; preds = %1
%13 = load i32, ptr %3, align 4
%14 = call i64 @snprintf(ptr noundef null, i64 noundef 0, ptr noundef @.str.5, i32 noundef %13)
store i64 %14, ptr %4, align 8
%15 = load i64, ptr %4, align 8
%16 = add i64 %15, 1
%17 = call ptr @malloc(i64 noundef %16)
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %4, align 8
%20 = add i64 %19, 1
%21 = load i32, ptr %3, align 4
%22 = call i64 @snprintf(ptr noundef %18, i64 noundef %20, ptr noundef @.str.5, i32 noundef %21)
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %2, align 8
br label %24
24: ; preds = %12, %11, %10, %9, %8, %7
%25 = load ptr, ptr %2, align 8
ret ptr %25
}
declare i64 @snprintf(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1
declare ptr @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpurecsa8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Z_ERRNO\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"invalid compression level\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"invalid or incomplete deflate data\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"zlib version mismatch!\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"unk zlib error %i\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @zlib_errstr(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
switch i32 %6, label %12 [
i32 131, label %7
i32 129, label %8
i32 132, label %9
i32 130, label %10
i32 128, label %11
]
7: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %24
8: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %24
9: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %24
10: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %24
11: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %24
12: ; preds = %1
%13 = load i32, ptr %3, align 4
%14 = call i64 @snprintf(ptr noundef null, i64 noundef 0, ptr noundef @.str.5, i32 noundef %13)
store i64 %14, ptr %4, align 8
%15 = load i64, ptr %4, align 8
%16 = add i64 %15, 1
%17 = call ptr @malloc(i64 noundef %16)
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %4, align 8
%20 = add i64 %19, 1
%21 = load i32, ptr %3, align 4
%22 = call i64 @snprintf(ptr noundef %18, i64 noundef %20, ptr noundef @.str.5, i32 noundef %21)
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %2, align 8
br label %24
24: ; preds = %12, %11, %10, %9, %8, %7
%25 = load ptr, ptr %2, align 8
ret ptr %25
}
declare i64 @snprintf(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1
declare ptr @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplkqglfj9.c'
source_filename = "/tmp/tmplkqglfj9.c"
target datalayout = "e-m:e-p270: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/tmplkqglfj9.c"
target datalayout = "e-m:e-p270: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/tmpvov_7ruw.c'
source_filename = "/tmp/tmpvov_7ruw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @powtodb(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
%5 = load double, ptr %3, align 8
%6 = fcmp ole double %5, 0.000000e+00
br i1 %6, label %7, label %8
7: ; preds = %1
store double 0.000000e+00, ptr %2, align 8
br label %20
8: ; preds = %1
%9 = load double, ptr %3, align 8
%10 = call i32 @log(double noundef %9)
%11 = sitofp i32 %10 to double
%12 = call double @llvm.fmuladd.f64(double 0x40115F2CED384F8A, double %11, double 1.000000e+02)
store double %12, ptr %4, align 8
%13 = load double, ptr %4, align 8
%14 = fcmp olt double %13, 0.000000e+00
br i1 %14, label %15, label %16
15: ; preds = %8
br label %18
16: ; preds = %8
%17 = load double, ptr %4, align 8
br label %18
18: ; preds = %16, %15
%19 = phi double [ 0.000000e+00, %15 ], [ %17, %16 ]
store double %19, ptr %2, align 8
br label %20
20: ; preds = %18, %7
%21 = load double, ptr %2, align 8
ret double %21
}
declare i32 @log(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 = { "frame-pointer"="all" "no-trapping-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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvov_7ruw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @powtodb(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
%5 = load double, ptr %3, align 8
%6 = fcmp ole double %5, 0.000000e+00
br i1 %6, label %7, label %8
7: ; preds = %1
store double 0.000000e+00, ptr %2, align 8
br label %20
8: ; preds = %1
%9 = load double, ptr %3, align 8
%10 = call i32 @log(double noundef %9)
%11 = sitofp i32 %10 to double
%12 = call double @llvm.fmuladd.f64(double 0x40115F2CED384F8A, double %11, double 1.000000e+02)
store double %12, ptr %4, align 8
%13 = load double, ptr %4, align 8
%14 = fcmp olt double %13, 0.000000e+00
br i1 %14, label %15, label %16
15: ; preds = %8
br label %18
16: ; preds = %8
%17 = load double, ptr %4, align 8
br label %18
18: ; preds = %16, %15
%19 = phi double [ 0.000000e+00, %15 ], [ %17, %16 ]
store double %19, ptr %2, align 8
br label %20
20: ; preds = %18, %7
%21 = load double, ptr %2, align 8
ret double %21
}
declare i32 @log(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 = { "frame-pointer"="all" "no-trapping-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"}
|
; ModuleID = '/tmp/tmpl3fro65o.c'
source_filename = "/tmp/tmpl3fro65o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Enter base: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Enter exponent: \00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Result is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @x_to_the_n(i32 noundef %8, i32 noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @x_to_the_n(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/tmpl3fro65o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Enter base: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Enter exponent: \00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Result is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @x_to_the_n(i32 noundef %8, i32 noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @x_to_the_n(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/tmpqobvi8rk.c'
source_filename = "/tmp/tmpqobvi8rk.c"
target datalayout = "e-m:e-p270: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.sigaction = type { i64 }
@SIG_ERR = dso_local global i64 0, align 8
@NSIG = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@SIG_UNBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @sigset(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca %struct.sigaction, align 8
%7 = alloca %struct.sigaction, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr @SIG_ERR, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %19, label %12
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 1
br i1 %14, label %19, label %15
15: ; preds = %12
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr @NSIG, align 4
%18 = icmp sge i32 %16, %17
br i1 %18, label %19, label %23
19: ; preds = %15, %12, %2
%20 = load i32, ptr @EINVAL, align 4
%21 = call i32 @__set_errno(i32 noundef %20)
%22 = load i64, ptr @SIG_ERR, align 8
store i64 %22, ptr %3, align 8
br label %40
23: ; preds = %15
%24 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%25 = load i64, ptr %5, align 8
%26 = getelementptr inbounds %struct.sigaction, ptr %6, i32 0, i32 0
store i64 %25, ptr %26, align 8
%27 = load i32, ptr %4, align 4
%28 = call i64 @sigaction(i32 noundef %27, ptr noundef %6, ptr noundef %7)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %23
%31 = load i64, ptr @SIG_ERR, align 8
store i64 %31, ptr %3, align 8
br label %40
32: ; preds = %23
%33 = call i32 @__sigemptyset(ptr noundef %8)
%34 = load i32, ptr %4, align 4
%35 = call i32 @__sigaddset(ptr noundef %8, i32 noundef %34)
%36 = load i32, ptr @SIG_UNBLOCK, align 4
%37 = call i32 @sigprocmask(i32 noundef %36, ptr noundef %8, ptr noundef null)
%38 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 0
%39 = load i64, ptr %38, align 8
store i64 %39, ptr %3, align 8
br label %40
40: ; preds = %32, %30, %19
%41 = load i64, ptr %3, align 8
ret i64 %41
}
declare i32 @__set_errno(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @__sigemptyset(ptr noundef) #1
declare i32 @__sigaddset(ptr noundef, i32 noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqobvi8rk.c"
target datalayout = "e-m:e-p270: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.sigaction = type { i64 }
@SIG_ERR = dso_local global i64 0, align 8
@NSIG = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@SIG_UNBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @sigset(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca %struct.sigaction, align 8
%7 = alloca %struct.sigaction, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr @SIG_ERR, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %19, label %12
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 1
br i1 %14, label %19, label %15
15: ; preds = %12
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr @NSIG, align 4
%18 = icmp sge i32 %16, %17
br i1 %18, label %19, label %23
19: ; preds = %15, %12, %2
%20 = load i32, ptr @EINVAL, align 4
%21 = call i32 @__set_errno(i32 noundef %20)
%22 = load i64, ptr @SIG_ERR, align 8
store i64 %22, ptr %3, align 8
br label %40
23: ; preds = %15
%24 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%25 = load i64, ptr %5, align 8
%26 = getelementptr inbounds %struct.sigaction, ptr %6, i32 0, i32 0
store i64 %25, ptr %26, align 8
%27 = load i32, ptr %4, align 4
%28 = call i64 @sigaction(i32 noundef %27, ptr noundef %6, ptr noundef %7)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %23
%31 = load i64, ptr @SIG_ERR, align 8
store i64 %31, ptr %3, align 8
br label %40
32: ; preds = %23
%33 = call i32 @__sigemptyset(ptr noundef %8)
%34 = load i32, ptr %4, align 4
%35 = call i32 @__sigaddset(ptr noundef %8, i32 noundef %34)
%36 = load i32, ptr @SIG_UNBLOCK, align 4
%37 = call i32 @sigprocmask(i32 noundef %36, ptr noundef %8, ptr noundef null)
%38 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 0
%39 = load i64, ptr %38, align 8
store i64 %39, ptr %3, align 8
br label %40
40: ; preds = %32, %30, %19
%41 = load i64, ptr %3, align 8
ret i64 %41
}
declare i32 @__set_errno(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @__sigemptyset(ptr noundef) #1
declare i32 @__sigaddset(ptr noundef, i32 noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjgjkcahk.c'
source_filename = "/tmp/tmpjgjkcahk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Saisissez le nombre de generation souhaite : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nb_generation() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %5, %0
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
br label %5
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 1
br i1 %7, label %2, label %8, !llvm.loop !6
8: ; preds = %5
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjgjkcahk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Saisissez le nombre de generation souhaite : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @nb_generation() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %5, %0
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
br label %5
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 1
br i1 %7, label %2, label %8, !llvm.loop !6
8: ; preds = %5
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpltvhdkvq.c'
source_filename = "/tmp/tmpltvhdkvq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"\0Azero\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"\0Aone\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"\0Atwo\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"\0Athree\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"\0Afour\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"\0Afive\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"\0Asix\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"\0Aseven\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"\0Aeight\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"\0Anine\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
br label %3
3: ; preds = %11, %0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %5
5: ; preds = %3
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 9
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br label %11
11: ; preds = %8, %5
%12 = phi i1 [ true, %5 ], [ %10, %8 ]
br i1 %12, label %3, label %13, !llvm.loop !6
13: ; preds = %11
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @printf(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %13
%19 = load i32, ptr %2, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 @printf(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %18
%24 = load i32, ptr %2, align 4
%25 = icmp eq i32 %24, 2
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.3)
br label %28
28: ; preds = %26, %23
%29 = load i32, ptr %2, align 4
%30 = icmp eq i32 %29, 3
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = call i32 @printf(ptr noundef @.str.4)
br label %33
33: ; preds = %31, %28
%34 = load i32, ptr %2, align 4
%35 = icmp eq i32 %34, 4
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @printf(ptr noundef @.str.5)
br label %38
38: ; preds = %36, %33
%39 = load i32, ptr %2, align 4
%40 = icmp eq i32 %39, 5
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @printf(ptr noundef @.str.6)
br label %43
43: ; preds = %41, %38
%44 = load i32, ptr %2, align 4
%45 = icmp eq i32 %44, 6
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = call i32 @printf(ptr noundef @.str.7)
br label %48
48: ; preds = %46, %43
%49 = load i32, ptr %2, align 4
%50 = icmp eq i32 %49, 7
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = call i32 @printf(ptr noundef @.str.8)
br label %53
53: ; preds = %51, %48
%54 = load i32, ptr %2, align 4
%55 = icmp eq i32 %54, 8
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = call i32 @printf(ptr noundef @.str.9)
br label %58
58: ; preds = %56, %53
%59 = load i32, ptr %2, align 4
%60 = icmp eq i32 %59, 9
br i1 %60, label %61, label %63
61: ; preds = %58
%62 = call i32 @printf(ptr noundef @.str.10)
br label %63
63: ; preds = %61, %58
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpltvhdkvq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"\0Azero\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"\0Aone\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"\0Atwo\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"\0Athree\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"\0Afour\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"\0Afive\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"\0Asix\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"\0Aseven\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"\0Aeight\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"\0Anine\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
br label %3
3: ; preds = %11, %0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %5
5: ; preds = %3
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 9
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br label %11
11: ; preds = %8, %5
%12 = phi i1 [ true, %5 ], [ %10, %8 ]
br i1 %12, label %3, label %13, !llvm.loop !6
13: ; preds = %11
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @printf(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %13
%19 = load i32, ptr %2, align 4
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 @printf(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %18
%24 = load i32, ptr %2, align 4
%25 = icmp eq i32 %24, 2
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.3)
br label %28
28: ; preds = %26, %23
%29 = load i32, ptr %2, align 4
%30 = icmp eq i32 %29, 3
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = call i32 @printf(ptr noundef @.str.4)
br label %33
33: ; preds = %31, %28
%34 = load i32, ptr %2, align 4
%35 = icmp eq i32 %34, 4
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @printf(ptr noundef @.str.5)
br label %38
38: ; preds = %36, %33
%39 = load i32, ptr %2, align 4
%40 = icmp eq i32 %39, 5
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @printf(ptr noundef @.str.6)
br label %43
43: ; preds = %41, %38
%44 = load i32, ptr %2, align 4
%45 = icmp eq i32 %44, 6
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = call i32 @printf(ptr noundef @.str.7)
br label %48
48: ; preds = %46, %43
%49 = load i32, ptr %2, align 4
%50 = icmp eq i32 %49, 7
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = call i32 @printf(ptr noundef @.str.8)
br label %53
53: ; preds = %51, %48
%54 = load i32, ptr %2, align 4
%55 = icmp eq i32 %54, 8
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = call i32 @printf(ptr noundef @.str.9)
br label %58
58: ; preds = %56, %53
%59 = load i32, ptr %2, align 4
%60 = icmp eq i32 %59, 9
br i1 %60, label %61, label %63
61: ; preds = %58
%62 = call i32 @printf(ptr noundef @.str.10)
br label %63
63: ; preds = %61, %58
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6ohov_gh.c'
source_filename = "/tmp/tmp6ohov_gh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"With probability p~=%.2f%%\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @probability(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call double @pow(double noundef 2.500000e-01, i32 noundef %4)
store double %5, ptr %3, align 8
%6 = load double, ptr %3, align 8
%7 = fmul double %6, 1.000000e+02
store double %7, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = fsub double 1.000000e+02, %8
%10 = fptosi double %9 to i32
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
ret void
}
declare double @pow(double 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/tmp6ohov_gh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"With probability p~=%.2f%%\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @probability(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call double @pow(double noundef 2.500000e-01, i32 noundef %4)
store double %5, ptr %3, align 8
%6 = load double, ptr %3, align 8
%7 = fmul double %6, 1.000000e+02
store double %7, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = fsub double 1.000000e+02, %8
%10 = fptosi double %9 to i32
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
ret void
}
declare double @pow(double 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/tmprdqca0s4.c'
source_filename = "/tmp/tmprdqca0s4.c"
target datalayout = "e-m:e-p270: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/tmprdqca0s4.c"
target datalayout = "e-m:e-p270: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/tmp48aqfi_i.c'
source_filename = "/tmp/tmp48aqfi_i.c"
target datalayout = "e-m:e-p270: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 [51 x i8] c"# thresholdValue out of range %d..%d, reset to %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"ERROR th yx= %2d %2d t= %d v= %3d min/max= %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @thresholding(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
store i32 255, ptr %20, align 4
store i32 0, ptr %21, align 4
store i32 255, ptr %22, align 4
store i32 0, ptr %23, align 4
%24 = load i32, ptr %13, align 4
store i32 %24, ptr %18, align 4
br label %25
25: ; preds = %75, %8
%26 = load i32, ptr %18, align 4
%27 = load i32, ptr %13, align 4
%28 = load i32, ptr %15, align 4
%29 = add nsw i32 %27, %28
%30 = icmp slt i32 %26, %29
br i1 %30, label %31, label %78
31: ; preds = %25
%32 = load ptr, ptr %9, align 8
%33 = load i32, ptr %18, align 4
%34 = load i32, ptr %11, align 4
%35 = mul nsw i32 %33, %34
%36 = load i32, ptr %12, align 4
%37 = add nsw i32 %35, %36
%38 = add nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %32, i64 %39
store ptr %40, ptr %17, align 8
%41 = load i32, ptr %12, align 4
store i32 %41, ptr %19, align 4
br label %42
42: ; preds = %71, %31
%43 = load i32, ptr %19, align 4
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr %14, align 4
%46 = add nsw i32 %44, %45
%47 = icmp slt i32 %43, %46
br i1 %47, label %48, label %74
48: ; preds = %42
%49 = load ptr, ptr %17, align 8
%50 = load i8, ptr %49, align 1
%51 = zext i8 %50 to i32
%52 = load i32, ptr %21, align 4
%53 = icmp sgt i32 %51, %52
br i1 %53, label %54, label %58
54: ; preds = %48
%55 = load ptr, ptr %17, align 8
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
store i32 %57, ptr %21, align 4
br label %58
58: ; preds = %54, %48
%59 = load ptr, ptr %17, align 8
%60 = load i8, ptr %59, align 1
%61 = zext i8 %60 to i32
%62 = load i32, ptr %20, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %68
64: ; preds = %58
%65 = load ptr, ptr %17, align 8
%66 = load i8, ptr %65, align 1
%67 = zext i8 %66 to i32
store i32 %67, ptr %20, align 4
br label %68
68: ; preds = %64, %58
%69 = load ptr, ptr %17, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %17, align 8
br label %71
71: ; preds = %68
%72 = load i32, ptr %19, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %19, align 4
br label %42, !llvm.loop !6
74: ; preds = %42
br label %75
75: ; preds = %74
%76 = load i32, ptr %18, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %18, align 4
br label %25, !llvm.loop !8
78: ; preds = %25
%79 = load i32, ptr %16, align 4
%80 = load i32, ptr %20, align 4
%81 = icmp sle i32 %79, %80
br i1 %81, label %86, label %82
82: ; preds = %78
%83 = load i32, ptr %16, align 4
%84 = load i32, ptr %21, align 4
%85 = icmp sgt i32 %83, %84
br i1 %85, label %86, label %97
86: ; preds = %82, %78
%87 = load i32, ptr %20, align 4
%88 = load i32, ptr %21, align 4
%89 = add nsw i32 %87, %88
%90 = add nsw i32 %89, 1
%91 = sdiv i32 %90, 2
store i32 %91, ptr %16, align 4
%92 = load i32, ptr @stderr, align 4
%93 = load i32, ptr %20, align 4
%94 = load i32, ptr %21, align 4
%95 = load i32, ptr %16, align 4
%96 = call i32 (i32, ptr, i32, i32, i32, ...) @fprintf(i32 noundef %92, ptr noundef @.str, i32 noundef %93, i32 noundef %94, i32 noundef %95)
br label %97
97: ; preds = %86, %82
%98 = load i32, ptr %13, align 4
store i32 %98, ptr %18, align 4
br label %99
99: ; preds = %209, %97
%100 = load i32, ptr %18, align 4
%101 = load i32, ptr %13, align 4
%102 = load i32, ptr %15, align 4
%103 = add nsw i32 %101, %102
%104 = icmp slt i32 %100, %103
br i1 %104, label %105, label %212
105: ; preds = %99
%106 = load ptr, ptr %9, align 8
%107 = load i32, ptr %18, align 4
%108 = load i32, ptr %11, align 4
%109 = mul nsw i32 %107, %108
%110 = load i32, ptr %12, align 4
%111 = add nsw i32 %109, %110
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i8, ptr %106, i64 %112
store ptr %113, ptr %17, align 8
%114 = load i32, ptr %12, align 4
store i32 %114, ptr %19, align 4
br label %115
115: ; preds = %205, %105
%116 = load i32, ptr %19, align 4
%117 = load i32, ptr %12, align 4
%118 = load i32, ptr %14, align 4
%119 = add nsw i32 %117, %118
%120 = icmp slt i32 %116, %119
br i1 %120, label %121, label %208
121: ; preds = %115
%122 = load ptr, ptr %17, align 8
%123 = load i8, ptr %122, align 1
%124 = zext i8 %123 to i32
%125 = load i32, ptr %21, align 4
%126 = icmp sgt i32 %124, %125
br i1 %126, label %133, label %127
127: ; preds = %121
%128 = load ptr, ptr %17, align 8
%129 = load i8, ptr %128, align 1
%130 = zext i8 %129 to i32
%131 = load i32, ptr %20, align 4
%132 = icmp slt i32 %130, %131
br i1 %132, label %133, label %144
133: ; preds = %127, %121
%134 = load i32, ptr @stderr, align 4
%135 = load i32, ptr %18, align 4
%136 = load i32, ptr %19, align 4
%137 = load i32, ptr %16, align 4
%138 = load ptr, ptr %17, align 8
%139 = load i8, ptr %138, align 1
%140 = zext i8 %139 to i32
%141 = load i32, ptr %20, align 4
%142 = load i32, ptr %21, align 4
%143 = call i32 (i32, ptr, i32, i32, i32, ...) @fprintf(i32 noundef %134, ptr noundef @.str.1, i32 noundef %135, i32 noundef %136, i32 noundef %137, i32 noundef %140, i32 noundef %141, i32 noundef %142)
br label %144
144: ; preds = %133, %127
%145 = load ptr, ptr %17, align 8
%146 = load i8, ptr %145, align 1
%147 = zext i8 %146 to i32
%148 = load i32, ptr %16, align 4
%149 = icmp sge i32 %147, %148
br i1 %149, label %154, label %150
150: ; preds = %144
%151 = load i32, ptr %16, align 4
%152 = load i32, ptr %20, align 4
%153 = icmp eq i32 %151, %152
br i1 %153, label %154, label %167
154: ; preds = %150, %144
%155 = load i32, ptr %21, align 4
%156 = load ptr, ptr %17, align 8
%157 = load i8, ptr %156, align 1
%158 = zext i8 %157 to i32
%159 = sub nsw i32 %155, %158
%160 = mul nsw i32 %159, 80
%161 = load i32, ptr %21, align 4
%162 = load i32, ptr %16, align 4
%163 = sub nsw i32 %161, %162
%164 = add nsw i32 %163, 1
%165 = sdiv i32 %160, %164
%166 = sub nsw i32 255, %165
br label %179
167: ; preds = %150
%168 = load ptr, ptr %17, align 8
%169 = load i8, ptr %168, align 1
%170 = zext i8 %169 to i32
%171 = load i32, ptr %20, align 4
%172 = sub nsw i32 %170, %171
%173 = mul nsw i32 %172, 150
%174 = load i32, ptr %16, align 4
%175 = load i32, ptr %20, align 4
%176 = sub nsw i32 %174, %175
%177 = sdiv i32 %173, %176
%178 = add nsw i32 0, %177
br label %179
179: ; preds = %167, %154
%180 = phi i32 [ %166, %154 ], [ %178, %167 ]
%181 = trunc i32 %180 to i8
%182 = load ptr, ptr %17, align 8
store i8 %181, ptr %182, align 1
%183 = load ptr, ptr %17, align 8
%184 = load i8, ptr %183, align 1
%185 = zext i8 %184 to i32
%186 = load i32, ptr %23, align 4
%187 = icmp sgt i32 %185, %186
br i1 %187, label %188, label %192
188: ; preds = %179
%189 = load ptr, ptr %17, align 8
%190 = load i8, ptr %189, align 1
%191 = zext i8 %190 to i32
store i32 %191, ptr %23, align 4
br label %192
192: ; preds = %188, %179
%193 = load ptr, ptr %17, align 8
%194 = load i8, ptr %193, align 1
%195 = zext i8 %194 to i32
%196 = load i32, ptr %22, align 4
%197 = icmp slt i32 %195, %196
br i1 %197, label %198, label %202
198: ; preds = %192
%199 = load ptr, ptr %17, align 8
%200 = load i8, ptr %199, align 1
%201 = zext i8 %200 to i32
store i32 %201, ptr %22, align 4
br label %202
202: ; preds = %198, %192
%203 = load ptr, ptr %17, align 8
%204 = getelementptr inbounds i8, ptr %203, i32 1
store ptr %204, ptr %17, align 8
br label %205
205: ; preds = %202
%206 = load i32, ptr %19, align 4
%207 = add nsw i32 %206, 1
store i32 %207, ptr %19, align 4
br label %115, !llvm.loop !9
208: ; preds = %115
br label %209
209: ; preds = %208
%210 = load i32, ptr %18, align 4
%211 = add nsw i32 %210, 1
store i32 %211, ptr %18, align 4
br label %99, !llvm.loop !10
212: ; preds = %99
ret i32 160
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp48aqfi_i.c"
target datalayout = "e-m:e-p270: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 [51 x i8] c"# thresholdValue out of range %d..%d, reset to %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"ERROR th yx= %2d %2d t= %d v= %3d min/max= %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @thresholding(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i32 %3, ptr %12, align 4
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
store i32 255, ptr %20, align 4
store i32 0, ptr %21, align 4
store i32 255, ptr %22, align 4
store i32 0, ptr %23, align 4
%24 = load i32, ptr %13, align 4
store i32 %24, ptr %18, align 4
%25 = load i32, ptr %18, align 4
%26 = load i32, ptr %13, align 4
%27 = load i32, ptr %15, align 4
%28 = add nsw i32 %26, %27
%29 = icmp slt i32 %25, %28
br i1 %29, label %.lr.ph2, label %86
.lr.ph2: ; preds = %8
br label %30
30: ; preds = %.lr.ph2, %78
%31 = load ptr, ptr %9, align 8
%32 = load i32, ptr %18, align 4
%33 = load i32, ptr %11, align 4
%34 = mul nsw i32 %32, %33
%35 = load i32, ptr %12, align 4
%36 = add nsw i32 %34, %35
%37 = add nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %31, i64 %38
store ptr %39, ptr %17, align 8
%40 = load i32, ptr %12, align 4
store i32 %40, ptr %19, align 4
%41 = load i32, ptr %19, align 4
%42 = load i32, ptr %12, align 4
%43 = load i32, ptr %14, align 4
%44 = add nsw i32 %42, %43
%45 = icmp slt i32 %41, %44
br i1 %45, label %.lr.ph, label %77
.lr.ph: ; preds = %30
br label %46
46: ; preds = %.lr.ph, %69
%47 = load ptr, ptr %17, align 8
%48 = load i8, ptr %47, align 1
%49 = zext i8 %48 to i32
%50 = load i32, ptr %21, align 4
%51 = icmp sgt i32 %49, %50
br i1 %51, label %52, label %56
52: ; preds = %46
%53 = load ptr, ptr %17, align 8
%54 = load i8, ptr %53, align 1
%55 = zext i8 %54 to i32
store i32 %55, ptr %21, align 4
br label %56
56: ; preds = %52, %46
%57 = load ptr, ptr %17, align 8
%58 = load i8, ptr %57, align 1
%59 = zext i8 %58 to i32
%60 = load i32, ptr %20, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %66
62: ; preds = %56
%63 = load ptr, ptr %17, align 8
%64 = load i8, ptr %63, align 1
%65 = zext i8 %64 to i32
store i32 %65, ptr %20, align 4
br label %66
66: ; preds = %62, %56
%67 = load ptr, ptr %17, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %17, align 8
br label %69
69: ; preds = %66
%70 = load i32, ptr %19, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %19, align 4
%72 = load i32, ptr %19, align 4
%73 = load i32, ptr %12, align 4
%74 = load i32, ptr %14, align 4
%75 = add nsw i32 %73, %74
%76 = icmp slt i32 %72, %75
br i1 %76, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %69
br label %77
77: ; preds = %._crit_edge, %30
br label %78
78: ; preds = %77
%79 = load i32, ptr %18, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %18, align 4
%81 = load i32, ptr %18, align 4
%82 = load i32, ptr %13, align 4
%83 = load i32, ptr %15, align 4
%84 = add nsw i32 %82, %83
%85 = icmp slt i32 %81, %84
br i1 %85, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %78
br label %86
86: ; preds = %._crit_edge3, %8
%87 = load i32, ptr %16, align 4
%88 = load i32, ptr %20, align 4
%89 = icmp sle i32 %87, %88
br i1 %89, label %94, label %90
90: ; preds = %86
%91 = load i32, ptr %16, align 4
%92 = load i32, ptr %21, align 4
%93 = icmp sgt i32 %91, %92
br i1 %93, label %94, label %105
94: ; preds = %90, %86
%95 = load i32, ptr %20, align 4
%96 = load i32, ptr %21, align 4
%97 = add nsw i32 %95, %96
%98 = add nsw i32 %97, 1
%99 = sdiv i32 %98, 2
store i32 %99, ptr %16, align 4
%100 = load i32, ptr @stderr, align 4
%101 = load i32, ptr %20, align 4
%102 = load i32, ptr %21, align 4
%103 = load i32, ptr %16, align 4
%104 = call i32 (i32, ptr, i32, i32, i32, ...) @fprintf(i32 noundef %100, ptr noundef @.str, i32 noundef %101, i32 noundef %102, i32 noundef %103)
br label %105
105: ; preds = %94, %90
%106 = load i32, ptr %13, align 4
store i32 %106, ptr %18, align 4
%107 = load i32, ptr %18, align 4
%108 = load i32, ptr %13, align 4
%109 = load i32, ptr %15, align 4
%110 = add nsw i32 %108, %109
%111 = icmp slt i32 %107, %110
br i1 %111, label %.lr.ph8, label %228
.lr.ph8: ; preds = %105
br label %112
112: ; preds = %.lr.ph8, %220
%113 = load ptr, ptr %9, align 8
%114 = load i32, ptr %18, align 4
%115 = load i32, ptr %11, align 4
%116 = mul nsw i32 %114, %115
%117 = load i32, ptr %12, align 4
%118 = add nsw i32 %116, %117
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i8, ptr %113, i64 %119
store ptr %120, ptr %17, align 8
%121 = load i32, ptr %12, align 4
store i32 %121, ptr %19, align 4
%122 = load i32, ptr %19, align 4
%123 = load i32, ptr %12, align 4
%124 = load i32, ptr %14, align 4
%125 = add nsw i32 %123, %124
%126 = icmp slt i32 %122, %125
br i1 %126, label %.lr.ph5, label %219
.lr.ph5: ; preds = %112
br label %127
127: ; preds = %.lr.ph5, %211
%128 = load ptr, ptr %17, align 8
%129 = load i8, ptr %128, align 1
%130 = zext i8 %129 to i32
%131 = load i32, ptr %21, align 4
%132 = icmp sgt i32 %130, %131
br i1 %132, label %139, label %133
133: ; preds = %127
%134 = load ptr, ptr %17, align 8
%135 = load i8, ptr %134, align 1
%136 = zext i8 %135 to i32
%137 = load i32, ptr %20, align 4
%138 = icmp slt i32 %136, %137
br i1 %138, label %139, label %150
139: ; preds = %133, %127
%140 = load i32, ptr @stderr, align 4
%141 = load i32, ptr %18, align 4
%142 = load i32, ptr %19, align 4
%143 = load i32, ptr %16, align 4
%144 = load ptr, ptr %17, align 8
%145 = load i8, ptr %144, align 1
%146 = zext i8 %145 to i32
%147 = load i32, ptr %20, align 4
%148 = load i32, ptr %21, align 4
%149 = call i32 (i32, ptr, i32, i32, i32, ...) @fprintf(i32 noundef %140, ptr noundef @.str.1, i32 noundef %141, i32 noundef %142, i32 noundef %143, i32 noundef %146, i32 noundef %147, i32 noundef %148)
br label %150
150: ; preds = %139, %133
%151 = load ptr, ptr %17, align 8
%152 = load i8, ptr %151, align 1
%153 = zext i8 %152 to i32
%154 = load i32, ptr %16, align 4
%155 = icmp sge i32 %153, %154
br i1 %155, label %160, label %156
156: ; preds = %150
%157 = load i32, ptr %16, align 4
%158 = load i32, ptr %20, align 4
%159 = icmp eq i32 %157, %158
br i1 %159, label %160, label %173
160: ; preds = %156, %150
%161 = load i32, ptr %21, align 4
%162 = load ptr, ptr %17, align 8
%163 = load i8, ptr %162, align 1
%164 = zext i8 %163 to i32
%165 = sub nsw i32 %161, %164
%166 = mul nsw i32 %165, 80
%167 = load i32, ptr %21, align 4
%168 = load i32, ptr %16, align 4
%169 = sub nsw i32 %167, %168
%170 = add nsw i32 %169, 1
%171 = sdiv i32 %166, %170
%172 = sub nsw i32 255, %171
br label %185
173: ; preds = %156
%174 = load ptr, ptr %17, align 8
%175 = load i8, ptr %174, align 1
%176 = zext i8 %175 to i32
%177 = load i32, ptr %20, align 4
%178 = sub nsw i32 %176, %177
%179 = mul nsw i32 %178, 150
%180 = load i32, ptr %16, align 4
%181 = load i32, ptr %20, align 4
%182 = sub nsw i32 %180, %181
%183 = sdiv i32 %179, %182
%184 = add nsw i32 0, %183
br label %185
185: ; preds = %173, %160
%186 = phi i32 [ %172, %160 ], [ %184, %173 ]
%187 = trunc i32 %186 to i8
%188 = load ptr, ptr %17, align 8
store i8 %187, ptr %188, align 1
%189 = load ptr, ptr %17, align 8
%190 = load i8, ptr %189, align 1
%191 = zext i8 %190 to i32
%192 = load i32, ptr %23, align 4
%193 = icmp sgt i32 %191, %192
br i1 %193, label %194, label %198
194: ; preds = %185
%195 = load ptr, ptr %17, align 8
%196 = load i8, ptr %195, align 1
%197 = zext i8 %196 to i32
store i32 %197, ptr %23, align 4
br label %198
198: ; preds = %194, %185
%199 = load ptr, ptr %17, align 8
%200 = load i8, ptr %199, align 1
%201 = zext i8 %200 to i32
%202 = load i32, ptr %22, align 4
%203 = icmp slt i32 %201, %202
br i1 %203, label %204, label %208
204: ; preds = %198
%205 = load ptr, ptr %17, align 8
%206 = load i8, ptr %205, align 1
%207 = zext i8 %206 to i32
store i32 %207, ptr %22, align 4
br label %208
208: ; preds = %204, %198
%209 = load ptr, ptr %17, align 8
%210 = getelementptr inbounds i8, ptr %209, i32 1
store ptr %210, ptr %17, align 8
br label %211
211: ; preds = %208
%212 = load i32, ptr %19, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %19, align 4
%214 = load i32, ptr %19, align 4
%215 = load i32, ptr %12, align 4
%216 = load i32, ptr %14, align 4
%217 = add nsw i32 %215, %216
%218 = icmp slt i32 %214, %217
br i1 %218, label %127, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %211
br label %219
219: ; preds = %._crit_edge6, %112
br label %220
220: ; preds = %219
%221 = load i32, ptr %18, align 4
%222 = add nsw i32 %221, 1
store i32 %222, ptr %18, align 4
%223 = load i32, ptr %18, align 4
%224 = load i32, ptr %13, align 4
%225 = load i32, ptr %15, align 4
%226 = add nsw i32 %224, %225
%227 = icmp slt i32 %223, %226
br i1 %227, label %112, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %220
br label %228
228: ; preds = %._crit_edge9, %105
ret i32 160
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp7nioi6wa.c'
source_filename = "/tmp/tmp7nioi6wa.c"
target datalayout = "e-m:e-p270: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/tmp7nioi6wa.c"
target datalayout = "e-m:e-p270: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/tmp0y8tz3rq.c'
source_filename = "/tmp/tmp0y8tz3rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = add i64 %7, 1
%9 = call ptr @malloc(i64 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = load i64, ptr %3, align 8
%13 = add i64 %12, 1
%14 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i64 noundef %13)
%15 = load ptr, ptr %4, align 8
ret ptr %15
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0y8tz3rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = add i64 %7, 1
%9 = call ptr @malloc(i64 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = load i64, ptr %3, align 8
%13 = add i64 %12, 1
%14 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i64 noundef %13)
%15 = load ptr, ptr %4, align 8
ret ptr %15
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.