llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpmlqaye80.c'
source_filename = "/tmp/tmpmlqaye80.c"
target datalayout = "e-m:e-p270: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/tmpmlqaye80.c"
target datalayout = "e-m:e-p270: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/tmpt2tg_df9.c'
source_filename = "/tmp/tmpt2tg_df9.c"
target datalayout = "e-m:e-p270: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 i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getLineFile(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
store i8 0, ptr %9, align 1
br label %10
10: ; preds = %48, %3
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %6, align 4
%13 = sub nsw i32 %12, 1
%14 = icmp sge i32 %11, %13
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
store i8 0, ptr %19, align 1
store i32 2, ptr %4, align 4
br label %54
20: ; preds = %10
%21 = load ptr, ptr %7, align 8
%22 = call signext i8 @getc(ptr noundef %21)
store i8 %22, ptr %9, align 1
%23 = load i8, ptr %9, align 1
%24 = sext i8 %23 to i32
%25 = load i8, ptr @EOF, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %24, %26
br i1 %27, label %28, label %29
28: ; preds = %20
store i32 0, ptr %4, align 4
br label %54
29: ; preds = %20
%30 = load i8, ptr %9, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 10
br i1 %32, label %33, label %38
33: ; preds = %29
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
store i8 0, ptr %37, align 1
store i32 1, ptr %4, align 4
br label %54
38: ; preds = %29
%39 = load i8, ptr %9, align 1
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 %39, ptr %43, align 1
br label %44
44: ; preds = %38
br label %45
45: ; preds = %44
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
br label %48
48: ; preds = %45
%49 = load i8, ptr %9, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 10
br i1 %51, label %10, label %52, !llvm.loop !6
52: ; preds = %48
%53 = load i32, ptr %8, align 4
store i32 %53, ptr %4, align 4
br label %54
54: ; preds = %52, %33, %28, %15
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare signext i8 @getc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpt2tg_df9.c"
target datalayout = "e-m:e-p270: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 i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getLineFile(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
store i8 0, ptr %9, align 1
br label %10
10: ; preds = %48, %3
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %6, align 4
%13 = sub nsw i32 %12, 1
%14 = icmp sge i32 %11, %13
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
store i8 0, ptr %19, align 1
store i32 2, ptr %4, align 4
br label %54
20: ; preds = %10
%21 = load ptr, ptr %7, align 8
%22 = call signext i8 @getc(ptr noundef %21)
store i8 %22, ptr %9, align 1
%23 = load i8, ptr %9, align 1
%24 = sext i8 %23 to i32
%25 = load i8, ptr @EOF, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %24, %26
br i1 %27, label %28, label %29
28: ; preds = %20
store i32 0, ptr %4, align 4
br label %54
29: ; preds = %20
%30 = load i8, ptr %9, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 10
br i1 %32, label %33, label %38
33: ; preds = %29
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
store i8 0, ptr %37, align 1
store i32 1, ptr %4, align 4
br label %54
38: ; preds = %29
%39 = load i8, ptr %9, align 1
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 %39, ptr %43, align 1
br label %44
44: ; preds = %38
br label %45
45: ; preds = %44
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
br label %48
48: ; preds = %45
%49 = load i8, ptr %9, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 10
br i1 %51, label %10, label %52, !llvm.loop !6
52: ; preds = %48
%53 = load i32, ptr %8, align 4
store i32 %53, ptr %4, align 4
br label %54
54: ; preds = %52, %33, %28, %15
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare signext i8 @getc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpeod8t_sd.c'
source_filename = "/tmp/tmpeod8t_sd.c"
target datalayout = "e-m:e-p270: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_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XEnterWindowEvent_x_root(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeod8t_sd.c"
target datalayout = "e-m:e-p270: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_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XEnterWindowEvent_x_root(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplti3y0xh.c'
source_filename = "/tmp/tmplti3y0xh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_windows(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [20000 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call ptr @open_file(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %5, align 8
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %24, %2
%13 = getelementptr inbounds [20000 x i8], ptr %6, i64 0, i64 0
%14 = load ptr, ptr %5, align 8
%15 = call ptr @fgets(ptr noundef %13, i32 noundef 20000, ptr noundef %14)
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %22
17: ; preds = %12
%18 = getelementptr inbounds [20000 x i8], ptr %6, i64 0, i64 0
%19 = load i8, ptr %18, align 16
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br label %22
22: ; preds = %17, %12
%23 = phi i1 [ false, %12 ], [ %21, %17 ]
br i1 %23, label %24, label %37
24: ; preds = %22
%25 = getelementptr inbounds [20000 x i8], ptr %6, i64 0, i64 0
%26 = call i32 @sscanf(ptr noundef %25, ptr noundef @.str.1, ptr noundef %7, ptr noundef %8)
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %7, align 4
%29 = sub nsw i32 %27, %28
%30 = add nsw i32 %29, 1
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
store i32 %30, ptr %34, align 4
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
br label %12, !llvm.loop !6
37: ; preds = %22
%38 = load i32, ptr %9, align 4
ret i32 %38
}
declare ptr @open_file(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplti3y0xh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_windows(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [20000 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call ptr @open_file(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %5, align 8
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %24, %2
%13 = getelementptr inbounds [20000 x i8], ptr %6, i64 0, i64 0
%14 = load ptr, ptr %5, align 8
%15 = call ptr @fgets(ptr noundef %13, i32 noundef 20000, ptr noundef %14)
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %22
17: ; preds = %12
%18 = getelementptr inbounds [20000 x i8], ptr %6, i64 0, i64 0
%19 = load i8, ptr %18, align 16
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br label %22
22: ; preds = %17, %12
%23 = phi i1 [ false, %12 ], [ %21, %17 ]
br i1 %23, label %24, label %37
24: ; preds = %22
%25 = getelementptr inbounds [20000 x i8], ptr %6, i64 0, i64 0
%26 = call i32 @sscanf(ptr noundef %25, ptr noundef @.str.1, ptr noundef %7, ptr noundef %8)
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %7, align 4
%29 = sub nsw i32 %27, %28
%30 = add nsw i32 %29, 1
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
store i32 %30, ptr %34, align 4
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
br label %12, !llvm.loop !6
37: ; preds = %22
%38 = load i32, ptr %9, align 4
ret i32 %38
}
declare ptr @open_file(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9764qk9w.c'
source_filename = "/tmp/tmp9764qk9w.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"Convert AM levels to Binary stream\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Usage: %s [options] <input> <output>\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c" or: %s -a [options] <input>\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.5 = private unnamed_addr constant [53 x i8] c"\09-a Analyse input file and print summary\0A\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"\09-d <ratio> Down-sample with given ratio\0A\00", align 1
@.str.7 = private unnamed_addr constant [69 x i8] c"\09-t <level> Set threshold above which a sample is considered '1'\0A\00", align 1
@.str.8 = private unnamed_addr constant [59 x i8] c"\09-u Don't pack output but use one bit per byte\0A\00", align 1
@.str.9 = private unnamed_addr constant [52 x i8] c"When input or output are not specified or equal to\0A\00", align 1
@.str.10 = private unnamed_addr constant [32 x i8] c"'-', stdin and stdout are used\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1)
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.2, ptr noundef %8)
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3, ptr noundef %11)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.1)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.4)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.5)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.6)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.7)
%23 = load i32, ptr @stderr, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.8)
%25 = load i32, ptr @stderr, align 4
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.1)
%27 = load i32, ptr @stderr, align 4
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.9)
%29 = load i32, ptr @stderr, align 4
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.10)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9764qk9w.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"Convert AM levels to Binary stream\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Usage: %s [options] <input> <output>\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c" or: %s -a [options] <input>\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.5 = private unnamed_addr constant [53 x i8] c"\09-a Analyse input file and print summary\0A\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"\09-d <ratio> Down-sample with given ratio\0A\00", align 1
@.str.7 = private unnamed_addr constant [69 x i8] c"\09-t <level> Set threshold above which a sample is considered '1'\0A\00", align 1
@.str.8 = private unnamed_addr constant [59 x i8] c"\09-u Don't pack output but use one bit per byte\0A\00", align 1
@.str.9 = private unnamed_addr constant [52 x i8] c"When input or output are not specified or equal to\0A\00", align 1
@.str.10 = private unnamed_addr constant [32 x i8] c"'-', stdin and stdout are used\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1)
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.2, ptr noundef %8)
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3, ptr noundef %11)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.1)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.4)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.5)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.6)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.7)
%23 = load i32, ptr @stderr, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.8)
%25 = load i32, ptr @stderr, align 4
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.1)
%27 = load i32, ptr @stderr, align 4
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.9)
%29 = load i32, ptr @stderr, align 4
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.10)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppwh40c46.c'
source_filename = "/tmp/tmppwh40c46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"FiveTimes(1)\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 @FiveTimes(i32 noundef 1)
%3 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @FiveTimes(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/tmppwh40c46.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%s : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"FiveTimes(1)\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 @FiveTimes(i32 noundef 1)
%3 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @FiveTimes(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/tmpn2v1mou1.c'
source_filename = "/tmp/tmpn2v1mou1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"vector[%d]:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr @allocateArray(i32 noundef 5, i32 noundef 1)
store ptr %4, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %16, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 5
br i1 %7, label %8, label %19
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %14)
br label %16
16: ; preds = %8
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %5, !llvm.loop !6
19: ; preds = %5
%20 = load ptr, ptr %2, align 8
%21 = call i32 @free(ptr noundef %20)
ret i32 0
}
declare ptr @allocateArray(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn2v1mou1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"vector[%d]:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr @allocateArray(i32 noundef 5, i32 noundef 1)
store ptr %4, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %15
%8 = load i32, ptr %3, align 4
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %13)
br label %15
15: ; preds = %7
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 5
br i1 %19, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
%21 = load ptr, ptr %2, align 8
%22 = call i32 @free(ptr noundef %21)
ret i32 0
}
declare ptr @allocateArray(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpa9z309to.c'
source_filename = "/tmp/tmpa9z309to.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa9z309to.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp05le7rao.c'
source_filename = "/tmp/tmp05le7rao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KIONIX_ACCEL_wuf_thresh(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i64 @KIONIX_ACCEL_write_byte(i32 noundef 90, i32 noundef %4)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %3, align 4
br label %9
8: ; preds = %1
store i32 1, ptr %3, align 4
br label %9
9: ; preds = %8, %7
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i64 @KIONIX_ACCEL_write_byte(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/tmp05le7rao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KIONIX_ACCEL_wuf_thresh(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i64 @KIONIX_ACCEL_write_byte(i32 noundef 90, i32 noundef %4)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %3, align 4
br label %9
8: ; preds = %1
store i32 1, ptr %3, align 4
br label %9
9: ; preds = %8, %7
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i64 @KIONIX_ACCEL_write_byte(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/tmpm5t2giy_.c'
source_filename = "/tmp/tmpm5t2giy_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Boot Block End == %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_boot(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr @SEEK_SET, align 4
%9 = call i64 @lseek(i32 noundef %6, i32 noundef %7, i32 noundef %8)
store i64 %9, ptr %5, align 8
%10 = load i64, ptr %5, align 8
%11 = call i32 @printf(ptr noundef @.str, i64 noundef %10)
%12 = load i64, ptr %5, align 8
%13 = trunc i64 %12 to i32
ret i32 %13
}
declare i64 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm5t2giy_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Boot Block End == %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_boot(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr @SEEK_SET, align 4
%9 = call i64 @lseek(i32 noundef %6, i32 noundef %7, i32 noundef %8)
store i64 %9, ptr %5, align 8
%10 = load i64, ptr %5, align 8
%11 = call i32 @printf(ptr noundef @.str, i64 noundef %10)
%12 = load i64, ptr %5, align 8
%13 = trunc i64 %12 to i32
ret i32 %13
}
declare i64 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphs_ye17c.c'
source_filename = "/tmp/tmphs_ye17c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @urldecode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [3 x i8], align 1
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %1
store ptr null, ptr %2, align 8
br label %97
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strlen(ptr noundef %13)
%15 = add nsw i32 %14, 1
%16 = call ptr @calloc(i32 noundef %15, i32 noundef 1)
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %12
store ptr null, ptr %2, align 8
br label %97
20: ; preds = %12
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%21 = load ptr, ptr %3, align 8
%22 = call i32 @strlen(ptr noundef %21)
store i32 %22, ptr %7, align 4
br label %23
23: ; preds = %90, %20
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %95
27: ; preds = %23
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 37
br i1 %34, label %35, label %65
35: ; preds = %27
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %7, align 4
%38 = sub nsw i32 %37, 2
%39 = icmp slt i32 %36, %38
br i1 %39, label %40, label %65
40: ; preds = %35
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
%46 = load i8, ptr %45, align 1
%47 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
store i8 %46, ptr %47, align 1
%48 = load ptr, ptr %3, align 8
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 2
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
%53 = load i8, ptr %52, align 1
%54 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
store i8 %53, ptr %54, align 1
%55 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 2
store i8 0, ptr %55, align 1
%56 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
%57 = call i64 @strtol(ptr noundef %56, ptr noundef null, i32 noundef 16)
%58 = trunc i64 %57 to i8
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %6, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
store i8 %58, ptr %62, align 1
%63 = load i32, ptr %5, align 4
%64 = add nsw i32 %63, 2
store i32 %64, ptr %5, align 4
br label %89
65: ; preds = %35, %27
%66 = load ptr, ptr %3, align 8
%67 = load i32, ptr %5, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 43
br i1 %72, label %73, label %78
73: ; preds = %65
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %6, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
store i8 32, ptr %77, align 1
br label %88
78: ; preds = %65
%79 = load ptr, ptr %3, align 8
%80 = load i32, ptr %5, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i8, ptr %82, align 1
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %6, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
store i8 %83, ptr %87, align 1
br label %88
88: ; preds = %78, %73
br label %89
89: ; preds = %88, %40
br label %90
90: ; preds = %89
%91 = load i32, ptr %5, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %5, align 4
%93 = load i32, ptr %6, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %6, align 4
br label %23, !llvm.loop !6
95: ; preds = %23
%96 = load ptr, ptr %4, align 8
store ptr %96, ptr %2, align 8
br label %97
97: ; preds = %95, %19, %11
%98 = load ptr, ptr %2, align 8
ret ptr %98
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @strtol(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/tmphs_ye17c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @urldecode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [3 x i8], align 1
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %1
store ptr null, ptr %2, align 8
br label %99
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strlen(ptr noundef %13)
%15 = add nsw i32 %14, 1
%16 = call ptr @calloc(i32 noundef %15, i32 noundef 1)
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %12
store ptr null, ptr %2, align 8
br label %99
20: ; preds = %12
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%21 = load ptr, ptr %3, align 8
%22 = call i32 @strlen(ptr noundef %21)
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %97
.lr.ph: ; preds = %20
br label %26
26: ; preds = %.lr.ph, %89
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 37
br i1 %33, label %34, label %64
34: ; preds = %26
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %7, align 4
%37 = sub nsw i32 %36, 2
%38 = icmp slt i32 %35, %37
br i1 %38, label %39, label %64
39: ; preds = %34
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
%45 = load i8, ptr %44, align 1
%46 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
store i8 %45, ptr %46, align 1
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 2
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %47, i64 %50
%52 = load i8, ptr %51, align 1
%53 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
store i8 %52, ptr %53, align 1
%54 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 2
store i8 0, ptr %54, align 1
%55 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
%56 = call i64 @strtol(ptr noundef %55, ptr noundef null, i32 noundef 16)
%57 = trunc i64 %56 to i8
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %6, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
store i8 %57, ptr %61, align 1
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, 2
store i32 %63, ptr %5, align 4
br label %88
64: ; preds = %34, %26
%65 = load ptr, ptr %3, align 8
%66 = load i32, ptr %5, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 43
br i1 %71, label %72, label %77
72: ; preds = %64
%73 = load ptr, ptr %4, align 8
%74 = load i32, ptr %6, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
store i8 32, ptr %76, align 1
br label %87
77: ; preds = %64
%78 = load ptr, ptr %3, align 8
%79 = load i32, ptr %5, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
%82 = load i8, ptr %81, align 1
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %6, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
store i8 %82, ptr %86, align 1
br label %87
87: ; preds = %77, %72
br label %88
88: ; preds = %87, %39
br label %89
89: ; preds = %88
%90 = load i32, ptr %5, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %5, align 4
%92 = load i32, ptr %6, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %6, align 4
%94 = load i32, ptr %5, align 4
%95 = load i32, ptr %7, align 4
%96 = icmp slt i32 %94, %95
br i1 %96, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %89
br label %97
97: ; preds = %._crit_edge, %20
%98 = load ptr, ptr %4, align 8
store ptr %98, ptr %2, align 8
br label %99
99: ; preds = %97, %19, %11
%100 = load ptr, ptr %2, align 8
ret ptr %100
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @strtol(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/tmp66b4uz3z.c'
source_filename = "/tmp/tmp66b4uz3z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"uptime() not implemented\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uptime() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp66b4uz3z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"uptime() not implemented\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uptime() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprw9_27tr.c'
source_filename = "/tmp/tmprw9_27tr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
br label %12
12: ; preds = %32, %3
%13 = load i64, ptr %7, align 8
%14 = add i64 %13, -1
store i64 %14, ptr %7, align 8
%15 = icmp ugt i64 %13, 0
br i1 %15, label %16, label %37
16: ; preds = %12
%17 = load ptr, ptr %8, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load ptr, ptr %9, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %19, %22
br i1 %23, label %24, label %32
24: ; preds = %16
%25 = load ptr, ptr %8, align 8
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = load ptr, ptr %9, align 8
%29 = load i8, ptr %28, align 1
%30 = zext i8 %29 to i32
%31 = sub nsw i32 %27, %30
store i32 %31, ptr %4, align 4
br label %38
32: ; preds = %16
%33 = load ptr, ptr %8, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %8, align 8
%35 = load ptr, ptr %9, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %9, align 8
br label %12, !llvm.loop !6
37: ; preds = %12
store i32 0, ptr %4, align 4
br label %38
38: ; preds = %37, %24
%39 = load i32, ptr %4, align 4
ret i32 %39
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprw9_27tr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
%12 = load i64, ptr %7, align 8
%13 = add i64 %12, -1
store i64 %13, ptr %7, align 8
%14 = icmp ugt i64 %12, 0
br i1 %14, label %.lr.ph, label %39
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %31
%16 = load ptr, ptr %8, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = load ptr, ptr %9, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %18, %21
br i1 %22, label %23, label %31
23: ; preds = %15
%24 = load ptr, ptr %8, align 8
%25 = load i8, ptr %24, align 1
%26 = zext i8 %25 to i32
%27 = load ptr, ptr %9, align 8
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = sub nsw i32 %26, %29
store i32 %30, ptr %4, align 4
br label %40
31: ; preds = %15
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %8, align 8
%34 = load ptr, ptr %9, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %9, align 8
%36 = load i64, ptr %7, align 8
%37 = add i64 %36, -1
store i64 %37, ptr %7, align 8
%38 = icmp ugt i64 %36, 0
br i1 %38, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %39
39: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %40
40: ; preds = %39, %23
%41 = load i32, ptr %4, align 4
ret i32 %41
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_g78_6w9.c'
source_filename = "/tmp/tmp_g78_6w9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m_look_at(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [3 x float], align 4
%10 = alloca [3 x float], align 4
%11 = alloca [3 x float], align 4
%12 = alloca [3 x float], align 4
%13 = alloca [16 x float], align 16
%14 = alloca [16 x float], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds float, ptr %15, i64 0
%17 = load float, ptr %16, align 4
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds float, ptr %18, i64 0
%20 = load float, ptr %19, align 4
%21 = fsub float %17, %20
%22 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
store float %21, ptr %22, align 4
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds float, ptr %23, i64 1
%25 = load float, ptr %24, align 4
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds float, ptr %26, i64 1
%28 = load float, ptr %27, align 4
%29 = fsub float %25, %28
%30 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 1
store float %29, ptr %30, align 4
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds float, ptr %31, i64 2
%33 = load float, ptr %32, align 4
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds float, ptr %34, i64 2
%36 = load float, ptr %35, align 4
%37 = fsub float %33, %36
%38 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 2
store float %37, ptr %38, align 4
%39 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
%40 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
%41 = call i32 @v_normalize(ptr noundef %39, ptr noundef %40)
%42 = load ptr, ptr %7, align 8
%43 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
%44 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
%45 = call i32 @v_cross(ptr noundef %42, ptr noundef %43, ptr noundef %44)
%46 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
%47 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
%48 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0
%49 = call i32 @v_cross(ptr noundef %46, ptr noundef %47, ptr noundef %48)
%50 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
%51 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
%52 = call i32 @v_normalize(ptr noundef %50, ptr noundef %51)
%53 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0
%54 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0
%55 = call i32 @v_normalize(ptr noundef %53, ptr noundef %54)
%56 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
%57 = load float, ptr %56, align 4
%58 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 0
store float %57, ptr %58, align 16
%59 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 1
%60 = load float, ptr %59, align 4
%61 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 4
store float %60, ptr %61, align 16
%62 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 2
%63 = load float, ptr %62, align 4
%64 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 8
store float %63, ptr %64, align 16
%65 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 12
store float 0.000000e+00, ptr %65, align 16
%66 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0
%67 = load float, ptr %66, align 4
%68 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 1
store float %67, ptr %68, align 4
%69 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 1
%70 = load float, ptr %69, align 4
%71 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 5
store float %70, ptr %71, align 4
%72 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 2
%73 = load float, ptr %72, align 4
%74 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 9
store float %73, ptr %74, align 4
%75 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 13
store float 0.000000e+00, ptr %75, align 4
%76 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
%77 = load float, ptr %76, align 4
%78 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 2
store float %77, ptr %78, align 8
%79 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 1
%80 = load float, ptr %79, align 4
%81 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 6
store float %80, ptr %81, align 8
%82 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 2
%83 = load float, ptr %82, align 4
%84 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 10
store float %83, ptr %84, align 8
%85 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 14
store float 0.000000e+00, ptr %85, align 8
%86 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 3
store float 0.000000e+00, ptr %86, align 4
%87 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 7
store float 0.000000e+00, ptr %87, align 4
%88 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 11
store float 0.000000e+00, ptr %88, align 4
%89 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 15
store float 1.000000e+00, ptr %89, align 4
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds float, ptr %90, i64 0
%92 = load float, ptr %91, align 4
%93 = fmul float %92, -1.000000e+00
%94 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0
store float %93, ptr %94, align 4
%95 = load ptr, ptr %5, align 8
%96 = getelementptr inbounds float, ptr %95, i64 1
%97 = load float, ptr %96, align 4
%98 = fmul float %97, -1.000000e+00
%99 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 1
store float %98, ptr %99, align 4
%100 = load ptr, ptr %5, align 8
%101 = getelementptr inbounds float, ptr %100, i64 2
%102 = load float, ptr %101, align 4
%103 = fmul float %102, -1.000000e+00
%104 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 2
store float %103, ptr %104, align 4
%105 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0
%106 = getelementptr inbounds [16 x float], ptr %14, i64 0, i64 0
%107 = call i32 @m_translate(ptr noundef %105, ptr noundef %106)
%108 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 0
%109 = getelementptr inbounds [16 x float], ptr %14, i64 0, i64 0
%110 = load ptr, ptr %8, align 8
%111 = call i32 @m_multiply(ptr noundef %108, ptr noundef %109, ptr noundef %110)
ret void
}
declare i32 @v_normalize(ptr noundef, ptr noundef) #1
declare i32 @v_cross(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @m_translate(ptr noundef, ptr noundef) #1
declare i32 @m_multiply(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_g78_6w9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m_look_at(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [3 x float], align 4
%10 = alloca [3 x float], align 4
%11 = alloca [3 x float], align 4
%12 = alloca [3 x float], align 4
%13 = alloca [16 x float], align 16
%14 = alloca [16 x float], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds float, ptr %15, i64 0
%17 = load float, ptr %16, align 4
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds float, ptr %18, i64 0
%20 = load float, ptr %19, align 4
%21 = fsub float %17, %20
%22 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
store float %21, ptr %22, align 4
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds float, ptr %23, i64 1
%25 = load float, ptr %24, align 4
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds float, ptr %26, i64 1
%28 = load float, ptr %27, align 4
%29 = fsub float %25, %28
%30 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 1
store float %29, ptr %30, align 4
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds float, ptr %31, i64 2
%33 = load float, ptr %32, align 4
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds float, ptr %34, i64 2
%36 = load float, ptr %35, align 4
%37 = fsub float %33, %36
%38 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 2
store float %37, ptr %38, align 4
%39 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
%40 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
%41 = call i32 @v_normalize(ptr noundef %39, ptr noundef %40)
%42 = load ptr, ptr %7, align 8
%43 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
%44 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
%45 = call i32 @v_cross(ptr noundef %42, ptr noundef %43, ptr noundef %44)
%46 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
%47 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
%48 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0
%49 = call i32 @v_cross(ptr noundef %46, ptr noundef %47, ptr noundef %48)
%50 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
%51 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
%52 = call i32 @v_normalize(ptr noundef %50, ptr noundef %51)
%53 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0
%54 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0
%55 = call i32 @v_normalize(ptr noundef %53, ptr noundef %54)
%56 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
%57 = load float, ptr %56, align 4
%58 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 0
store float %57, ptr %58, align 16
%59 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 1
%60 = load float, ptr %59, align 4
%61 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 4
store float %60, ptr %61, align 16
%62 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 2
%63 = load float, ptr %62, align 4
%64 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 8
store float %63, ptr %64, align 16
%65 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 12
store float 0.000000e+00, ptr %65, align 16
%66 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0
%67 = load float, ptr %66, align 4
%68 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 1
store float %67, ptr %68, align 4
%69 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 1
%70 = load float, ptr %69, align 4
%71 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 5
store float %70, ptr %71, align 4
%72 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 2
%73 = load float, ptr %72, align 4
%74 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 9
store float %73, ptr %74, align 4
%75 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 13
store float 0.000000e+00, ptr %75, align 4
%76 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
%77 = load float, ptr %76, align 4
%78 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 2
store float %77, ptr %78, align 8
%79 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 1
%80 = load float, ptr %79, align 4
%81 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 6
store float %80, ptr %81, align 8
%82 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 2
%83 = load float, ptr %82, align 4
%84 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 10
store float %83, ptr %84, align 8
%85 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 14
store float 0.000000e+00, ptr %85, align 8
%86 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 3
store float 0.000000e+00, ptr %86, align 4
%87 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 7
store float 0.000000e+00, ptr %87, align 4
%88 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 11
store float 0.000000e+00, ptr %88, align 4
%89 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 15
store float 1.000000e+00, ptr %89, align 4
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds float, ptr %90, i64 0
%92 = load float, ptr %91, align 4
%93 = fmul float %92, -1.000000e+00
%94 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0
store float %93, ptr %94, align 4
%95 = load ptr, ptr %5, align 8
%96 = getelementptr inbounds float, ptr %95, i64 1
%97 = load float, ptr %96, align 4
%98 = fmul float %97, -1.000000e+00
%99 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 1
store float %98, ptr %99, align 4
%100 = load ptr, ptr %5, align 8
%101 = getelementptr inbounds float, ptr %100, i64 2
%102 = load float, ptr %101, align 4
%103 = fmul float %102, -1.000000e+00
%104 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 2
store float %103, ptr %104, align 4
%105 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0
%106 = getelementptr inbounds [16 x float], ptr %14, i64 0, i64 0
%107 = call i32 @m_translate(ptr noundef %105, ptr noundef %106)
%108 = getelementptr inbounds [16 x float], ptr %13, i64 0, i64 0
%109 = getelementptr inbounds [16 x float], ptr %14, i64 0, i64 0
%110 = load ptr, ptr %8, align 8
%111 = call i32 @m_multiply(ptr noundef %108, ptr noundef %109, ptr noundef %110)
ret void
}
declare i32 @v_normalize(ptr noundef, ptr noundef) #1
declare i32 @v_cross(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @m_translate(ptr noundef, ptr noundef) #1
declare i32 @m_multiply(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfnmf1pzn.c'
source_filename = "/tmp/tmpfnmf1pzn.c"
target datalayout = "e-m:e-p270: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/tmpfnmf1pzn.c"
target datalayout = "e-m:e-p270: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/tmp6_efcg1a.c'
source_filename = "/tmp/tmp6_efcg1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"%s: \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"lstat error\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"directory\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"regular file\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"character special\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"block special\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"FIFO\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"symbolic link\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"unknown type\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.stat, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %8
8: ; preds = %72, %21, %2
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %4, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %75
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i32 1
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %14, align 8
%16 = call i32 @printf(ptr noundef @.str, ptr noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %17, align 8
%19 = call i64 @stat(ptr noundef %18, ptr noundef %7)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %12
%22 = call i32 @err_ret(ptr noundef @.str.1)
br label %8, !llvm.loop !6
23: ; preds = %12
%24 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%25 = load i32, ptr %24, align 4
%26 = call i64 @S_ISDIR(i32 noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %23
store ptr @.str.2, ptr %6, align 8
br label %72
29: ; preds = %23
%30 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%31 = load i32, ptr %30, align 4
%32 = call i64 @S_ISREG(i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %29
store ptr @.str.3, ptr %6, align 8
br label %71
35: ; preds = %29
%36 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%37 = load i32, ptr %36, align 4
%38 = call i64 @S_ISCHR(i32 noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %35
store ptr @.str.4, ptr %6, align 8
br label %70
41: ; preds = %35
%42 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%43 = load i32, ptr %42, align 4
%44 = call i64 @S_ISBLK(i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %41
store ptr @.str.5, ptr %6, align 8
br label %69
47: ; preds = %41
%48 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%49 = load i32, ptr %48, align 4
%50 = call i64 @S_ISFIFO(i32 noundef %49)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %47
store ptr @.str.6, ptr %6, align 8
br label %68
53: ; preds = %47
%54 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%55 = load i32, ptr %54, align 4
%56 = call i64 @S_ISSOCK(i32 noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %59
58: ; preds = %53
store ptr @.str.7, ptr %6, align 8
br label %67
59: ; preds = %53
%60 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%61 = load i32, ptr %60, align 4
%62 = call i64 @S_ISLNK(i32 noundef %61)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %59
store ptr @.str.8, ptr %6, align 8
br label %66
65: ; preds = %59
store ptr @.str.9, ptr %6, align 8
br label %66
66: ; preds = %65, %64
br label %67
67: ; preds = %66, %58
br label %68
68: ; preds = %67, %52
br label %69
69: ; preds = %68, %46
br label %70
70: ; preds = %69, %40
br label %71
71: ; preds = %70, %34
br label %72
72: ; preds = %71, %28
%73 = load ptr, ptr %6, align 8
%74 = call i32 @printf(ptr noundef @.str.10, ptr noundef %73)
br label %8, !llvm.loop !6
75: ; preds = %8
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @err_ret(ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i64 @S_ISREG(i32 noundef) #1
declare i64 @S_ISCHR(i32 noundef) #1
declare i64 @S_ISBLK(i32 noundef) #1
declare i64 @S_ISFIFO(i32 noundef) #1
declare i64 @S_ISSOCK(i32 noundef) #1
declare i64 @S_ISLNK(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/tmp6_efcg1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"%s: \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"lstat error\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"directory\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"regular file\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"character special\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"block special\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"FIFO\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"symbolic link\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"unknown type\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.stat, align 4
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 = add nsw i32 %8, -1
store i32 %9, ptr %4, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %77
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %.backedge
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i32 1
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %13, align 8
%15 = call i32 @printf(ptr noundef @.str, ptr noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %16, align 8
%18 = call i64 @stat(ptr noundef %17, ptr noundef %7)
%19 = icmp slt i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %11
%21 = call i32 @err_ret(ptr noundef @.str.1)
br label %.backedge
.backedge: ; preds = %20, %74
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %4, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %11, label %._crit_edge, !llvm.loop !6
25: ; preds = %11
%26 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = call i64 @S_ISDIR(i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %25
store ptr @.str.2, ptr %6, align 8
br label %74
31: ; preds = %25
%32 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%33 = load i32, ptr %32, align 4
%34 = call i64 @S_ISREG(i32 noundef %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %31
store ptr @.str.3, ptr %6, align 8
br label %73
37: ; preds = %31
%38 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%39 = load i32, ptr %38, align 4
%40 = call i64 @S_ISCHR(i32 noundef %39)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %37
store ptr @.str.4, ptr %6, align 8
br label %72
43: ; preds = %37
%44 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%45 = load i32, ptr %44, align 4
%46 = call i64 @S_ISBLK(i32 noundef %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %43
store ptr @.str.5, ptr %6, align 8
br label %71
49: ; preds = %43
%50 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%51 = load i32, ptr %50, align 4
%52 = call i64 @S_ISFIFO(i32 noundef %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %49
store ptr @.str.6, ptr %6, align 8
br label %70
55: ; preds = %49
%56 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%57 = load i32, ptr %56, align 4
%58 = call i64 @S_ISSOCK(i32 noundef %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %55
store ptr @.str.7, ptr %6, align 8
br label %69
61: ; preds = %55
%62 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%63 = load i32, ptr %62, align 4
%64 = call i64 @S_ISLNK(i32 noundef %63)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %67
66: ; preds = %61
store ptr @.str.8, ptr %6, align 8
br label %68
67: ; preds = %61
store ptr @.str.9, ptr %6, align 8
br label %68
68: ; preds = %67, %66
br label %69
69: ; preds = %68, %60
br label %70
70: ; preds = %69, %54
br label %71
71: ; preds = %70, %48
br label %72
72: ; preds = %71, %42
br label %73
73: ; preds = %72, %36
br label %74
74: ; preds = %73, %30
%75 = load ptr, ptr %6, align 8
%76 = call i32 @printf(ptr noundef @.str.10, ptr noundef %75)
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %77
77: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @err_ret(ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i64 @S_ISREG(i32 noundef) #1
declare i64 @S_ISCHR(i32 noundef) #1
declare i64 @S_ISBLK(i32 noundef) #1
declare i64 @S_ISFIFO(i32 noundef) #1
declare i64 @S_ISSOCK(i32 noundef) #1
declare i64 @S_ISLNK(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/tmpufd1m__n.c'
source_filename = "/tmp/tmpufd1m__n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sudp_vis(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpufd1m__n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sudp_vis(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqvy9atzl.c'
source_filename = "/tmp/tmpqvy9atzl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { double, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @wallt() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load double, ptr %3, align 8
%5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%6 = load i32, ptr %5, align 8
%7 = sitofp i32 %6 to double
%8 = call double @llvm.fmuladd.f64(double %7, double 0x3EB0C6F7A0B5ED8D, double %4)
ret double %8
}
declare i32 @gettimeofday(ptr noundef, ptr 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/tmpqvy9atzl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { double, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @wallt() #0 {
%1 = alloca %struct.timeval, align 8
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%4 = load double, ptr %3, align 8
%5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%6 = load i32, ptr %5, align 8
%7 = sitofp i32 %6 to double
%8 = call double @llvm.fmuladd.f64(double %7, double 0x3EB0C6F7A0B5ED8D, double %4)
ret double %8
}
declare i32 @gettimeofday(ptr noundef, ptr 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/tmpdmqgizv2.c'
source_filename = "/tmp/tmpdmqgizv2.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdmqgizv2.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5etcmoz0.c'
source_filename = "/tmp/tmp5etcmoz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"[\1B[32;1m+\1B[0m] \00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Hello everyone!\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"[\1B[31;1m!\1B[0m] \00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"I am error!\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"[\1B[34;1m-\1B[0m] \00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"I am info!\0A\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"[\1B[33;1mw\1B[0m] \00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"I am warn!\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 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
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/tmp5etcmoz0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"[\1B[32;1m+\1B[0m] \00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Hello everyone!\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"[\1B[31;1m!\1B[0m] \00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"I am error!\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"[\1B[34;1m-\1B[0m] \00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"I am info!\0A\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"[\1B[33;1mw\1B[0m] \00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"I am warn!\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 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
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/tmpn6wng_1m.c'
source_filename = "/tmp/tmpn6wng_1m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jv_mem_alloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = call i32 (...) @memory_exhausted()
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @memory_exhausted(...) #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/tmpn6wng_1m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jv_mem_alloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = call i32 (...) @memory_exhausted()
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @memory_exhausted(...) #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/tmpdeisgnr6.c'
source_filename = "/tmp/tmpdeisgnr6.c"
target datalayout = "e-m:e-p270: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/tmpdeisgnr6.c"
target datalayout = "e-m:e-p270: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/tmpf1pk2n7q.c'
source_filename = "/tmp/tmpf1pk2n7q.c"
target datalayout = "e-m:e-p270: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/tmpf1pk2n7q.c"
target datalayout = "e-m:e-p270: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/tmpaaiepzkz.c'
source_filename = "/tmp/tmpaaiepzkz.c"
target datalayout = "e-m:e-p270: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/tmpaaiepzkz.c"
target datalayout = "e-m:e-p270: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/tmp7u7owg06.c'
source_filename = "/tmp/tmp7u7owg06.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EMACIntDisable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 3100
%8 = sext i32 %7 to i64
%9 = inttoptr i64 %8 to ptr
%10 = load volatile i32, ptr %9, align 4
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = and i32 %11, 2147483647
%13 = xor i32 %12, -1
%14 = load i32, ptr %5, align 4
%15 = and i32 %14, %13
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = and i32 %16, 16453
%18 = icmp ne i32 %17, 0
br i1 %18, label %22, label %19
19: ; preds = %2
%20 = load i32, ptr %5, align 4
%21 = and i32 %20, -65537
store i32 %21, ptr %5, align 4
br label %22
22: ; preds = %19, %2
%23 = load i32, ptr %5, align 4
%24 = and i32 %23, 10170
%25 = icmp ne i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %22
%27 = load i32, ptr %5, align 4
%28 = and i32 %27, -32769
store i32 %28, ptr %5, align 4
br label %29
29: ; preds = %26, %22
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 3100
%33 = sext i32 %32 to i64
%34 = inttoptr i64 %33 to ptr
store volatile i32 %30, ptr %34, align 4
%35 = load i32, ptr %4, align 4
%36 = and i32 %35, -2147483648
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %45
38: ; preds = %29
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 4052
%41 = sext i32 %40 to i64
%42 = inttoptr i64 %41 to ptr
%43 = load volatile i32, ptr %42, align 4
%44 = and i32 %43, -2
store volatile i32 %44, ptr %42, align 4
br label %45
45: ; preds = %38, %29
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/tmp7u7owg06.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EMACIntDisable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 3100
%8 = sext i32 %7 to i64
%9 = inttoptr i64 %8 to ptr
%10 = load volatile i32, ptr %9, align 4
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = and i32 %11, 2147483647
%13 = xor i32 %12, -1
%14 = load i32, ptr %5, align 4
%15 = and i32 %14, %13
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = and i32 %16, 16453
%18 = icmp ne i32 %17, 0
br i1 %18, label %22, label %19
19: ; preds = %2
%20 = load i32, ptr %5, align 4
%21 = and i32 %20, -65537
store i32 %21, ptr %5, align 4
br label %22
22: ; preds = %19, %2
%23 = load i32, ptr %5, align 4
%24 = and i32 %23, 10170
%25 = icmp ne i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %22
%27 = load i32, ptr %5, align 4
%28 = and i32 %27, -32769
store i32 %28, ptr %5, align 4
br label %29
29: ; preds = %26, %22
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 3100
%33 = sext i32 %32 to i64
%34 = inttoptr i64 %33 to ptr
store volatile i32 %30, ptr %34, align 4
%35 = load i32, ptr %4, align 4
%36 = and i32 %35, -2147483648
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %45
38: ; preds = %29
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 4052
%41 = sext i32 %40 to i64
%42 = inttoptr i64 %41 to ptr
%43 = load volatile i32, ptr %42, align 4
%44 = and i32 %43, -2
store volatile i32 %44, ptr %42, align 4
br label %45
45: ; preds = %38, %29
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/tmppii3ixuy.c'
source_filename = "/tmp/tmppii3ixuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"out of memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @nasm_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load ptr, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = call ptr @realloc(ptr noundef %9, i64 noundef %10) #4
br label %15
12: ; preds = %2
%13 = load i64, ptr %4, align 8
%14 = call ptr @malloc(i64 noundef %13) #5
br label %15
15: ; preds = %12, %8
%16 = phi ptr [ %11, %8 ], [ %14, %12 ]
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = call i32 @nasm_error(i32 noundef 18, ptr noundef @.str)
br label %21
21: ; preds = %19, %15
%22 = load ptr, ptr %5, align 8
ret ptr %22
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #2
declare i32 @nasm_error(i32 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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
attributes #5 = { 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/tmppii3ixuy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"out of memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @nasm_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load ptr, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = call ptr @realloc(ptr noundef %9, i64 noundef %10) #4
br label %15
12: ; preds = %2
%13 = load i64, ptr %4, align 8
%14 = call ptr @malloc(i64 noundef %13) #5
br label %15
15: ; preds = %12, %8
%16 = phi ptr [ %11, %8 ], [ %14, %12 ]
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = call i32 @nasm_error(i32 noundef 18, ptr noundef @.str)
br label %21
21: ; preds = %19, %15
%22 = load ptr, ptr %5, align 8
ret ptr %22
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #2
declare i32 @nasm_error(i32 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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
attributes #5 = { 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/tmpdbkjdyw7.c'
source_filename = "/tmp/tmpdbkjdyw7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"haitus v0.1: simple virtual machine\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @EXIT_SUCCESS, align 4
%3 = call i32 @exit(i32 noundef %2) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdbkjdyw7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"haitus v0.1: simple virtual machine\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = load i32, ptr @EXIT_SUCCESS, align 4
%3 = call i32 @exit(i32 noundef %2) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq__m3kdx.c'
source_filename = "/tmp/tmpq__m3kdx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @editDisRecur(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = load i32, ptr %8, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %4
%13 = load i32, ptr %9, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %24
15: ; preds = %12, %4
%16 = load i32, ptr %8, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = load i32, ptr %8, align 4
br label %22
20: ; preds = %15
%21 = load i32, ptr %9, align 4
br label %22
22: ; preds = %20, %18
%23 = phi i32 [ %19, %18 ], [ %21, %20 ]
store i32 %23, ptr %5, align 4
br label %70
24: ; preds = %12
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %8, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %9, align 4
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %31, %38
br i1 %39, label %40, label %48
40: ; preds = %24
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %8, align 4
%44 = sub nsw i32 %43, 1
%45 = load i32, ptr %9, align 4
%46 = sub nsw i32 %45, 1
%47 = call i32 @editDisRecur(ptr noundef %41, ptr noundef %42, i32 noundef %44, i32 noundef %46)
store i32 %47, ptr %5, align 4
br label %70
48: ; preds = %24
%49 = load ptr, ptr %6, align 8
%50 = load ptr, ptr %7, align 8
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr %9, align 4
%53 = sub nsw i32 %52, 1
%54 = call i32 @editDisRecur(ptr noundef %49, ptr noundef %50, i32 noundef %51, i32 noundef %53)
%55 = load ptr, ptr %6, align 8
%56 = load ptr, ptr %7, align 8
%57 = load i32, ptr %8, align 4
%58 = sub nsw i32 %57, 1
%59 = load i32, ptr %9, align 4
%60 = call i32 @editDisRecur(ptr noundef %55, ptr noundef %56, i32 noundef %58, i32 noundef %59)
%61 = load ptr, ptr %6, align 8
%62 = load ptr, ptr %7, align 8
%63 = load i32, ptr %8, align 4
%64 = sub nsw i32 %63, 1
%65 = load i32, ptr %9, align 4
%66 = sub nsw i32 %65, 1
%67 = call i32 @editDisRecur(ptr noundef %61, ptr noundef %62, i32 noundef %64, i32 noundef %66)
%68 = call i32 @min(i32 noundef %54, i32 noundef %60, i32 noundef %67)
%69 = add nsw i32 1, %68
store i32 %69, ptr %5, align 4
br label %70
70: ; preds = %48, %40, %22
%71 = load i32, ptr %5, align 4
ret i32 %71
}
declare i32 @min(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/tmpq__m3kdx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @editDisRecur(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = load i32, ptr %8, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %4
%13 = load i32, ptr %9, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %24
15: ; preds = %12, %4
%16 = load i32, ptr %8, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = load i32, ptr %8, align 4
br label %22
20: ; preds = %15
%21 = load i32, ptr %9, align 4
br label %22
22: ; preds = %20, %18
%23 = phi i32 [ %19, %18 ], [ %21, %20 ]
store i32 %23, ptr %5, align 4
br label %70
24: ; preds = %12
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %8, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %9, align 4
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %31, %38
br i1 %39, label %40, label %48
40: ; preds = %24
%41 = load ptr, ptr %6, align 8
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %8, align 4
%44 = sub nsw i32 %43, 1
%45 = load i32, ptr %9, align 4
%46 = sub nsw i32 %45, 1
%47 = call i32 @editDisRecur(ptr noundef %41, ptr noundef %42, i32 noundef %44, i32 noundef %46)
store i32 %47, ptr %5, align 4
br label %70
48: ; preds = %24
%49 = load ptr, ptr %6, align 8
%50 = load ptr, ptr %7, align 8
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr %9, align 4
%53 = sub nsw i32 %52, 1
%54 = call i32 @editDisRecur(ptr noundef %49, ptr noundef %50, i32 noundef %51, i32 noundef %53)
%55 = load ptr, ptr %6, align 8
%56 = load ptr, ptr %7, align 8
%57 = load i32, ptr %8, align 4
%58 = sub nsw i32 %57, 1
%59 = load i32, ptr %9, align 4
%60 = call i32 @editDisRecur(ptr noundef %55, ptr noundef %56, i32 noundef %58, i32 noundef %59)
%61 = load ptr, ptr %6, align 8
%62 = load ptr, ptr %7, align 8
%63 = load i32, ptr %8, align 4
%64 = sub nsw i32 %63, 1
%65 = load i32, ptr %9, align 4
%66 = sub nsw i32 %65, 1
%67 = call i32 @editDisRecur(ptr noundef %61, ptr noundef %62, i32 noundef %64, i32 noundef %66)
%68 = call i32 @min(i32 noundef %54, i32 noundef %60, i32 noundef %67)
%69 = add nsw i32 1, %68
store i32 %69, ptr %5, align 4
br label %70
70: ; preds = %48, %40, %22
%71 = load i32, ptr %5, align 4
ret i32 %71
}
declare i32 @min(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/tmpmk4x_yjo.c'
source_filename = "/tmp/tmpmk4x_yjo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readlines(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [1000 x i8], align 16
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %73, %2
%12 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%13 = call i32 @my_getline(ptr noundef %12, i32 noundef 1000)
store i32 %13, ptr %6, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %74
15: ; preds = %11
%16 = load i32, ptr %6, align 4
%17 = call ptr @alloc(i32 noundef %16)
store ptr %17, ptr %8, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %15
store i32 -1, ptr %3, align 4
br label %85
20: ; preds = %15
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp sge i32 %21, %22
br i1 %23, label %24, label %58
24: ; preds = %20
store i32 0, ptr %10, align 4
br label %25
25: ; preds = %41, %24
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %5, align 4
%28 = sub nsw i32 %27, 1
%29 = icmp slt i32 %26, %28
br i1 %29, label %30, label %44
30: ; preds = %25
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %31, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
store ptr %36, ptr %40, align 8
br label %41
41: ; preds = %30
%42 = load i32, ptr %10, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %10, align 4
br label %25, !llvm.loop !6
44: ; preds = %25
%45 = load i32, ptr %6, align 4
%46 = sub nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %47
store i8 0, ptr %48, align 1
%49 = load ptr, ptr %8, align 8
%50 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%51 = call i32 @strcpy(ptr noundef %49, ptr noundef %50)
%52 = load ptr, ptr %8, align 8
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %7, align 4
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %53, i64 %56
store ptr %52, ptr %57, align 8
br label %72
58: ; preds = %20
%59 = load i32, ptr %6, align 4
%60 = sub nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %61
store i8 0, ptr %62, align 1
%63 = load ptr, ptr %8, align 8
%64 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%65 = call i32 @strcpy(ptr noundef %63, ptr noundef %64)
%66 = load ptr, ptr %8, align 8
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %7, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %7, align 4
%70 = sext i32 %68 to i64
%71 = getelementptr inbounds ptr, ptr %67, i64 %70
store ptr %66, ptr %71, align 8
br label %72
72: ; preds = %58, %44
br label %73
73: ; preds = %72
br label %11, !llvm.loop !8
74: ; preds = %11
%75 = load i32, ptr %7, align 4
%76 = load i32, ptr %5, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %78, label %83
78: ; preds = %74
%79 = load ptr, ptr %4, align 8
%80 = load i32, ptr %7, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds ptr, ptr %79, i64 %81
store ptr null, ptr %82, align 8
br label %83
83: ; preds = %78, %74
%84 = load i32, ptr %7, align 4
store i32 %84, ptr %3, align 4
br label %85
85: ; preds = %83, %19
%86 = load i32, ptr %3, align 4
ret i32 %86
}
declare i32 @my_getline(ptr noundef, i32 noundef) #1
declare ptr @alloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmk4x_yjo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readlines(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [1000 x i8], align 16
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
%11 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%12 = call i32 @my_getline(ptr noundef %11, i32 noundef 1000)
store i32 %12, ptr %6, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %.lr.ph2, label %78
.lr.ph2: ; preds = %2
br label %14
14: ; preds = %.lr.ph2, %75
%15 = load i32, ptr %6, align 4
%16 = call ptr @alloc(i32 noundef %15)
store ptr %16, ptr %8, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %14
store i32 -1, ptr %3, align 4
br label %89
19: ; preds = %14
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp sge i32 %20, %21
br i1 %22, label %23, label %60
23: ; preds = %19
store i32 0, ptr %10, align 4
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr %5, align 4
%26 = sub nsw i32 %25, 1
%27 = icmp slt i32 %24, %26
br i1 %27, label %.lr.ph, label %46
.lr.ph: ; preds = %23
br label %28
28: ; preds = %.lr.ph, %39
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %10, align 4
%31 = add nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %29, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
store ptr %34, ptr %38, align 8
br label %39
39: ; preds = %28
%40 = load i32, ptr %10, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %10, align 4
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %5, align 4
%44 = sub nsw i32 %43, 1
%45 = icmp slt i32 %42, %44
br i1 %45, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %46
46: ; preds = %._crit_edge, %23
%47 = load i32, ptr %6, align 4
%48 = sub nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %49
store i8 0, ptr %50, align 1
%51 = load ptr, ptr %8, align 8
%52 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%53 = call i32 @strcpy(ptr noundef %51, ptr noundef %52)
%54 = load ptr, ptr %8, align 8
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %7, align 4
%57 = sub nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %55, i64 %58
store ptr %54, ptr %59, align 8
br label %74
60: ; preds = %19
%61 = load i32, ptr %6, align 4
%62 = sub nsw i32 %61, 1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %63
store i8 0, ptr %64, align 1
%65 = load ptr, ptr %8, align 8
%66 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%67 = call i32 @strcpy(ptr noundef %65, ptr noundef %66)
%68 = load ptr, ptr %8, align 8
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %7, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %7, align 4
%72 = sext i32 %70 to i64
%73 = getelementptr inbounds ptr, ptr %69, i64 %72
store ptr %68, ptr %73, align 8
br label %74
74: ; preds = %60, %46
br label %75
75: ; preds = %74
%76 = call i32 @my_getline(ptr noundef %11, i32 noundef 1000)
store i32 %76, ptr %6, align 4
%77 = icmp sgt i32 %76, 0
br i1 %77, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %75
br label %78
78: ; preds = %._crit_edge3, %2
%79 = load i32, ptr %7, align 4
%80 = load i32, ptr %5, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %82, label %87
82: ; preds = %78
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %7, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds ptr, ptr %83, i64 %85
store ptr null, ptr %86, align 8
br label %87
87: ; preds = %82, %78
%88 = load i32, ptr %7, align 4
store i32 %88, ptr %3, align 4
br label %89
89: ; preds = %87, %18
%90 = load i32, ptr %3, align 4
ret i32 %90
}
declare i32 @my_getline(ptr noundef, i32 noundef) #1
declare ptr @alloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmppxku11ln.c'
source_filename = "/tmp/tmppxku11ln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"Inserire il primo numero di cinque ( > 0 e < 31 ): \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.3 = private unnamed_addr constant [54 x i8] c"Inserire il secondo numero di cinque ( > 0 e < 31 ): \00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"Inserire il terzo numero di cinque ( > 0 e < 31 ): \00", align 1
@.str.5 = private unnamed_addr constant [53 x i8] c"Inserire il quarto numero di cinque ( > 0 e < 31 ): \00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c"Inserire il quinto numero di cinque ( > 0 e < 31 ): \00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [50 x i8] c"\0ASono accettati solo valori compresi tra %u e %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.3)
%11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.4)
%13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %4)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.5)
%15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.6)
%17 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %6)
%18 = load i32, ptr %2, align 4
%19 = icmp uge i32 %18, 1
br i1 %19, label %20, label %103
20: ; preds = %0
%21 = load i32, ptr %2, align 4
%22 = icmp ule i32 %21, 30
br i1 %22, label %23, label %103
23: ; preds = %20
%24 = load i32, ptr %3, align 4
%25 = icmp uge i32 %24, 1
br i1 %25, label %26, label %103
26: ; preds = %23
%27 = load i32, ptr %3, align 4
%28 = icmp ule i32 %27, 30
br i1 %28, label %29, label %103
29: ; preds = %26
%30 = load i32, ptr %4, align 4
%31 = icmp uge i32 %30, 1
br i1 %31, label %32, label %103
32: ; preds = %29
%33 = load i32, ptr %4, align 4
%34 = icmp ule i32 %33, 30
br i1 %34, label %35, label %103
35: ; preds = %32
%36 = load i32, ptr %5, align 4
%37 = icmp uge i32 %36, 1
br i1 %37, label %38, label %103
38: ; preds = %35
%39 = load i32, ptr %5, align 4
%40 = icmp ule i32 %39, 30
br i1 %40, label %41, label %103
41: ; preds = %38
%42 = load i32, ptr %6, align 4
%43 = icmp uge i32 %42, 1
br i1 %43, label %44, label %103
44: ; preds = %41
%45 = load i32, ptr %6, align 4
%46 = icmp ule i32 %45, 30
br i1 %46, label %47, label %103
47: ; preds = %44
store i32 0, ptr %7, align 4
store i32 1, ptr %7, align 4
br label %48
48: ; preds = %54, %47
%49 = load i32, ptr %7, align 4
%50 = load i32, ptr %2, align 4
%51 = icmp ule i32 %49, %50
br i1 %51, label %52, label %57
52: ; preds = %48
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.7)
br label %54
54: ; preds = %52
%55 = load i32, ptr %7, align 4
%56 = add i32 %55, 1
store i32 %56, ptr %7, align 4
br label %48, !llvm.loop !6
57: ; preds = %48
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.8)
store i32 0, ptr %7, align 4
store i32 1, ptr %7, align 4
br label %59
59: ; preds = %65, %57
%60 = load i32, ptr %7, align 4
%61 = load i32, ptr %3, align 4
%62 = icmp ule i32 %60, %61
br i1 %62, label %63, label %68
63: ; preds = %59
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.7)
br label %65
65: ; preds = %63
%66 = load i32, ptr %7, align 4
%67 = add i32 %66, 1
store i32 %67, ptr %7, align 4
br label %59, !llvm.loop !8
68: ; preds = %59
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.8)
store i32 0, ptr %7, align 4
store i32 1, ptr %7, align 4
br label %70
70: ; preds = %76, %68
%71 = load i32, ptr %7, align 4
%72 = load i32, ptr %4, align 4
%73 = icmp ule i32 %71, %72
br i1 %73, label %74, label %79
74: ; preds = %70
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.7)
br label %76
76: ; preds = %74
%77 = load i32, ptr %7, align 4
%78 = add i32 %77, 1
store i32 %78, ptr %7, align 4
br label %70, !llvm.loop !9
79: ; preds = %70
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.8)
store i32 0, ptr %7, align 4
store i32 1, ptr %7, align 4
br label %81
81: ; preds = %87, %79
%82 = load i32, ptr %7, align 4
%83 = load i32, ptr %5, align 4
%84 = icmp ule i32 %82, %83
br i1 %84, label %85, label %90
85: ; preds = %81
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.7)
br label %87
87: ; preds = %85
%88 = load i32, ptr %7, align 4
%89 = add i32 %88, 1
store i32 %89, ptr %7, align 4
br label %81, !llvm.loop !10
90: ; preds = %81
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.8)
store i32 0, ptr %7, align 4
store i32 1, ptr %7, align 4
br label %92
92: ; preds = %98, %90
%93 = load i32, ptr %7, align 4
%94 = load i32, ptr %6, align 4
%95 = icmp ule i32 %93, %94
br i1 %95, label %96, label %101
96: ; preds = %92
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.7)
br label %98
98: ; preds = %96
%99 = load i32, ptr %7, align 4
%100 = add i32 %99, 1
store i32 %100, ptr %7, align 4
br label %92, !llvm.loop !11
101: ; preds = %92
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.8)
br label %105
103: ; preds = %44, %41, %38, %35, %32, %29, %26, %23, %20, %0
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef 1, i32 noundef 30)
br label %105
105: ; preds = %103, %101
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppxku11ln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"Inserire il primo numero di cinque ( > 0 e < 31 ): \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.3 = private unnamed_addr constant [54 x i8] c"Inserire il secondo numero di cinque ( > 0 e < 31 ): \00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"Inserire il terzo numero di cinque ( > 0 e < 31 ): \00", align 1
@.str.5 = private unnamed_addr constant [53 x i8] c"Inserire il quarto numero di cinque ( > 0 e < 31 ): \00", align 1
@.str.6 = private unnamed_addr constant [53 x i8] c"Inserire il quinto numero di cinque ( > 0 e < 31 ): \00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [50 x i8] c"\0ASono accettati solo valori compresi tra %u e %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.3)
%11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.4)
%13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %4)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.5)
%15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.6)
%17 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %6)
%18 = load i32, ptr %2, align 4
%19 = icmp uge i32 %18, 1
br i1 %19, label %20, label %113
20: ; preds = %0
%21 = load i32, ptr %2, align 4
%22 = icmp ule i32 %21, 30
br i1 %22, label %23, label %113
23: ; preds = %20
%24 = load i32, ptr %3, align 4
%25 = icmp uge i32 %24, 1
br i1 %25, label %26, label %113
26: ; preds = %23
%27 = load i32, ptr %3, align 4
%28 = icmp ule i32 %27, 30
br i1 %28, label %29, label %113
29: ; preds = %26
%30 = load i32, ptr %4, align 4
%31 = icmp uge i32 %30, 1
br i1 %31, label %32, label %113
32: ; preds = %29
%33 = load i32, ptr %4, align 4
%34 = icmp ule i32 %33, 30
br i1 %34, label %35, label %113
35: ; preds = %32
%36 = load i32, ptr %5, align 4
%37 = icmp uge i32 %36, 1
br i1 %37, label %38, label %113
38: ; preds = %35
%39 = load i32, ptr %5, align 4
%40 = icmp ule i32 %39, 30
br i1 %40, label %41, label %113
41: ; preds = %38
%42 = load i32, ptr %6, align 4
%43 = icmp uge i32 %42, 1
br i1 %43, label %44, label %113
44: ; preds = %41
%45 = load i32, ptr %6, align 4
%46 = icmp ule i32 %45, 30
br i1 %46, label %47, label %113
47: ; preds = %44
store i32 0, ptr %7, align 4
store i32 1, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp ule i32 %48, %49
br i1 %50, label %.lr.ph, label %59
.lr.ph: ; preds = %47
br label %51
51: ; preds = %.lr.ph, %53
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.7)
br label %53
53: ; preds = %51
%54 = load i32, ptr %7, align 4
%55 = add i32 %54, 1
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %2, align 4
%58 = icmp ule i32 %56, %57
br i1 %58, label %51, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %59
59: ; preds = %._crit_edge, %47
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.8)
store i32 0, ptr %7, align 4
store i32 1, ptr %7, align 4
%61 = load i32, ptr %7, align 4
%62 = load i32, ptr %3, align 4
%63 = icmp ule i32 %61, %62
br i1 %63, label %.lr.ph2, label %72
.lr.ph2: ; preds = %59
br label %64
64: ; preds = %.lr.ph2, %66
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.7)
br label %66
66: ; preds = %64
%67 = load i32, ptr %7, align 4
%68 = add i32 %67, 1
store i32 %68, ptr %7, align 4
%69 = load i32, ptr %7, align 4
%70 = load i32, ptr %3, align 4
%71 = icmp ule i32 %69, %70
br i1 %71, label %64, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %66
br label %72
72: ; preds = %._crit_edge3, %59
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.8)
store i32 0, ptr %7, align 4
store i32 1, ptr %7, align 4
%74 = load i32, ptr %7, align 4
%75 = load i32, ptr %4, align 4
%76 = icmp ule i32 %74, %75
br i1 %76, label %.lr.ph5, label %85
.lr.ph5: ; preds = %72
br label %77
77: ; preds = %.lr.ph5, %79
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.7)
br label %79
79: ; preds = %77
%80 = load i32, ptr %7, align 4
%81 = add i32 %80, 1
store i32 %81, ptr %7, align 4
%82 = load i32, ptr %7, align 4
%83 = load i32, ptr %4, align 4
%84 = icmp ule i32 %82, %83
br i1 %84, label %77, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %79
br label %85
85: ; preds = %._crit_edge6, %72
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.8)
store i32 0, ptr %7, align 4
store i32 1, ptr %7, align 4
%87 = load i32, ptr %7, align 4
%88 = load i32, ptr %5, align 4
%89 = icmp ule i32 %87, %88
br i1 %89, label %.lr.ph8, label %98
.lr.ph8: ; preds = %85
br label %90
90: ; preds = %.lr.ph8, %92
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.7)
br label %92
92: ; preds = %90
%93 = load i32, ptr %7, align 4
%94 = add i32 %93, 1
store i32 %94, ptr %7, align 4
%95 = load i32, ptr %7, align 4
%96 = load i32, ptr %5, align 4
%97 = icmp ule i32 %95, %96
br i1 %97, label %90, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %92
br label %98
98: ; preds = %._crit_edge9, %85
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.8)
store i32 0, ptr %7, align 4
store i32 1, ptr %7, align 4
%100 = load i32, ptr %7, align 4
%101 = load i32, ptr %6, align 4
%102 = icmp ule i32 %100, %101
br i1 %102, label %.lr.ph11, label %111
.lr.ph11: ; preds = %98
br label %103
103: ; preds = %.lr.ph11, %105
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.7)
br label %105
105: ; preds = %103
%106 = load i32, ptr %7, align 4
%107 = add i32 %106, 1
store i32 %107, ptr %7, align 4
%108 = load i32, ptr %7, align 4
%109 = load i32, ptr %6, align 4
%110 = icmp ule i32 %108, %109
br i1 %110, label %103, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %105
br label %111
111: ; preds = %._crit_edge12, %98
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.8)
br label %115
113: ; preds = %44, %41, %38, %35, %32, %29, %26, %23, %20, %0
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef 1, i32 noundef 30)
br label %115
115: ; preds = %113, %111
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpelx5a4zt.c'
source_filename = "/tmp/tmpelx5a4zt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xb1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0xb1() #0 {
%1 = call i64 @isascii(i32 noundef 177)
%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 890, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isascii(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/tmpelx5a4zt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xb1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0xb1() #0 {
%1 = call i64 @isascii(i32 noundef 177)
%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 890, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isascii(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/tmpe0zau5_6.c'
source_filename = "/tmp/tmpe0zau5_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2textyzf(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, ptr noundef %5) #0 {
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca ptr, align 8
store float %0, ptr %7, align 4
store float %1, ptr %8, align 4
store float %2, ptr %9, align 4
store float %3, ptr %10, align 4
store float %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%13 = load float, ptr %7, align 4
%14 = load float, ptr %8, align 4
%15 = load float, ptr %9, align 4
%16 = load float, ptr %10, align 4
%17 = load float, ptr %11, align 4
%18 = load ptr, ptr %12, align 8
%19 = call i32 @_s2_priv_textab(float noundef %13, float noundef %14, float noundef %15, i32 noundef 1, i32 noundef 2, float noundef %16, float noundef %17, ptr noundef %18)
ret void
}
declare i32 @_s2_priv_textab(float noundef, float noundef, float noundef, i32 noundef, i32 noundef, float noundef, float 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/tmpe0zau5_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2textyzf(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, ptr noundef %5) #0 {
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca ptr, align 8
store float %0, ptr %7, align 4
store float %1, ptr %8, align 4
store float %2, ptr %9, align 4
store float %3, ptr %10, align 4
store float %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%13 = load float, ptr %7, align 4
%14 = load float, ptr %8, align 4
%15 = load float, ptr %9, align 4
%16 = load float, ptr %10, align 4
%17 = load float, ptr %11, align 4
%18 = load ptr, ptr %12, align 8
%19 = call i32 @_s2_priv_textab(float noundef %13, float noundef %14, float noundef %15, i32 noundef 1, i32 noundef 2, float noundef %16, float noundef %17, ptr noundef %18)
ret void
}
declare i32 @_s2_priv_textab(float noundef, float noundef, float noundef, i32 noundef, i32 noundef, float noundef, float 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/tmpup2mkkpe.c'
source_filename = "/tmp/tmpup2mkkpe.c"
target datalayout = "e-m:e-p270: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/tmpup2mkkpe.c"
target datalayout = "e-m:e-p270: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/tmpduwxuptr.c'
source_filename = "/tmp/tmpduwxuptr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @hello_world()
ret i32 0
}
declare i32 @hello_world(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpduwxuptr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @hello_world()
ret i32 0
}
declare i32 @hello_world(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz6ae8x4g.c'
source_filename = "/tmp/tmpz6ae8x4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reshape(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = call i32 @glFrustum(double noundef -1.000000e+00, double noundef 1.000000e+00, double noundef -1.000000e+00, double noundef 1.000000e+00, double noundef 1.500000e+00, double noundef 7.000000e+01)
%12 = load i32, ptr @GL_MODELVIEW, align 4
%13 = call i32 @glMatrixMode(i32 noundef %12)
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @glFrustum(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz6ae8x4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reshape(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = call i32 @glFrustum(double noundef -1.000000e+00, double noundef 1.000000e+00, double noundef -1.000000e+00, double noundef 1.000000e+00, double noundef 1.500000e+00, double noundef 7.000000e+01)
%12 = load i32, ptr @GL_MODELVIEW, align 4
%13 = call i32 @glMatrixMode(i32 noundef %12)
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @glFrustum(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcs7t0jje.c'
source_filename = "/tmp/tmpcs7t0jje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtime_compress(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [256 x i32], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i8, align 1
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%16 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 0
%17 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef 1024)
br label %18
18: ; preds = %90, %4
%19 = load i32, ptr %12, align 4
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %20, align 4
%22 = icmp slt i32 %19, %21
br i1 %22, label %23, label %29
23: ; preds = %18
%24 = load i32, ptr %11, align 4
%25 = load ptr, ptr %9, align 8
%26 = load i32, ptr %25, align 4
%27 = sub nsw i32 %26, 2
%28 = icmp sle i32 %24, %27
br label %29
29: ; preds = %23, %18
%30 = phi i1 [ false, %18 ], [ %28, %23 ]
br i1 %30, label %31, label %98
31: ; preds = %29
store i32 0, ptr %14, align 4
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %12, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
store i8 %36, ptr %15, align 1
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %12, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %12, align 4
%40 = sext i32 %38 to i64
%41 = getelementptr inbounds i8, ptr %37, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %11, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %11, align 4
%46 = sext i32 %44 to i64
%47 = getelementptr inbounds i8, ptr %43, i64 %46
store i8 %42, ptr %47, align 1
%48 = load i8, ptr %15, align 1
%49 = zext i8 %48 to i64
%50 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
store i32 %51, ptr %13, align 4
%52 = load i32, ptr %12, align 4
%53 = load i8, ptr %15, align 1
%54 = zext i8 %53 to i64
%55 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 %54
store i32 %52, ptr %55, align 4
br label %56
56: ; preds = %85, %31
%57 = load i32, ptr %13, align 4
%58 = load i32, ptr %12, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %83
60: ; preds = %56
%61 = load i32, ptr %12, align 4
%62 = load ptr, ptr %8, align 8
%63 = load i32, ptr %62, align 4
%64 = icmp slt i32 %61, %63
br i1 %64, label %65, label %83
65: ; preds = %60
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %12, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = zext i8 %70 to i32
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %13, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %13, align 4
%75 = sext i32 %73 to i64
%76 = getelementptr inbounds i8, ptr %72, i64 %75
%77 = load i8, ptr %76, align 1
%78 = zext i8 %77 to i32
%79 = icmp eq i32 %71, %78
br i1 %79, label %80, label %83
80: ; preds = %65
%81 = load i32, ptr %14, align 4
%82 = icmp slt i32 %81, 255
br label %83
83: ; preds = %80, %65, %60, %56
%84 = phi i1 [ false, %65 ], [ false, %60 ], [ false, %56 ], [ %82, %80 ]
br i1 %84, label %85, label %90
85: ; preds = %83
%86 = load i32, ptr %12, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %12, align 4
%88 = load i32, ptr %14, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %14, align 4
br label %56, !llvm.loop !6
90: ; preds = %83
%91 = load i32, ptr %14, align 4
%92 = trunc i32 %91 to i8
%93 = load ptr, ptr %7, align 8
%94 = load i32, ptr %11, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %11, align 4
%96 = sext i32 %94 to i64
%97 = getelementptr inbounds i8, ptr %93, i64 %96
store i8 %92, ptr %97, align 1
br label %18, !llvm.loop !8
98: ; preds = %29
%99 = load i32, ptr %11, align 4
%100 = load i32, ptr %12, align 4
%101 = icmp sge i32 %99, %100
br i1 %101, label %102, label %103
102: ; preds = %98
store i32 -1, ptr %5, align 4
br label %108
103: ; preds = %98
%104 = load i32, ptr %12, align 4
%105 = load ptr, ptr %8, align 8
store i32 %104, ptr %105, align 4
%106 = load i32, ptr %11, align 4
%107 = load ptr, ptr %9, align 8
store i32 %106, ptr %107, align 4
store i32 0, ptr %5, align 4
br label %108
108: ; preds = %103, %102
%109 = load i32, ptr %5, align 4
ret i32 %109
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcs7t0jje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtime_compress(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [256 x i32], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i8, align 1
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%16 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 0
%17 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef 1024)
br label %18
18: ; preds = %90, %4
%19 = load i32, ptr %12, align 4
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %20, align 4
%22 = icmp slt i32 %19, %21
br i1 %22, label %23, label %29
23: ; preds = %18
%24 = load i32, ptr %11, align 4
%25 = load ptr, ptr %9, align 8
%26 = load i32, ptr %25, align 4
%27 = sub nsw i32 %26, 2
%28 = icmp sle i32 %24, %27
br label %29
29: ; preds = %23, %18
%30 = phi i1 [ false, %18 ], [ %28, %23 ]
br i1 %30, label %31, label %98
31: ; preds = %29
store i32 0, ptr %14, align 4
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %12, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
store i8 %36, ptr %15, align 1
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %12, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %12, align 4
%40 = sext i32 %38 to i64
%41 = getelementptr inbounds i8, ptr %37, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %11, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %11, align 4
%46 = sext i32 %44 to i64
%47 = getelementptr inbounds i8, ptr %43, i64 %46
store i8 %42, ptr %47, align 1
%48 = load i8, ptr %15, align 1
%49 = zext i8 %48 to i64
%50 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
store i32 %51, ptr %13, align 4
%52 = load i32, ptr %12, align 4
%53 = load i8, ptr %15, align 1
%54 = zext i8 %53 to i64
%55 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 %54
store i32 %52, ptr %55, align 4
br label %56
56: ; preds = %85, %31
%57 = load i32, ptr %13, align 4
%58 = load i32, ptr %12, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %83
60: ; preds = %56
%61 = load i32, ptr %12, align 4
%62 = load ptr, ptr %8, align 8
%63 = load i32, ptr %62, align 4
%64 = icmp slt i32 %61, %63
br i1 %64, label %65, label %83
65: ; preds = %60
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %12, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = zext i8 %70 to i32
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %13, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %13, align 4
%75 = sext i32 %73 to i64
%76 = getelementptr inbounds i8, ptr %72, i64 %75
%77 = load i8, ptr %76, align 1
%78 = zext i8 %77 to i32
%79 = icmp eq i32 %71, %78
br i1 %79, label %80, label %83
80: ; preds = %65
%81 = load i32, ptr %14, align 4
%82 = icmp slt i32 %81, 255
br label %83
83: ; preds = %80, %65, %60, %56
%84 = phi i1 [ false, %65 ], [ false, %60 ], [ false, %56 ], [ %82, %80 ]
br i1 %84, label %85, label %90
85: ; preds = %83
%86 = load i32, ptr %12, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %12, align 4
%88 = load i32, ptr %14, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %14, align 4
br label %56, !llvm.loop !6
90: ; preds = %83
%91 = load i32, ptr %14, align 4
%92 = trunc i32 %91 to i8
%93 = load ptr, ptr %7, align 8
%94 = load i32, ptr %11, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %11, align 4
%96 = sext i32 %94 to i64
%97 = getelementptr inbounds i8, ptr %93, i64 %96
store i8 %92, ptr %97, align 1
br label %18, !llvm.loop !8
98: ; preds = %29
%99 = load i32, ptr %11, align 4
%100 = load i32, ptr %12, align 4
%101 = icmp sge i32 %99, %100
br i1 %101, label %102, label %103
102: ; preds = %98
store i32 -1, ptr %5, align 4
br label %108
103: ; preds = %98
%104 = load i32, ptr %12, align 4
%105 = load ptr, ptr %8, align 8
store i32 %104, ptr %105, align 4
%106 = load i32, ptr %11, align 4
%107 = load ptr, ptr %9, align 8
store i32 %106, ptr %107, align 4
store i32 0, ptr %5, align 4
br label %108
108: ; preds = %103, %102
%109 = load i32, ptr %5, align 4
ret i32 %109
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3lrlccsk.c'
source_filename = "/tmp/tmp3lrlccsk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsstr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %11, align 4
store i32 %12, ptr %6, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %117
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i32, ptr %15, i32 -1
store ptr %16, ptr %4, align 8
br label %17
17: ; preds = %24, %14
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i32, ptr %18, i32 1
store ptr %19, ptr %4, align 8
%20 = load i32, ptr %19, align 4
store i32 %20, ptr %7, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %17
br label %120
23: ; preds = %17
br label %24
24: ; preds = %23
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %17, label %28, !llvm.loop !6
28: ; preds = %24
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i32, ptr %29, i32 1
store ptr %30, ptr %5, align 8
%31 = load i32, ptr %30, align 4
store i32 %31, ptr %7, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %28
br label %118
34: ; preds = %28
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i32, ptr %35, i32 1
store ptr %36, ptr %5, align 8
br label %63
37: ; No predecessors!
br label %38
38: ; preds = %115, %37
br label %39
39: ; preds = %58, %38
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds i32, ptr %40, i32 1
store ptr %41, ptr %4, align 8
%42 = load i32, ptr %41, align 4
store i32 %42, ptr %8, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %45, label %44
44: ; preds = %39
br label %120
45: ; preds = %39
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr %6, 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 %4, align 8
%52 = getelementptr inbounds i32, ptr %51, i32 1
store ptr %52, ptr %4, align 8
%53 = load i32, ptr %52, align 4
store i32 %53, ptr %8, align 4
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %50
br label %120
56: ; preds = %50
br label %57
57: ; preds = %73, %56
br label %58
58: ; preds = %57
%59 = load i32, ptr %8, align 4
%60 = load i32, ptr %6, align 4
%61 = icmp ne i32 %59, %60
br i1 %61, label %39, label %62, !llvm.loop !8
62: ; preds = %58, %49
br label %63
63: ; preds = %62, %34
%64 = load ptr, ptr %4, align 8
%65 = getelementptr inbounds i32, ptr %64, i32 1
store ptr %65, ptr %4, align 8
%66 = load i32, ptr %65, align 4
store i32 %66, ptr %8, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %69, label %68
68: ; preds = %63
br label %120
69: ; preds = %63
%70 = load i32, ptr %8, align 4
%71 = load i32, ptr %7, align 4
%72 = icmp ne i32 %70, %71
br i1 %72, label %73, label %74
73: ; preds = %69
br label %57
74: ; preds = %69
%75 = load ptr, ptr %4, align 8
%76 = getelementptr inbounds i32, ptr %75, i32 -1
store ptr %76, ptr %4, align 8
%77 = getelementptr inbounds i32, ptr %75, i64 1
store ptr %77, ptr %9, align 8
%78 = load i32, ptr %77, align 4
%79 = load ptr, ptr %5, align 8
store ptr %79, ptr %10, align 8
%80 = load i32, ptr %79, align 4
store i32 %80, ptr %8, align 4
%81 = icmp eq i32 %78, %80
br i1 %81, label %82, label %110
82: ; preds = %74
br label %83
83: ; preds = %101, %82
%84 = load i32, ptr %8, align 4
%85 = icmp eq i32 %84, 0
br i1 %85, label %86, label %87
86: ; preds = %83
br label %118
87: ; preds = %83
%88 = load ptr, ptr %9, align 8
%89 = getelementptr inbounds i32, ptr %88, i32 1
store ptr %89, ptr %9, align 8
%90 = load i32, ptr %89, align 4
%91 = load ptr, ptr %5, align 8
%92 = getelementptr inbounds i32, ptr %91, i32 1
store ptr %92, ptr %5, align 8
%93 = load i32, ptr %92, align 4
store i32 %93, ptr %8, align 4
%94 = icmp ne i32 %90, %93
br i1 %94, label %95, label %96
95: ; preds = %87
br label %109
96: ; preds = %87
%97 = load i32, ptr %8, align 4
%98 = icmp eq i32 %97, 0
br i1 %98, label %99, label %100
99: ; preds = %96
br label %118
100: ; preds = %96
br label %101
101: ; preds = %100
%102 = load ptr, ptr %9, align 8
%103 = getelementptr inbounds i32, ptr %102, i32 1
store ptr %103, ptr %9, align 8
%104 = load i32, ptr %103, align 4
%105 = load ptr, ptr %5, align 8
%106 = getelementptr inbounds i32, ptr %105, i32 1
store ptr %106, ptr %5, align 8
%107 = load i32, ptr %106, align 4
store i32 %107, ptr %8, align 4
%108 = icmp eq i32 %104, %107
br i1 %108, label %83, label %109, !llvm.loop !9
109: ; preds = %101, %95
br label %110
110: ; preds = %109, %74
%111 = load ptr, ptr %10, align 8
store ptr %111, ptr %5, align 8
%112 = load i32, ptr %8, align 4
%113 = icmp eq i32 %112, 0
br i1 %113, label %114, label %115
114: ; preds = %110
br label %116
115: ; preds = %110
br label %38
116: ; preds = %114
br label %117
117: ; preds = %116, %2
br label %118
118: ; preds = %117, %99, %86, %33
%119 = load ptr, ptr %4, align 8
store ptr %119, ptr %3, align 8
br label %121
120: ; preds = %68, %55, %44, %22
store ptr null, ptr %3, align 8
br label %121
121: ; preds = %120, %118
%122 = load ptr, ptr %3, align 8
ret ptr %122
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3lrlccsk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsstr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %11, align 4
store i32 %12, ptr %6, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %120
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i32, ptr %15, i32 -1
store ptr %16, ptr %4, align 8
br label %17
17: ; preds = %24, %14
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i32, ptr %18, i32 1
store ptr %19, ptr %4, align 8
%20 = load i32, ptr %19, align 4
store i32 %20, ptr %7, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %17
br label %123
23: ; preds = %17
br label %24
24: ; preds = %23
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %17, label %28, !llvm.loop !6
28: ; preds = %24
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i32, ptr %29, i32 1
store ptr %30, ptr %5, align 8
%31 = load i32, ptr %30, align 4
store i32 %31, ptr %7, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %28
br label %121
34: ; preds = %28
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i32, ptr %35, i32 1
store ptr %36, ptr %5, align 8
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds i32, ptr %37, i32 1
store ptr %38, ptr %4, align 8
%39 = load i32, ptr %38, align 4
store i32 %39, ptr %8, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %.lr.ph, label %71
.lr.ph: ; preds = %34
br label %72
41: ; No predecessors!
unreachable
42: ; preds = %118
br label %43
43: ; preds = %62, %42
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds i32, ptr %44, i32 1
store ptr %45, ptr %4, align 8
%46 = load i32, ptr %45, align 4
store i32 %46, ptr %8, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %49, label %48
48: ; preds = %43
br label %123
49: ; preds = %43
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %6, align 4
%52 = icmp eq i32 %50, %51
br i1 %52, label %53, label %54
53: ; preds = %49
br label %66
54: ; preds = %49
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds i32, ptr %55, i32 1
store ptr %56, ptr %4, align 8
%57 = load i32, ptr %56, align 4
store i32 %57, ptr %8, align 4
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %60
59: ; preds = %54
br label %123
60: ; preds = %54
br label %61
61: ; preds = %76, %60
br label %62
62: ; preds = %61
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %6, align 4
%65 = icmp ne i32 %63, %64
br i1 %65, label %43, label %66, !llvm.loop !8
66: ; preds = %62, %53
%67 = load ptr, ptr %4, align 8
%68 = getelementptr inbounds i32, ptr %67, i32 1
store ptr %68, ptr %4, align 8
%69 = load i32, ptr %68, align 4
store i32 %69, ptr %8, align 4
%70 = icmp ne i32 %69, 0
br i1 %70, label %72, label %._crit_edge
._crit_edge: ; preds = %66
br label %71
71: ; preds = %._crit_edge, %34
br label %123
72: ; preds = %.lr.ph, %66
%73 = load i32, ptr %8, align 4
%74 = load i32, ptr %7, align 4
%75 = icmp ne i32 %73, %74
br i1 %75, label %76, label %77
76: ; preds = %72
br label %61
77: ; preds = %72
%78 = load ptr, ptr %4, align 8
%79 = getelementptr inbounds i32, ptr %78, i32 -1
store ptr %79, ptr %4, align 8
%80 = getelementptr inbounds i32, ptr %78, i64 1
store ptr %80, ptr %9, align 8
%81 = load i32, ptr %80, align 4
%82 = load ptr, ptr %5, align 8
store ptr %82, ptr %10, align 8
%83 = load i32, ptr %82, align 4
store i32 %83, ptr %8, align 4
%84 = icmp eq i32 %81, %83
br i1 %84, label %85, label %113
85: ; preds = %77
br label %86
86: ; preds = %104, %85
%87 = load i32, ptr %8, align 4
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %90
89: ; preds = %86
br label %121
90: ; preds = %86
%91 = load ptr, ptr %9, align 8
%92 = getelementptr inbounds i32, ptr %91, i32 1
store ptr %92, ptr %9, align 8
%93 = load i32, ptr %92, align 4
%94 = load ptr, ptr %5, align 8
%95 = getelementptr inbounds i32, ptr %94, i32 1
store ptr %95, ptr %5, align 8
%96 = load i32, ptr %95, align 4
store i32 %96, ptr %8, align 4
%97 = icmp ne i32 %93, %96
br i1 %97, label %98, label %99
98: ; preds = %90
br label %112
99: ; preds = %90
%100 = load i32, ptr %8, align 4
%101 = icmp eq i32 %100, 0
br i1 %101, label %102, label %103
102: ; preds = %99
br label %121
103: ; preds = %99
br label %104
104: ; preds = %103
%105 = load ptr, ptr %9, align 8
%106 = getelementptr inbounds i32, ptr %105, i32 1
store ptr %106, ptr %9, align 8
%107 = load i32, ptr %106, align 4
%108 = load ptr, ptr %5, align 8
%109 = getelementptr inbounds i32, ptr %108, i32 1
store ptr %109, ptr %5, align 8
%110 = load i32, ptr %109, align 4
store i32 %110, ptr %8, align 4
%111 = icmp eq i32 %107, %110
br i1 %111, label %86, label %.loopexit, !llvm.loop !9
.loopexit: ; preds = %104
br label %112
112: ; preds = %.loopexit, %98
br label %113
113: ; preds = %112, %77
%114 = load ptr, ptr %10, align 8
store ptr %114, ptr %5, align 8
%115 = load i32, ptr %8, align 4
%116 = icmp eq i32 %115, 0
br i1 %116, label %117, label %118
117: ; preds = %113
br label %119
118: ; preds = %113
br label %42
119: ; preds = %117
br label %120
120: ; preds = %119, %2
br label %121
121: ; preds = %120, %102, %89, %33
%122 = load ptr, ptr %4, align 8
store ptr %122, ptr %3, align 8
br label %124
123: ; preds = %71, %59, %48, %22
store ptr null, ptr %3, align 8
br label %124
124: ; preds = %123, %121
%125 = load ptr, ptr %3, align 8
ret ptr %125
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp03fnqwaj.c'
source_filename = "/tmp/tmp03fnqwaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Error: %s for file \22%s\22\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @attemptOpen(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %17, label %10
10: ; preds = %2
%11 = load i32, ptr @errno, align 4
%12 = call ptr @strerror(i32 noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = call i32 @usage(ptr noundef %15)
br label %17
17: ; preds = %10, %2
%18 = load ptr, ptr %5, align 8
ret ptr %18
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @usage(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp03fnqwaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Error: %s for file \22%s\22\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @attemptOpen(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %17, label %10
10: ; preds = %2
%11 = load i32, ptr @errno, align 4
%12 = call ptr @strerror(i32 noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = call i32 @usage(ptr noundef %15)
br label %17
17: ; preds = %10, %2
%18 = load ptr, ptr %5, align 8
ret ptr %18
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @usage(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjbtue4b1.c'
source_filename = "/tmp/tmpjbtue4b1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MPFR_RNDN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @P(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%16 = call i32 @mpfr_set_default_prec(i32 noundef 1024)
%17 = load i32, ptr %6, align 4
%18 = call i32 @mpfr_init(i32 noundef %17)
%19 = load i32, ptr %10, align 4
%20 = call i32 @mpfr_init(i32 noundef %19)
%21 = load i32, ptr %7, align 4
%22 = call i32 @mpfr_init(i32 noundef %21)
%23 = load i32, ptr %8, align 4
%24 = call i32 @mpfr_init(i32 noundef %23)
%25 = load i32, ptr %9, align 4
%26 = call i32 @mpfr_init(i32 noundef %25)
%27 = load i32, ptr %11, align 4
%28 = call i32 @mpfr_init(i32 noundef %27)
%29 = load i32, ptr %12, align 4
%30 = call i32 @mpfr_init(i32 noundef %29)
%31 = load i32, ptr %13, align 4
%32 = call i32 @mpfr_init(i32 noundef %31)
%33 = load i32, ptr %15, align 4
%34 = call i32 @mpfr_init(i32 noundef %33)
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr @MPFR_RNDN, align 4
%38 = call i32 @mpfr_add_ui(i32 noundef %35, i32 noundef %36, i32 noundef 1, i32 noundef %37)
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr @MPFR_RNDN, align 4
%42 = call i32 @mpfr_add_ui(i32 noundef %39, i32 noundef %40, i32 noundef 1, i32 noundef %41)
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %10, align 4
%45 = load i32, ptr @MPFR_RNDN, align 4
%46 = call i32 @mpfr_exp2(i32 noundef %43, i32 noundef %44, i32 noundef %45)
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %3, align 4
%50 = load i32, ptr @MPFR_RNDN, align 4
%51 = call i32 @mpfr_sub(i32 noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %50)
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr @MPFR_RNDN, align 4
%55 = call i32 @mpfr_sub_ui(i32 noundef %52, i32 noundef %53, i32 noundef 2, i32 noundef %54)
%56 = load i32, ptr %8, align 4
%57 = load i32, ptr %6, align 4
%58 = load i32, ptr %7, align 4
%59 = load i32, ptr @MPFR_RNDN, align 4
%60 = call i32 @mpfr_div(i32 noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %59)
%61 = load i32, ptr %8, align 4
%62 = load i32, ptr %8, align 4
%63 = load i32, ptr @MPFR_RNDN, align 4
%64 = call i32 @mpfr_neg(i32 noundef %61, i32 noundef %62, i32 noundef %63)
%65 = load i32, ptr %8, align 4
%66 = load i32, ptr %8, align 4
%67 = load i32, ptr @MPFR_RNDN, align 4
%68 = call i32 @mpfr_exp(i32 noundef %65, i32 noundef %66, i32 noundef %67)
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr %10, align 4
%71 = load i32, ptr @MPFR_RNDN, align 4
%72 = call i32 @mpfr_exp2(i32 noundef %69, i32 noundef %70, i32 noundef %71)
%73 = load i32, ptr %9, align 4
%74 = load i32, ptr %9, align 4
%75 = load i32, ptr @MPFR_RNDN, align 4
%76 = call i32 @mpfr_sub_ui(i32 noundef %73, i32 noundef %74, i32 noundef 1, i32 noundef %75)
%77 = load i32, ptr %11, align 4
%78 = load i32, ptr %10, align 4
%79 = load i32, ptr @MPFR_RNDN, align 4
%80 = call i32 @mpfr_exp2(i32 noundef %77, i32 noundef %78, i32 noundef %79)
%81 = load i32, ptr %12, align 4
%82 = load i32, ptr %3, align 4
%83 = load i32, ptr @MPFR_RNDN, align 4
%84 = call i32 @mpfr_add_ui(i32 noundef %81, i32 noundef %82, i32 noundef 2, i32 noundef %83)
%85 = load i32, ptr %12, align 4
%86 = load i32, ptr %12, align 4
%87 = load i32, ptr @MPFR_RNDN, align 4
%88 = call i32 @mpfr_div_ui(i32 noundef %85, i32 noundef %86, i32 noundef 2, i32 noundef %87)
%89 = load i32, ptr %11, align 4
%90 = load i32, ptr %11, align 4
%91 = load i32, ptr %12, align 4
%92 = load i32, ptr @MPFR_RNDN, align 4
%93 = call i32 @mpfr_sub(i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92)
%94 = load i32, ptr %13, align 4
%95 = load i32, ptr %9, align 4
%96 = load i32, ptr %11, align 4
%97 = load i32, ptr @MPFR_RNDN, align 4
%98 = call i32 @mpfr_div(i32 noundef %94, i32 noundef %95, i32 noundef %96, i32 noundef %97)
%99 = load i32, ptr %15, align 4
%100 = load i32, ptr %8, align 4
%101 = load i32, ptr %13, align 4
%102 = load i32, ptr @MPFR_RNDN, align 4
%103 = call i32 @mpfr_mul(i32 noundef %99, i32 noundef %100, i32 noundef %101, i32 noundef %102)
%104 = load i32, ptr %15, align 4
%105 = load i32, ptr @MPFR_RNDN, align 4
%106 = call double @mpfr_get_d(i32 noundef %104, i32 noundef %105)
store double %106, ptr %5, align 8
%107 = load double, ptr %5, align 8
ret double %107
}
declare i32 @mpfr_set_default_prec(i32 noundef) #1
declare i32 @mpfr_init(i32 noundef) #1
declare i32 @mpfr_add_ui(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_exp2(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_sub(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_sub_ui(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_div(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_neg(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_exp(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_div_ui(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_mul(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare double @mpfr_get_d(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/tmpjbtue4b1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MPFR_RNDN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @P(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%16 = call i32 @mpfr_set_default_prec(i32 noundef 1024)
%17 = load i32, ptr %6, align 4
%18 = call i32 @mpfr_init(i32 noundef %17)
%19 = load i32, ptr %10, align 4
%20 = call i32 @mpfr_init(i32 noundef %19)
%21 = load i32, ptr %7, align 4
%22 = call i32 @mpfr_init(i32 noundef %21)
%23 = load i32, ptr %8, align 4
%24 = call i32 @mpfr_init(i32 noundef %23)
%25 = load i32, ptr %9, align 4
%26 = call i32 @mpfr_init(i32 noundef %25)
%27 = load i32, ptr %11, align 4
%28 = call i32 @mpfr_init(i32 noundef %27)
%29 = load i32, ptr %12, align 4
%30 = call i32 @mpfr_init(i32 noundef %29)
%31 = load i32, ptr %13, align 4
%32 = call i32 @mpfr_init(i32 noundef %31)
%33 = load i32, ptr %15, align 4
%34 = call i32 @mpfr_init(i32 noundef %33)
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr @MPFR_RNDN, align 4
%38 = call i32 @mpfr_add_ui(i32 noundef %35, i32 noundef %36, i32 noundef 1, i32 noundef %37)
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr @MPFR_RNDN, align 4
%42 = call i32 @mpfr_add_ui(i32 noundef %39, i32 noundef %40, i32 noundef 1, i32 noundef %41)
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %10, align 4
%45 = load i32, ptr @MPFR_RNDN, align 4
%46 = call i32 @mpfr_exp2(i32 noundef %43, i32 noundef %44, i32 noundef %45)
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %3, align 4
%50 = load i32, ptr @MPFR_RNDN, align 4
%51 = call i32 @mpfr_sub(i32 noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %50)
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr @MPFR_RNDN, align 4
%55 = call i32 @mpfr_sub_ui(i32 noundef %52, i32 noundef %53, i32 noundef 2, i32 noundef %54)
%56 = load i32, ptr %8, align 4
%57 = load i32, ptr %6, align 4
%58 = load i32, ptr %7, align 4
%59 = load i32, ptr @MPFR_RNDN, align 4
%60 = call i32 @mpfr_div(i32 noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %59)
%61 = load i32, ptr %8, align 4
%62 = load i32, ptr %8, align 4
%63 = load i32, ptr @MPFR_RNDN, align 4
%64 = call i32 @mpfr_neg(i32 noundef %61, i32 noundef %62, i32 noundef %63)
%65 = load i32, ptr %8, align 4
%66 = load i32, ptr %8, align 4
%67 = load i32, ptr @MPFR_RNDN, align 4
%68 = call i32 @mpfr_exp(i32 noundef %65, i32 noundef %66, i32 noundef %67)
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr %10, align 4
%71 = load i32, ptr @MPFR_RNDN, align 4
%72 = call i32 @mpfr_exp2(i32 noundef %69, i32 noundef %70, i32 noundef %71)
%73 = load i32, ptr %9, align 4
%74 = load i32, ptr %9, align 4
%75 = load i32, ptr @MPFR_RNDN, align 4
%76 = call i32 @mpfr_sub_ui(i32 noundef %73, i32 noundef %74, i32 noundef 1, i32 noundef %75)
%77 = load i32, ptr %11, align 4
%78 = load i32, ptr %10, align 4
%79 = load i32, ptr @MPFR_RNDN, align 4
%80 = call i32 @mpfr_exp2(i32 noundef %77, i32 noundef %78, i32 noundef %79)
%81 = load i32, ptr %12, align 4
%82 = load i32, ptr %3, align 4
%83 = load i32, ptr @MPFR_RNDN, align 4
%84 = call i32 @mpfr_add_ui(i32 noundef %81, i32 noundef %82, i32 noundef 2, i32 noundef %83)
%85 = load i32, ptr %12, align 4
%86 = load i32, ptr %12, align 4
%87 = load i32, ptr @MPFR_RNDN, align 4
%88 = call i32 @mpfr_div_ui(i32 noundef %85, i32 noundef %86, i32 noundef 2, i32 noundef %87)
%89 = load i32, ptr %11, align 4
%90 = load i32, ptr %11, align 4
%91 = load i32, ptr %12, align 4
%92 = load i32, ptr @MPFR_RNDN, align 4
%93 = call i32 @mpfr_sub(i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92)
%94 = load i32, ptr %13, align 4
%95 = load i32, ptr %9, align 4
%96 = load i32, ptr %11, align 4
%97 = load i32, ptr @MPFR_RNDN, align 4
%98 = call i32 @mpfr_div(i32 noundef %94, i32 noundef %95, i32 noundef %96, i32 noundef %97)
%99 = load i32, ptr %15, align 4
%100 = load i32, ptr %8, align 4
%101 = load i32, ptr %13, align 4
%102 = load i32, ptr @MPFR_RNDN, align 4
%103 = call i32 @mpfr_mul(i32 noundef %99, i32 noundef %100, i32 noundef %101, i32 noundef %102)
%104 = load i32, ptr %15, align 4
%105 = load i32, ptr @MPFR_RNDN, align 4
%106 = call double @mpfr_get_d(i32 noundef %104, i32 noundef %105)
store double %106, ptr %5, align 8
%107 = load double, ptr %5, align 8
ret double %107
}
declare i32 @mpfr_set_default_prec(i32 noundef) #1
declare i32 @mpfr_init(i32 noundef) #1
declare i32 @mpfr_add_ui(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_exp2(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_sub(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_sub_ui(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_div(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_neg(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_exp(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_div_ui(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_mul(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare double @mpfr_get_d(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/tmpp292i8_p.c'
source_filename = "/tmp/tmpp292i8_p.c"
target datalayout = "e-m:e-p270: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/tmpp292i8_p.c"
target datalayout = "e-m:e-p270: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/tmpdexst87n.c'
source_filename = "/tmp/tmpdexst87n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"no input files specified\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"code written to read only %d files\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"could not open file %s for input\00", align 1
@.str.4 = private unnamed_addr constant [63 x i8] c"end of file on file number %d while more records in first file\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c",\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c"unable to close input file number %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [256 x ptr], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [10000 x i8], align 16
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
%15 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%16 = load i32, ptr %4, align 4
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %20
18: ; preds = %2
%19 = call i32 @usage(ptr noundef @.str)
br label %20
20: ; preds = %18, %2
%21 = load i32, ptr %4, align 4
%22 = sub nsw i32 %21, 1
store i32 %22, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %23
23: ; preds = %55, %20
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %58
27: ; preds = %23
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp sge i32 %30, 256
br i1 %31, label %32, label %34
32: ; preds = %27
%33 = call i32 @errorInt(ptr noundef @.str.1, i32 noundef 256)
br label %34
34: ; preds = %32, %27
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %9, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = call ptr @fopen(ptr noundef %39, ptr noundef @.str.2)
store ptr %40, ptr %10, align 8
%41 = load ptr, ptr %10, align 8
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %50
43: ; preds = %34
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds ptr, ptr %44, i64 %46
%48 = load ptr, ptr %47, align 8
%49 = call i32 @errorString(ptr noundef @.str.3, ptr noundef %48)
br label %50
50: ; preds = %43, %34
%51 = load ptr, ptr %10, align 8
%52 = load i32, ptr %8, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [256 x ptr], ptr %6, i64 0, i64 %53
store ptr %51, ptr %54, align 8
br label %55
55: ; preds = %50
%56 = load i32, ptr %8, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %8, align 4
br label %23, !llvm.loop !6
58: ; preds = %23
store i32 0, ptr %12, align 4
br label %59
59: ; preds = %58, %109
store i32 0, ptr %13, align 4
br label %60
60: ; preds = %102, %59
%61 = load i32, ptr %13, align 4
%62 = load i32, ptr %7, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %105
64: ; preds = %60
%65 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 0
%66 = load i32, ptr %13, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [256 x ptr], ptr %6, i64 0, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = call ptr @fgets(ptr noundef %65, i32 noundef 10000, ptr noundef %69)
%71 = icmp eq ptr %70, null
br i1 %71, label %72, label %79
72: ; preds = %64
%73 = load i32, ptr %13, align 4
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %76
75: ; preds = %72
store i32 1, ptr %12, align 4
br label %105
76: ; preds = %72
%77 = load i32, ptr %13, align 4
%78 = call i32 @errorInt(ptr noundef @.str.4, i32 noundef %77)
br label %79
79: ; preds = %76, %64
%80 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 0
%81 = call i64 @strlen(ptr noundef %80)
store i64 %81, ptr %14, align 8
%82 = load i64, ptr %14, align 8
%83 = sub i64 %82, 1
%84 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 10
br i1 %87, label %88, label %92
88: ; preds = %79
%89 = load i64, ptr %14, align 8
%90 = sub i64 %89, 1
%91 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 %90
store i8 0, ptr %91, align 1
br label %92
92: ; preds = %88, %79
%93 = load i32, ptr %13, align 4
%94 = icmp sgt i32 %93, 0
br i1 %94, label %95, label %98
95: ; preds = %92
%96 = load i32, ptr @stdout, align 4
%97 = call i32 @fputs(ptr noundef @.str.5, i32 noundef %96)
br label %98
98: ; preds = %95, %92
%99 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 0
%100 = load i32, ptr @stdout, align 4
%101 = call i32 @fputs(ptr noundef %99, i32 noundef %100)
br label %102
102: ; preds = %98
%103 = load i32, ptr %13, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %13, align 4
br label %60, !llvm.loop !8
105: ; preds = %75, %60
%106 = load i32, ptr %12, align 4
%107 = icmp ne i32 %106, 0
br i1 %107, label %108, label %109
108: ; preds = %105
br label %112
109: ; preds = %105
%110 = load i32, ptr @stdout, align 4
%111 = call i32 @fputs(ptr noundef @.str.6, i32 noundef %110)
br label %59
112: ; preds = %108
store i32 0, ptr %15, align 4
br label %113
113: ; preds = %128, %112
%114 = load i32, ptr %15, align 4
%115 = load i32, ptr %7, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %117, label %131
117: ; preds = %113
%118 = load i32, ptr %15, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [256 x ptr], ptr %6, i64 0, i64 %119
%121 = load ptr, ptr %120, align 8
%122 = call i64 @fclose(ptr noundef %121)
%123 = icmp ne i64 %122, 0
br i1 %123, label %124, label %127
124: ; preds = %117
%125 = load i32, ptr %15, align 4
%126 = call i32 @errorInt(ptr noundef @.str.7, i32 noundef %125)
br label %127
127: ; preds = %124, %117
br label %128
128: ; preds = %127
%129 = load i32, ptr %15, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %15, align 4
br label %113, !llvm.loop !9
131: ; preds = %113
%132 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @usage(ptr noundef) #1
declare i32 @errorInt(ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @errorString(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i64 @fclose(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdexst87n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"no input files specified\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"code written to read only %d files\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"could not open file %s for input\00", align 1
@.str.4 = private unnamed_addr constant [63 x i8] c"end of file on file number %d while more records in first file\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c",\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c"unable to close input file number %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [256 x ptr], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [10000 x i8], align 16
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
%15 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%16 = load i32, ptr %4, align 4
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %20
18: ; preds = %2
%19 = call i32 @usage(ptr noundef @.str)
br label %20
20: ; preds = %18, %2
%21 = load i32, ptr %4, align 4
%22 = sub nsw i32 %21, 1
store i32 %22, ptr %7, align 4
store i32 0, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %60
.lr.ph: ; preds = %20
br label %26
26: ; preds = %.lr.ph, %54
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp sge i32 %29, 256
br i1 %30, label %31, label %33
31: ; preds = %26
%32 = call i32 @errorInt(ptr noundef @.str.1, i32 noundef 256)
br label %33
33: ; preds = %31, %26
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = call ptr @fopen(ptr noundef %38, ptr noundef @.str.2)
store ptr %39, ptr %10, align 8
%40 = load ptr, ptr %10, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %49
42: ; preds = %33
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %9, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = call i32 @errorString(ptr noundef @.str.3, ptr noundef %47)
br label %49
49: ; preds = %42, %33
%50 = load ptr, ptr %10, align 8
%51 = load i32, ptr %8, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [256 x ptr], ptr %6, i64 0, i64 %52
store ptr %50, ptr %53, align 8
br label %54
54: ; preds = %49
%55 = load i32, ptr %8, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %8, align 4
%57 = load i32, ptr %8, align 4
%58 = load i32, ptr %7, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %20
store i32 0, ptr %12, align 4
br label %61
61: ; preds = %113, %60
store i32 0, ptr %13, align 4
%62 = load i32, ptr %13, align 4
%63 = load i32, ptr %7, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %61
br label %65
65: ; preds = %.lr.ph2, %103
%66 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 0
%67 = load i32, ptr %13, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [256 x ptr], ptr %6, i64 0, i64 %68
%70 = load ptr, ptr %69, align 8
%71 = call ptr @fgets(ptr noundef %66, i32 noundef 10000, ptr noundef %70)
%72 = icmp eq ptr %71, null
br i1 %72, label %73, label %80
73: ; preds = %65
%74 = load i32, ptr %13, align 4
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %73
store i32 1, ptr %12, align 4
br label %109
77: ; preds = %73
%78 = load i32, ptr %13, align 4
%79 = call i32 @errorInt(ptr noundef @.str.4, i32 noundef %78)
br label %80
80: ; preds = %77, %65
%81 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 0
%82 = call i64 @strlen(ptr noundef %81)
store i64 %82, ptr %14, align 8
%83 = load i64, ptr %14, align 8
%84 = sub i64 %83, 1
%85 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp eq i32 %87, 10
br i1 %88, label %89, label %93
89: ; preds = %80
%90 = load i64, ptr %14, align 8
%91 = sub i64 %90, 1
%92 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 %91
store i8 0, ptr %92, align 1
br label %93
93: ; preds = %89, %80
%94 = load i32, ptr %13, align 4
%95 = icmp sgt i32 %94, 0
br i1 %95, label %96, label %99
96: ; preds = %93
%97 = load i32, ptr @stdout, align 4
%98 = call i32 @fputs(ptr noundef @.str.5, i32 noundef %97)
br label %99
99: ; preds = %96, %93
%100 = getelementptr inbounds [10000 x i8], ptr %11, i64 0, i64 0
%101 = load i32, ptr @stdout, align 4
%102 = call i32 @fputs(ptr noundef %100, i32 noundef %101)
br label %103
103: ; preds = %99
%104 = load i32, ptr %13, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %13, align 4
%106 = load i32, ptr %13, align 4
%107 = load i32, ptr %7, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %65, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %103
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %61
br label %109
109: ; preds = %.loopexit, %76
%110 = load i32, ptr %12, align 4
%111 = icmp ne i32 %110, 0
br i1 %111, label %112, label %113
112: ; preds = %109
br label %116
113: ; preds = %109
%114 = load i32, ptr @stdout, align 4
%115 = call i32 @fputs(ptr noundef @.str.6, i32 noundef %114)
br label %61
116: ; preds = %112
store i32 0, ptr %15, align 4
%117 = load i32, ptr %15, align 4
%118 = load i32, ptr %7, align 4
%119 = icmp slt i32 %117, %118
br i1 %119, label %.lr.ph4, label %137
.lr.ph4: ; preds = %116
br label %120
120: ; preds = %.lr.ph4, %131
%121 = load i32, ptr %15, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [256 x ptr], ptr %6, i64 0, i64 %122
%124 = load ptr, ptr %123, align 8
%125 = call i64 @fclose(ptr noundef %124)
%126 = icmp ne i64 %125, 0
br i1 %126, label %127, label %130
127: ; preds = %120
%128 = load i32, ptr %15, align 4
%129 = call i32 @errorInt(ptr noundef @.str.7, i32 noundef %128)
br label %130
130: ; preds = %127, %120
br label %131
131: ; preds = %130
%132 = load i32, ptr %15, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %15, align 4
%134 = load i32, ptr %15, align 4
%135 = load i32, ptr %7, align 4
%136 = icmp slt i32 %134, %135
br i1 %136, label %120, label %._crit_edge5, !llvm.loop !9
._crit_edge5: ; preds = %131
br label %137
137: ; preds = %._crit_edge5, %116
%138 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @usage(ptr noundef) #1
declare i32 @errorInt(ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @errorString(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i64 @fclose(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp0f6kjyy5.c'
source_filename = "/tmp/tmp0f6kjyy5.c"
target datalayout = "e-m:e-p270: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_5__ = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { ptr }
@NID_commonName = dso_local global i32 0, align 4
@GEN_DNS = dso_local global i32 0, align 4
@NID_subject_alt_name = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CheckX509Hostname(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i8, align 1
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%20 = load ptr, ptr %5, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %23, label %22
22: ; preds = %3
store i32 -2, ptr %4, align 4
br label %112
23: ; preds = %3
%24 = load i32, ptr %7, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %23
%27 = load ptr, ptr %6, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %30, label %29
29: ; preds = %26
store i32 -3, ptr %4, align 4
br label %112
30: ; preds = %26, %23
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %30
store i32 -4, ptr %4, align 4
br label %112
34: ; preds = %30
%35 = load i32, ptr @NID_commonName, align 4
store i32 %35, ptr %8, align 4
%36 = load i32, ptr @GEN_DNS, align 4
store i32 %36, ptr %9, align 4
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr @NID_subject_alt_name, align 4
%39 = call ptr @X509_get_ext_d2i(ptr noundef %37, i32 noundef %38, ptr noundef null, ptr noundef null)
store ptr %39, ptr %10, align 8
store i8 1, ptr %11, align 1
store i32 0, ptr %12, align 4
%40 = load ptr, ptr %10, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %42, label %76
42: ; preds = %34
%43 = load ptr, ptr %10, align 8
%44 = call i32 @sk_GENERAL_NAME_num(ptr noundef %43)
store i32 %44, ptr %14, align 4
store i32 0, ptr %13, align 4
br label %45
45: ; preds = %70, %42
%46 = load i32, ptr %13, align 4
%47 = load i32, ptr %14, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %73
49: ; preds = %45
%50 = load ptr, ptr %10, align 8
%51 = load i32, ptr %13, align 4
%52 = call ptr @sk_GENERAL_NAME_value(ptr noundef %50, i32 noundef %51)
store ptr %52, ptr %15, align 8
%53 = load ptr, ptr %15, align 8
%54 = getelementptr inbounds %struct.TYPE_5__, ptr %53, i32 0, i32 0
%55 = load i32, ptr %54, align 8
%56 = load i32, ptr %9, align 4
%57 = icmp ne i32 %55, %56
br i1 %57, label %58, label %59
58: ; preds = %49
br label %70
59: ; preds = %49
store i8 0, ptr %11, align 1
%60 = load ptr, ptr %15, align 8
%61 = getelementptr inbounds %struct.TYPE_5__, ptr %60, i32 0, i32 1
%62 = getelementptr inbounds %struct.TYPE_4__, ptr %61, i32 0, i32 0
%63 = load ptr, ptr %62, align 8
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %7, align 4
%66 = call i64 @CheckX509HostnameMatch(ptr noundef %63, ptr noundef %64, i32 noundef %65, i32 noundef 1)
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %59
store i32 1, ptr %12, align 4
br label %73
69: ; preds = %59
br label %70
70: ; preds = %69, %58
%71 = load i32, ptr %13, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %13, align 4
br label %45, !llvm.loop !6
73: ; preds = %68, %45
%74 = load ptr, ptr %10, align 8
%75 = call i32 @GENERAL_NAMES_free(ptr noundef %74)
br label %76
76: ; preds = %73, %34
%77 = load i8, ptr %11, align 1
%78 = sext i8 %77 to i32
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %110
80: ; preds = %76
%81 = load i32, ptr %12, align 4
%82 = icmp ne i32 %81, 0
br i1 %82, label %110, label %83
83: ; preds = %80
%84 = load ptr, ptr %5, align 8
%85 = call ptr @X509_get_subject_name(ptr noundef %84)
store ptr %85, ptr %16, align 8
%86 = load ptr, ptr %16, align 8
%87 = icmp ne ptr %86, null
br i1 %87, label %88, label %109
88: ; preds = %83
store i32 -1, ptr %17, align 4
br label %89
89: ; preds = %107, %88
%90 = load ptr, ptr %16, align 8
%91 = load i32, ptr %8, align 4
%92 = load i32, ptr %17, align 4
%93 = call i32 @X509_NAME_get_index_by_NID(ptr noundef %90, i32 noundef %91, i32 noundef %92)
store i32 %93, ptr %17, align 4
%94 = icmp sge i32 %93, 0
br i1 %94, label %95, label %108
95: ; preds = %89
%96 = load ptr, ptr %16, align 8
%97 = load i32, ptr %17, align 4
%98 = call ptr @X509_NAME_get_entry(ptr noundef %96, i32 noundef %97)
store ptr %98, ptr %18, align 8
%99 = load ptr, ptr %18, align 8
%100 = call ptr @X509_NAME_ENTRY_get_data(ptr noundef %99)
store ptr %100, ptr %19, align 8
%101 = load ptr, ptr %19, align 8
%102 = load ptr, ptr %6, align 8
%103 = load i32, ptr %7, align 4
%104 = call i64 @CheckX509HostnameMatch(ptr noundef %101, ptr noundef %102, i32 noundef %103, i32 noundef 0)
%105 = icmp ne i64 %104, 0
br i1 %105, label %106, label %107
106: ; preds = %95
store i32 1, ptr %12, align 4
br label %108
107: ; preds = %95
br label %89, !llvm.loop !8
108: ; preds = %106, %89
br label %109
109: ; preds = %108, %83
br label %110
110: ; preds = %109, %80, %76
%111 = load i32, ptr %12, align 4
store i32 %111, ptr %4, align 4
br label %112
112: ; preds = %110, %33, %29, %22
%113 = load i32, ptr %4, align 4
ret i32 %113
}
declare ptr @X509_get_ext_d2i(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sk_GENERAL_NAME_num(ptr noundef) #1
declare ptr @sk_GENERAL_NAME_value(ptr noundef, i32 noundef) #1
declare i64 @CheckX509HostnameMatch(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @GENERAL_NAMES_free(ptr noundef) #1
declare ptr @X509_get_subject_name(ptr noundef) #1
declare i32 @X509_NAME_get_index_by_NID(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @X509_NAME_get_entry(ptr noundef, i32 noundef) #1
declare ptr @X509_NAME_ENTRY_get_data(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0f6kjyy5.c"
target datalayout = "e-m:e-p270: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_5__ = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { ptr }
@NID_commonName = dso_local global i32 0, align 4
@GEN_DNS = dso_local global i32 0, align 4
@NID_subject_alt_name = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CheckX509Hostname(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i8, align 1
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%20 = load ptr, ptr %5, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %23, label %22
22: ; preds = %3
store i32 -2, ptr %4, align 4
br label %118
23: ; preds = %3
%24 = load i32, ptr %7, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %23
%27 = load ptr, ptr %6, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %30, label %29
29: ; preds = %26
store i32 -3, ptr %4, align 4
br label %118
30: ; preds = %26, %23
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %30
store i32 -4, ptr %4, align 4
br label %118
34: ; preds = %30
%35 = load i32, ptr @NID_commonName, align 4
store i32 %35, ptr %8, align 4
%36 = load i32, ptr @GEN_DNS, align 4
store i32 %36, ptr %9, align 4
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr @NID_subject_alt_name, align 4
%39 = call ptr @X509_get_ext_d2i(ptr noundef %37, i32 noundef %38, ptr noundef null, ptr noundef null)
store ptr %39, ptr %10, align 8
store i8 1, ptr %11, align 1
store i32 0, ptr %12, align 4
%40 = load ptr, ptr %10, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %42, label %78
42: ; preds = %34
%43 = load ptr, ptr %10, align 8
%44 = call i32 @sk_GENERAL_NAME_num(ptr noundef %43)
store i32 %44, ptr %14, align 4
store i32 0, ptr %13, align 4
%45 = load i32, ptr %13, align 4
%46 = load i32, ptr %14, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %42
br label %48
48: ; preds = %.lr.ph, %69
%49 = load ptr, ptr %10, align 8
%50 = load i32, ptr %13, align 4
%51 = call ptr @sk_GENERAL_NAME_value(ptr noundef %49, i32 noundef %50)
store ptr %51, ptr %15, align 8
%52 = load ptr, ptr %15, align 8
%53 = getelementptr inbounds %struct.TYPE_5__, ptr %52, i32 0, i32 0
%54 = load i32, ptr %53, align 8
%55 = load i32, ptr %9, align 4
%56 = icmp ne i32 %54, %55
br i1 %56, label %57, label %58
57: ; preds = %48
br label %69
58: ; preds = %48
store i8 0, ptr %11, align 1
%59 = load ptr, ptr %15, align 8
%60 = getelementptr inbounds %struct.TYPE_5__, ptr %59, i32 0, i32 1
%61 = getelementptr inbounds %struct.TYPE_4__, ptr %60, i32 0, i32 0
%62 = load ptr, ptr %61, align 8
%63 = load ptr, ptr %6, align 8
%64 = load i32, ptr %7, align 4
%65 = call i64 @CheckX509HostnameMatch(ptr noundef %62, ptr noundef %63, i32 noundef %64, i32 noundef 1)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %68
67: ; preds = %58
store i32 1, ptr %12, align 4
br label %75
68: ; preds = %58
br label %69
69: ; preds = %68, %57
%70 = load i32, ptr %13, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %13, align 4
%72 = load i32, ptr %13, align 4
%73 = load i32, ptr %14, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %48, label %..loopexit1_crit_edge, !llvm.loop !6
..loopexit1_crit_edge: ; preds = %69
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %42
br label %75
75: ; preds = %.loopexit1, %67
%76 = load ptr, ptr %10, align 8
%77 = call i32 @GENERAL_NAMES_free(ptr noundef %76)
br label %78
78: ; preds = %75, %34
%79 = load i8, ptr %11, align 1
%80 = sext i8 %79 to i32
%81 = icmp ne i32 %80, 0
br i1 %81, label %82, label %116
82: ; preds = %78
%83 = load i32, ptr %12, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %116, label %85
85: ; preds = %82
%86 = load ptr, ptr %5, align 8
%87 = call ptr @X509_get_subject_name(ptr noundef %86)
store ptr %87, ptr %16, align 8
%88 = load ptr, ptr %16, align 8
%89 = icmp ne ptr %88, null
br i1 %89, label %90, label %115
90: ; preds = %85
store i32 -1, ptr %17, align 4
%91 = load ptr, ptr %16, align 8
%92 = load i32, ptr %8, align 4
%93 = load i32, ptr %17, align 4
%94 = call i32 @X509_NAME_get_index_by_NID(ptr noundef %91, i32 noundef %92, i32 noundef %93)
store i32 %94, ptr %17, align 4
%95 = icmp sge i32 %94, 0
br i1 %95, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %90
br label %102
96: ; preds = %102
%97 = load ptr, ptr %16, align 8
%98 = load i32, ptr %8, align 4
%99 = load i32, ptr %17, align 4
%100 = call i32 @X509_NAME_get_index_by_NID(ptr noundef %97, i32 noundef %98, i32 noundef %99)
store i32 %100, ptr %17, align 4
%101 = icmp sge i32 %100, 0
br i1 %101, label %102, label %..loopexit_crit_edge, !llvm.loop !8
102: ; preds = %.lr.ph2, %96
%103 = load ptr, ptr %16, align 8
%104 = load i32, ptr %17, align 4
%105 = call ptr @X509_NAME_get_entry(ptr noundef %103, i32 noundef %104)
store ptr %105, ptr %18, align 8
%106 = load ptr, ptr %18, align 8
%107 = call ptr @X509_NAME_ENTRY_get_data(ptr noundef %106)
store ptr %107, ptr %19, align 8
%108 = load ptr, ptr %19, align 8
%109 = load ptr, ptr %6, align 8
%110 = load i32, ptr %7, align 4
%111 = call i64 @CheckX509HostnameMatch(ptr noundef %108, ptr noundef %109, i32 noundef %110, i32 noundef 0)
%112 = icmp ne i64 %111, 0
br i1 %112, label %113, label %96
113: ; preds = %102
store i32 1, ptr %12, align 4
br label %114
..loopexit_crit_edge: ; preds = %96
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %90
br label %114
114: ; preds = %.loopexit, %113
br label %115
115: ; preds = %114, %85
br label %116
116: ; preds = %115, %82, %78
%117 = load i32, ptr %12, align 4
store i32 %117, ptr %4, align 4
br label %118
118: ; preds = %116, %33, %29, %22
%119 = load i32, ptr %4, align 4
ret i32 %119
}
declare ptr @X509_get_ext_d2i(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sk_GENERAL_NAME_num(ptr noundef) #1
declare ptr @sk_GENERAL_NAME_value(ptr noundef, i32 noundef) #1
declare i64 @CheckX509HostnameMatch(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @GENERAL_NAMES_free(ptr noundef) #1
declare ptr @X509_get_subject_name(ptr noundef) #1
declare i32 @X509_NAME_get_index_by_NID(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @X509_NAME_get_entry(ptr noundef, i32 noundef) #1
declare ptr @X509_NAME_ENTRY_get_data(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp2v5ne7n4.c'
source_filename = "/tmp/tmp2v5ne7n4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tr_decrypt(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%11 = load i32, ptr %5, align 4
%12 = add nsw i32 %11, 1
%13 = call ptr @calloc(i32 noundef %12, i32 noundef 1)
store ptr %13, ptr %7, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %55, %3
%15 = load i32, ptr %8, align 4
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 -1
%18 = load i32, ptr %17, align 4
%19 = icmp slt i32 %15, %18
br i1 %19, label %20, label %58
20: ; preds = %14
store i32 0, ptr %9, align 4
br label %21
21: ; preds = %48, %20
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %8, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %26, %27
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %54
31: ; preds = %21
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %10, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %10, align 4
%35 = sext i32 %33 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
%37 = load i8, ptr %36, align 1
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %43, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %38, i64 %46
store i8 %37, ptr %47, align 1
br label %48
48: ; preds = %31
%49 = load ptr, ptr %6, align 8
%50 = getelementptr inbounds i32, ptr %49, i64 -1
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %9, align 4
br label %21, !llvm.loop !6
54: ; preds = %21
br label %55
55: ; preds = %54
%56 = load i32, ptr %8, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %8, align 4
br label %14, !llvm.loop !8
58: ; preds = %14
%59 = load ptr, ptr %7, align 8
ret ptr %59
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2v5ne7n4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tr_decrypt(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%11 = load i32, ptr %5, align 4
%12 = add nsw i32 %11, 1
%13 = call ptr @calloc(i32 noundef %12, i32 noundef 1)
store ptr %13, ptr %7, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 -1
%17 = load i32, ptr %16, align 4
%18 = icmp slt i32 %14, %17
br i1 %18, label %.lr.ph2, label %70
.lr.ph2: ; preds = %3
br label %19
19: ; preds = %.lr.ph2, %62
store i32 0, ptr %9, align 4
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %24, %25
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %61
.lr.ph: ; preds = %19
br label %29
29: ; preds = %.lr.ph, %46
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %10, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %10, align 4
%33 = sext i32 %31 to i64
%34 = getelementptr inbounds i8, ptr %30, i64 %33
%35 = load i8, ptr %34, align 1
%36 = load ptr, ptr %7, align 8
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %41, %42
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %36, i64 %44
store i8 %35, ptr %45, align 1
br label %46
46: ; preds = %29
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds i32, ptr %47, i64 -1
%49 = load i32, ptr %48, align 4
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %50, %49
store i32 %51, ptr %9, align 4
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %8, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %56, %57
%59 = load i32, ptr %5, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %61
61: ; preds = %._crit_edge, %19
br label %62
62: ; preds = %61
%63 = load i32, ptr %8, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %8, align 4
%65 = load i32, ptr %8, align 4
%66 = load ptr, ptr %6, align 8
%67 = getelementptr inbounds i32, ptr %66, i64 -1
%68 = load i32, ptr %67, align 4
%69 = icmp slt i32 %65, %68
br i1 %69, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %70
70: ; preds = %._crit_edge3, %3
%71 = load ptr, ptr %7, align 8
ret ptr %71
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpp61_7w4j.c'
source_filename = "/tmp/tmpp61_7w4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RemoveBreakpoint(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %14, i64 %17
%19 = load i32, ptr %18, align 4
%20 = sitofp i32 %19 to double
store double %20, ptr %13, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
%26 = load i32, ptr %25, align 4
%27 = sitofp i32 %26 to double
store double %27, ptr %11, align 8
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %8, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = sitofp i32 %32 to double
store double %33, ptr %10, align 8
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %34, i64 %37
%39 = load i32, ptr %38, align 4
%40 = sitofp i32 %39 to double
store double %40, ptr %12, align 8
%41 = load i32, ptr %8, align 4
%42 = icmp sgt i32 %41, 1
br i1 %42, label %43, label %81
43: ; preds = %4
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %8, align 4
%46 = sub nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %44, i64 %47
%49 = load double, ptr %48, align 8
%50 = load double, ptr %13, align 8
%51 = load double, ptr %11, align 8
%52 = fsub double %50, %51
%53 = load double, ptr %13, align 8
%54 = load double, ptr %10, align 8
%55 = fsub double %53, %54
%56 = fdiv double %52, %55
%57 = load double, ptr %11, align 8
%58 = fmul double %56, %57
%59 = load double, ptr %10, align 8
%60 = fdiv double %58, %59
%61 = call double @sqrt(double noundef %60) #3
%62 = load double, ptr %12, align 8
%63 = load double, ptr %10, align 8
%64 = fsub double %62, %63
%65 = fmul double %61, %64
%66 = load double, ptr %12, align 8
%67 = load double, ptr %11, align 8
%68 = fsub double %66, %67
%69 = fdiv double %65, %68
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %8, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %70, i64 %72
%74 = load double, ptr %73, align 8
%75 = call double @llvm.fmuladd.f64(double %69, double %74, double %49)
%76 = load ptr, ptr %5, align 8
%77 = load i32, ptr %8, align 4
%78 = sub nsw i32 %77, 1
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, ptr %76, i64 %79
store double %75, ptr %80, align 8
br label %81
81: ; preds = %43, %4
%82 = load i32, ptr %8, align 4
%83 = load i32, ptr %7, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %85, label %123
85: ; preds = %81
%86 = load ptr, ptr %5, align 8
%87 = load i32, ptr %8, align 4
%88 = add nsw i32 %87, 1
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %86, i64 %89
%91 = load double, ptr %90, align 8
%92 = load double, ptr %13, align 8
%93 = load double, ptr %12, align 8
%94 = fsub double %92, %93
%95 = load double, ptr %13, align 8
%96 = load double, ptr %10, align 8
%97 = fsub double %95, %96
%98 = fdiv double %94, %97
%99 = load double, ptr %12, align 8
%100 = fmul double %98, %99
%101 = load double, ptr %10, align 8
%102 = fdiv double %100, %101
%103 = call double @sqrt(double noundef %102) #3
%104 = load double, ptr %10, align 8
%105 = load double, ptr %11, align 8
%106 = fsub double %104, %105
%107 = fmul double %103, %106
%108 = load double, ptr %12, align 8
%109 = load double, ptr %11, align 8
%110 = fsub double %108, %109
%111 = fdiv double %107, %110
%112 = load ptr, ptr %5, align 8
%113 = load i32, ptr %8, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %112, i64 %114
%116 = load double, ptr %115, align 8
%117 = call double @llvm.fmuladd.f64(double %111, double %116, double %91)
%118 = load ptr, ptr %5, align 8
%119 = load i32, ptr %8, align 4
%120 = add nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %118, i64 %121
store double %117, ptr %122, align 8
br label %123
123: ; preds = %85, %81
%124 = load ptr, ptr %5, align 8
%125 = load i32, ptr %8, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, ptr %124, i64 %126
store double 0.000000e+00, ptr %127, align 8
%128 = load i32, ptr %8, align 4
store i32 %128, ptr %9, align 4
br label %129
129: ; preds = %144, %123
%130 = load i32, ptr %9, align 4
%131 = load i32, ptr %7, align 4
%132 = icmp slt i32 %130, %131
br i1 %132, label %133, label %147
133: ; preds = %129
%134 = load ptr, ptr %5, align 8
%135 = load i32, ptr %9, align 4
%136 = add nsw i32 %135, 1
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds double, ptr %134, i64 %137
%139 = load double, ptr %138, align 8
%140 = load ptr, ptr %5, align 8
%141 = load i32, ptr %9, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds double, ptr %140, i64 %142
store double %139, ptr %143, align 8
br label %144
144: ; preds = %133
%145 = load i32, ptr %9, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %9, align 4
br label %129, !llvm.loop !6
147: ; preds = %129
%148 = load i32, ptr %8, align 4
store i32 %148, ptr %9, align 4
br label %149
149: ; preds = %165, %147
%150 = load i32, ptr %9, align 4
%151 = load i32, ptr %7, align 4
%152 = add nsw i32 %151, 1
%153 = icmp slt i32 %150, %152
br i1 %153, label %154, label %168
154: ; preds = %149
%155 = load ptr, ptr %6, align 8
%156 = load i32, ptr %9, align 4
%157 = add nsw i32 %156, 1
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds i32, ptr %155, i64 %158
%160 = load i32, ptr %159, align 4
%161 = load ptr, ptr %6, align 8
%162 = load i32, ptr %9, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds i32, ptr %161, i64 %163
store i32 %160, ptr %164, align 4
br label %165
165: ; preds = %154
%166 = load i32, ptr %9, align 4
%167 = add nsw i32 %166, 1
store i32 %167, ptr %9, align 4
br label %149, !llvm.loop !8
168: ; preds = %149
%169 = load i32, ptr %7, align 4
%170 = sub nsw i32 %169, 1
ret i32 %170
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp61_7w4j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RemoveBreakpoint(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %14, i64 %17
%19 = load i32, ptr %18, align 4
%20 = sitofp i32 %19 to double
store double %20, ptr %13, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
%26 = load i32, ptr %25, align 4
%27 = sitofp i32 %26 to double
store double %27, ptr %11, align 8
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %8, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = sitofp i32 %32 to double
store double %33, ptr %10, align 8
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %34, i64 %37
%39 = load i32, ptr %38, align 4
%40 = sitofp i32 %39 to double
store double %40, ptr %12, align 8
%41 = load i32, ptr %8, align 4
%42 = icmp sgt i32 %41, 1
br i1 %42, label %43, label %81
43: ; preds = %4
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %8, align 4
%46 = sub nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %44, i64 %47
%49 = load double, ptr %48, align 8
%50 = load double, ptr %13, align 8
%51 = load double, ptr %11, align 8
%52 = fsub double %50, %51
%53 = load double, ptr %13, align 8
%54 = load double, ptr %10, align 8
%55 = fsub double %53, %54
%56 = fdiv double %52, %55
%57 = load double, ptr %11, align 8
%58 = fmul double %56, %57
%59 = load double, ptr %10, align 8
%60 = fdiv double %58, %59
%61 = call double @sqrt(double noundef %60) #3
%62 = load double, ptr %12, align 8
%63 = load double, ptr %10, align 8
%64 = fsub double %62, %63
%65 = fmul double %61, %64
%66 = load double, ptr %12, align 8
%67 = load double, ptr %11, align 8
%68 = fsub double %66, %67
%69 = fdiv double %65, %68
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %8, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %70, i64 %72
%74 = load double, ptr %73, align 8
%75 = call double @llvm.fmuladd.f64(double %69, double %74, double %49)
%76 = load ptr, ptr %5, align 8
%77 = load i32, ptr %8, align 4
%78 = sub nsw i32 %77, 1
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, ptr %76, i64 %79
store double %75, ptr %80, align 8
br label %81
81: ; preds = %43, %4
%82 = load i32, ptr %8, align 4
%83 = load i32, ptr %7, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %85, label %123
85: ; preds = %81
%86 = load ptr, ptr %5, align 8
%87 = load i32, ptr %8, align 4
%88 = add nsw i32 %87, 1
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %86, i64 %89
%91 = load double, ptr %90, align 8
%92 = load double, ptr %13, align 8
%93 = load double, ptr %12, align 8
%94 = fsub double %92, %93
%95 = load double, ptr %13, align 8
%96 = load double, ptr %10, align 8
%97 = fsub double %95, %96
%98 = fdiv double %94, %97
%99 = load double, ptr %12, align 8
%100 = fmul double %98, %99
%101 = load double, ptr %10, align 8
%102 = fdiv double %100, %101
%103 = call double @sqrt(double noundef %102) #3
%104 = load double, ptr %10, align 8
%105 = load double, ptr %11, align 8
%106 = fsub double %104, %105
%107 = fmul double %103, %106
%108 = load double, ptr %12, align 8
%109 = load double, ptr %11, align 8
%110 = fsub double %108, %109
%111 = fdiv double %107, %110
%112 = load ptr, ptr %5, align 8
%113 = load i32, ptr %8, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %112, i64 %114
%116 = load double, ptr %115, align 8
%117 = call double @llvm.fmuladd.f64(double %111, double %116, double %91)
%118 = load ptr, ptr %5, align 8
%119 = load i32, ptr %8, align 4
%120 = add nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %118, i64 %121
store double %117, ptr %122, align 8
br label %123
123: ; preds = %85, %81
%124 = load ptr, ptr %5, align 8
%125 = load i32, ptr %8, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, ptr %124, i64 %126
store double 0.000000e+00, ptr %127, align 8
%128 = load i32, ptr %8, align 4
store i32 %128, ptr %9, align 4
%129 = load i32, ptr %9, align 4
%130 = load i32, ptr %7, align 4
%131 = icmp slt i32 %129, %130
br i1 %131, label %.lr.ph, label %149
.lr.ph: ; preds = %123
br label %132
132: ; preds = %.lr.ph, %143
%133 = load ptr, ptr %5, align 8
%134 = load i32, ptr %9, align 4
%135 = add nsw i32 %134, 1
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds double, ptr %133, i64 %136
%138 = load double, ptr %137, align 8
%139 = load ptr, ptr %5, align 8
%140 = load i32, ptr %9, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds double, ptr %139, i64 %141
store double %138, ptr %142, align 8
br label %143
143: ; preds = %132
%144 = load i32, ptr %9, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %9, align 4
%146 = load i32, ptr %9, align 4
%147 = load i32, ptr %7, align 4
%148 = icmp slt i32 %146, %147
br i1 %148, label %132, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %143
br label %149
149: ; preds = %._crit_edge, %123
%150 = load i32, ptr %8, align 4
store i32 %150, ptr %9, align 4
%151 = load i32, ptr %9, align 4
%152 = load i32, ptr %7, align 4
%153 = add nsw i32 %152, 1
%154 = icmp slt i32 %151, %153
br i1 %154, label %.lr.ph2, label %173
.lr.ph2: ; preds = %149
br label %155
155: ; preds = %.lr.ph2, %166
%156 = load ptr, ptr %6, align 8
%157 = load i32, ptr %9, align 4
%158 = add nsw i32 %157, 1
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds i32, ptr %156, i64 %159
%161 = load i32, ptr %160, align 4
%162 = load ptr, ptr %6, align 8
%163 = load i32, ptr %9, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i32, ptr %162, i64 %164
store i32 %161, ptr %165, align 4
br label %166
166: ; preds = %155
%167 = load i32, ptr %9, align 4
%168 = add nsw i32 %167, 1
store i32 %168, ptr %9, align 4
%169 = load i32, ptr %9, align 4
%170 = load i32, ptr %7, align 4
%171 = add nsw i32 %170, 1
%172 = icmp slt i32 %169, %171
br i1 %172, label %155, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %166
br label %173
173: ; preds = %._crit_edge3, %149
%174 = load i32, ptr %7, align 4
%175 = sub nsw i32 %174, 1
ret i32 %175
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_coue5we.c'
source_filename = "/tmp/tmp_coue5we.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_coue5we.c"
target datalayout = "e-m:e-p270: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/tmpq7cb5cc7.c'
source_filename = "/tmp/tmpq7cb5cc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xyz\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = load ptr, ptr %1, align 8
%7 = call i32 @fclose(ptr noundef %6)
br label %9
8: ; preds = %0
br label %9
9: ; preds = %8, %5
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq7cb5cc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xyz\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = load ptr, ptr %1, align 8
%7 = call i32 @fclose(ptr noundef %6)
br label %9
8: ; preds = %0
br label %9
9: ; preds = %8, %5
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpllz12fdj.c'
source_filename = "/tmp/tmpllz12fdj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Nombre de parametres insuffisants\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"resultat: %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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %16
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @html_count(ptr noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14)
store i32 0, ptr %3, align 4
br label %16
16: ; preds = %10, %8
%17 = load i32, ptr %3, align 4
ret i32 %17
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @html_count(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpllz12fdj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Nombre de parametres insuffisants\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"resultat: %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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %16
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @html_count(ptr noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14)
store i32 0, ptr %3, align 4
br label %16
16: ; preds = %10, %8
%17 = load i32, ptr %3, align 4
ret i32 %17
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @html_count(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpskitozg6.c'
source_filename = "/tmp/tmpskitozg6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"set channel\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"channel = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"set servo us\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"==========\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = call i32 (...) @init_9685()
br label %9
9: ; preds = %2, %9
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%12 = load i32, ptr %6, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = call i32 @set_servo(i32 noundef %16, i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %9
}
declare i32 @init_9685(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @set_servo(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/tmpskitozg6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"set channel\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"channel = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"set servo us\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"==========\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = call i32 (...) @init_9685()
br label %9
9: ; preds = %9, %2
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%12 = load i32, ptr %6, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = call i32 @set_servo(i32 noundef %16, i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %9
}
declare i32 @init_9685(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @set_servo(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/tmp2o0olsyj.c'
source_filename = "/tmp/tmp2o0olsyj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @epr_free_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %6
5: ; preds = %1
br label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
br label %9
9: ; preds = %6, %5
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2o0olsyj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @epr_free_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %6
5: ; preds = %1
br label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
br label %9
9: ; preds = %6, %5
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp53ksvrs4.c'
source_filename = "/tmp/tmp53ksvrs4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @weenixname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %28, %1
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %31
10: ; preds = %5
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
switch i32 %13, label %22 [
i32 46, label %14
i32 47, label %16
i32 95, label %18
i32 32, label %20
]
14: ; preds = %10
%15 = load ptr, ptr %3, align 8
store i8 95, ptr %15, align 1
br label %27
16: ; preds = %10
%17 = load ptr, ptr %3, align 8
store i8 123, ptr %17, align 1
br label %27
18: ; preds = %10
%19 = load ptr, ptr %3, align 8
store i8 125, ptr %19, align 1
br label %27
20: ; preds = %10
%21 = load ptr, ptr %3, align 8
store i8 126, ptr %21, align 1
br label %27
22: ; preds = %10
%23 = load ptr, ptr %3, align 8
%24 = load i8, ptr %23, align 1
%25 = call signext i8 @tolower(i8 noundef signext %24)
%26 = load ptr, ptr %3, align 8
store i8 %25, ptr %26, align 1
br label %27
27: ; preds = %22, %20, %18, %16, %14
br label %28
28: ; preds = %27
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %3, align 8
br label %5, !llvm.loop !6
31: ; preds = %5
br label %32
32: ; preds = %38, %31
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 -1
store ptr %34, ptr %3, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 126
br i1 %37, label %38, label %40
38: ; preds = %32
%39 = load ptr, ptr %3, align 8
store i8 0, ptr %39, align 1
br label %32, !llvm.loop !8
40: ; preds = %32
ret void
}
declare signext i8 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp53ksvrs4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @weenixname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 0
br i1 %8, label %.lr.ph, label %34
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %27
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
switch i32 %12, label %21 [
i32 46, label %13
i32 47, label %15
i32 95, label %17
i32 32, label %19
]
13: ; preds = %9
%14 = load ptr, ptr %3, align 8
store i8 95, ptr %14, align 1
br label %26
15: ; preds = %9
%16 = load ptr, ptr %3, align 8
store i8 123, ptr %16, align 1
br label %26
17: ; preds = %9
%18 = load ptr, ptr %3, align 8
store i8 125, ptr %18, align 1
br label %26
19: ; preds = %9
%20 = load ptr, ptr %3, align 8
store i8 126, ptr %20, align 1
br label %26
21: ; preds = %9
%22 = load ptr, ptr %3, align 8
%23 = load i8, ptr %22, align 1
%24 = call signext i8 @tolower(i8 noundef signext %23)
%25 = load ptr, ptr %3, align 8
store i8 %24, ptr %25, align 1
br label %26
26: ; preds = %21, %19, %17, %15, %13
br label %27
27: ; preds = %26
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %3, align 8
%30 = load ptr, ptr %3, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 0
br i1 %33, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %34
34: ; preds = %._crit_edge, %1
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 -1
store ptr %36, ptr %3, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 126
br i1 %39, label %.lr.ph2, label %47
.lr.ph2: ; preds = %34
br label %40
40: ; preds = %.lr.ph2, %40
%41 = load ptr, ptr %3, align 8
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 -1
store ptr %43, ptr %3, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 126
br i1 %46, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %47
47: ; preds = %._crit_edge3, %34
ret void
}
declare signext i8 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpu30gts_d.c'
source_filename = "/tmp/tmpu30gts_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"LevPP - A compiler for the Lev++ programming language\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Syntax: levpp [--help] file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
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/tmpu30gts_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [55 x i8] c"LevPP - A compiler for the Lev++ programming language\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Syntax: levpp [--help] file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
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/tmp_l8deuan.c'
source_filename = "/tmp/tmp_l8deuan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%.2X%.2X...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rng_showstate(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 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%11 = load i8, ptr %10, align 1
%12 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, i8 noundef zeroext %8, i8 noundef zeroext %11)
%13 = load ptr, ptr %4, align 8
ret ptr %13
}
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, 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/tmp_l8deuan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%.2X%.2X...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rng_showstate(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 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = load i8, ptr %7, align 1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%11 = load i8, ptr %10, align 1
%12 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, i8 noundef zeroext %8, i8 noundef zeroext %11)
%13 = load ptr, ptr %4, align 8
ret ptr %13
}
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, 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/tmp23kpnz2i.c'
source_filename = "/tmp/tmp23kpnz2i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[1;35m\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"\1B[1;32m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @redirection_left(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 @ft_putstr(ptr noundef @.str)
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = add nsw i32 %8, 1
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %7, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 60
br i1 %14, label %15, label %23
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
%19 = sext i32 %17 to i64
%20 = getelementptr inbounds i8, ptr %16, i64 %19
%21 = load i8, ptr %20, align 1
%22 = call i32 @ft_putchar(i8 noundef signext %21)
br label %23
23: ; preds = %15, %2
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = sext i32 %25 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
%29 = load i8, ptr %28, align 1
%30 = call i32 @ft_putchar(i8 noundef signext %29)
%31 = call i32 @ft_putstr(ptr noundef @.str.1)
br label %32
32: ; preds = %50, %23
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 32
br i1 %39, label %40, label %48
40: ; preds = %32
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %4, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 0
br label %48
48: ; preds = %40, %32
%49 = phi i1 [ false, %32 ], [ %47, %40 ]
br i1 %49, label %50, label %58
50: ; preds = %48
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %4, align 4
%54 = sext i32 %52 to i64
%55 = getelementptr inbounds i8, ptr %51, i64 %54
%56 = load i8, ptr %55, align 1
%57 = call i32 @ft_putchar(i8 noundef signext %56)
br label %32, !llvm.loop !6
58: ; preds = %48
%59 = load i32, ptr %4, align 4
store i32 %59, ptr %5, align 4
br label %60
60: ; preds = %78, %58
%61 = load ptr, ptr %3, align 8
%62 = load i32, ptr %4, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
%65 = load i8, ptr %64, align 1
%66 = call i64 @ft_isalpha(i8 noundef signext %65)
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %76
68: ; preds = %60
%69 = load ptr, ptr %3, align 8
%70 = load i32, ptr %4, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp ne i32 %74, 0
br label %76
76: ; preds = %68, %60
%77 = phi i1 [ false, %60 ], [ %75, %68 ]
br i1 %77, label %78, label %81
78: ; preds = %76
%79 = load i32, ptr %4, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %4, align 4
br label %60, !llvm.loop !8
81: ; preds = %76
%82 = call i32 @ft_putstr(ptr noundef @.str.2)
%83 = load ptr, ptr %3, align 8
%84 = load i32, ptr %5, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
%87 = load i32, ptr %4, align 4
%88 = load i32, ptr %5, align 4
%89 = sub nsw i32 %87, %88
%90 = call i32 @write(i32 noundef 1, ptr noundef %86, i32 noundef %89)
%91 = call i32 @ft_putstr(ptr noundef @.str.1)
%92 = load i32, ptr %4, align 4
ret i32 %92
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @ft_putchar(i8 noundef signext) #1
declare i64 @ft_isalpha(i8 noundef signext) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp23kpnz2i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[1;35m\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"\1B[1;32m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @redirection_left(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 @ft_putstr(ptr noundef @.str)
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = add nsw i32 %8, 1
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %7, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 60
br i1 %14, label %15, label %23
15: ; preds = %2
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
%19 = sext i32 %17 to i64
%20 = getelementptr inbounds i8, ptr %16, i64 %19
%21 = load i8, ptr %20, align 1
%22 = call i32 @ft_putchar(i8 noundef signext %21)
br label %23
23: ; preds = %15, %2
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = sext i32 %25 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
%29 = load i8, ptr %28, align 1
%30 = call i32 @ft_putchar(i8 noundef signext %29)
%31 = call i32 @ft_putstr(ptr noundef @.str.1)
br label %32
32: ; preds = %50, %23
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 32
br i1 %39, label %40, label %48
40: ; preds = %32
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %4, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 0
br label %48
48: ; preds = %40, %32
%49 = phi i1 [ false, %32 ], [ %47, %40 ]
br i1 %49, label %50, label %58
50: ; preds = %48
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %4, align 4
%54 = sext i32 %52 to i64
%55 = getelementptr inbounds i8, ptr %51, i64 %54
%56 = load i8, ptr %55, align 1
%57 = call i32 @ft_putchar(i8 noundef signext %56)
br label %32, !llvm.loop !6
58: ; preds = %48
%59 = load i32, ptr %4, align 4
store i32 %59, ptr %5, align 4
br label %60
60: ; preds = %78, %58
%61 = load ptr, ptr %3, align 8
%62 = load i32, ptr %4, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
%65 = load i8, ptr %64, align 1
%66 = call i64 @ft_isalpha(i8 noundef signext %65)
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %76
68: ; preds = %60
%69 = load ptr, ptr %3, align 8
%70 = load i32, ptr %4, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp ne i32 %74, 0
br label %76
76: ; preds = %68, %60
%77 = phi i1 [ false, %60 ], [ %75, %68 ]
br i1 %77, label %78, label %81
78: ; preds = %76
%79 = load i32, ptr %4, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %4, align 4
br label %60, !llvm.loop !8
81: ; preds = %76
%82 = call i32 @ft_putstr(ptr noundef @.str.2)
%83 = load ptr, ptr %3, align 8
%84 = load i32, ptr %5, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
%87 = load i32, ptr %4, align 4
%88 = load i32, ptr %5, align 4
%89 = sub nsw i32 %87, %88
%90 = call i32 @write(i32 noundef 1, ptr noundef %86, i32 noundef %89)
%91 = call i32 @ft_putstr(ptr noundef @.str.1)
%92 = load i32, ptr %4, align 4
ret i32 %92
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @ft_putchar(i8 noundef signext) #1
declare i64 @ft_isalpha(i8 noundef signext) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmppkyrigpm.c'
source_filename = "/tmp/tmppkyrigpm.c"
target datalayout = "e-m:e-p270: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/tmppkyrigpm.c"
target datalayout = "e-m:e-p270: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/tmpedcdxx9j.c'
source_filename = "/tmp/tmpedcdxx9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter the card name: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%2s\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Invalid card value.\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Current count: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [3 x i8], align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i8 88, ptr %2, align 1
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %68, %0
%7 = call i32 @puts(ptr noundef @.str)
%8 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%10 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 88
br i1 %13, label %14, label %15
14: ; preds = %6
store i32 0, ptr %1, align 4
br label %74
15: ; preds = %6
store i32 0, ptr %5, align 4
%16 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 65
br i1 %19, label %20, label %21
20: ; preds = %15
store i32 11, ptr %5, align 4
br label %49
21: ; preds = %15
%22 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 75
br i1 %25, label %36, label %26
26: ; preds = %21
%27 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 81
br i1 %30, label %36, label %31
31: ; preds = %26
%32 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 74
br i1 %35, label %36, label %37
36: ; preds = %31, %26, %21
store i32 10, ptr %5, align 4
br label %48
37: ; preds = %31
%38 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%39 = call i32 @atoi(ptr noundef %38)
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp sgt i32 %40, 10
br i1 %41, label %45, label %42
42: ; preds = %37
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %43, 2
br i1 %44, label %45, label %47
45: ; preds = %42, %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %68
47: ; preds = %42
br label %48
48: ; preds = %47, %36
br label %49
49: ; preds = %48, %20
%50 = load i32, ptr %5, align 4
%51 = icmp sge i32 %50, 3
br i1 %51, label %52, label %58
52: ; preds = %49
%53 = load i32, ptr %5, align 4
%54 = icmp sle i32 %53, 6
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load i32, ptr %4, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %4, align 4
br label %65
58: ; preds = %52, %49
%59 = load i32, ptr %5, align 4
%60 = icmp eq i32 %59, 10
br i1 %60, label %61, label %64
61: ; preds = %58
%62 = load i32, ptr %4, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %4, align 4
br label %64
64: ; preds = %61, %58
br label %65
65: ; preds = %64, %55
%66 = load i32, ptr %4, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %66)
br label %68
68: ; preds = %65, %45
%69 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp ne i32 %71, 88
br i1 %72, label %6, label %73, !llvm.loop !6
73: ; preds = %68
store i32 0, ptr %1, align 4
br label %74
74: ; preds = %73, %14
%75 = load i32, ptr %1, align 4
ret i32 %75
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpedcdxx9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter the card name: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%2s\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Invalid card value.\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Current count: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [3 x i8], align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i8 88, ptr %2, align 1
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %68, %0
%7 = call i32 @puts(ptr noundef @.str)
%8 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%10 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 88
br i1 %13, label %14, label %15
14: ; preds = %6
store i32 0, ptr %1, align 4
br label %74
15: ; preds = %6
store i32 0, ptr %5, align 4
%16 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 65
br i1 %19, label %20, label %21
20: ; preds = %15
store i32 11, ptr %5, align 4
br label %49
21: ; preds = %15
%22 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 75
br i1 %25, label %36, label %26
26: ; preds = %21
%27 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 81
br i1 %30, label %36, label %31
31: ; preds = %26
%32 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 74
br i1 %35, label %36, label %37
36: ; preds = %31, %26, %21
store i32 10, ptr %5, align 4
br label %48
37: ; preds = %31
%38 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%39 = call i32 @atoi(ptr noundef %38)
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp sgt i32 %40, 10
br i1 %41, label %45, label %42
42: ; preds = %37
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %43, 2
br i1 %44, label %45, label %47
45: ; preds = %42, %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %68
47: ; preds = %42
br label %48
48: ; preds = %47, %36
br label %49
49: ; preds = %48, %20
%50 = load i32, ptr %5, align 4
%51 = icmp sge i32 %50, 3
br i1 %51, label %52, label %58
52: ; preds = %49
%53 = load i32, ptr %5, align 4
%54 = icmp sle i32 %53, 6
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load i32, ptr %4, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %4, align 4
br label %65
58: ; preds = %52, %49
%59 = load i32, ptr %5, align 4
%60 = icmp eq i32 %59, 10
br i1 %60, label %61, label %64
61: ; preds = %58
%62 = load i32, ptr %4, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %4, align 4
br label %64
64: ; preds = %61, %58
br label %65
65: ; preds = %64, %55
%66 = load i32, ptr %4, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %66)
br label %68
68: ; preds = %65, %45
%69 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp ne i32 %71, 88
br i1 %72, label %6, label %73, !llvm.loop !6
73: ; preds = %68
store i32 0, ptr %1, align 4
br label %74
74: ; preds = %73, %14
%75 = load i32, ptr %1, align 4
ret i32 %75
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvi1g5g1b.c'
source_filename = "/tmp/tmpvi1g5g1b.c"
target datalayout = "e-m:e-p270: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/tmpvi1g5g1b.c"
target datalayout = "e-m:e-p270: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/tmp3gy3__zh.c'
source_filename = "/tmp/tmp3gy3__zh.c"
target datalayout = "e-m:e-p270: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/tmp3gy3__zh.c"
target datalayout = "e-m:e-p270: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/tmpffqbl0qz.c'
source_filename = "/tmp/tmpffqbl0qz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0x01\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x01() #0 {
%1 = call i64 @isxdigit(i32 noundef 1)
%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 10, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpffqbl0qz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0x01\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x01() #0 {
%1 = call i64 @isxdigit(i32 noundef 1)
%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 10, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isxdigit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjzj_z60f.c'
source_filename = "/tmp/tmpjzj_z60f.c"
target datalayout = "e-m:e-p270: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/tmpjzj_z60f.c"
target datalayout = "e-m:e-p270: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/tmpywfxcikr.c'
source_filename = "/tmp/tmpywfxcikr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @INILoadUInt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [256 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%14 = load ptr, ptr %9, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %4
store i32 -1, ptr %5, align 4
br label %80
17: ; preds = %4
%18 = load ptr, ptr %9, align 8
store i32 0, ptr %18, align 4
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %8, align 8
%22 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%23 = call i32 @INILoadString(ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %11, align 4
%24 = load i32, ptr %11, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %17
%27 = load i32, ptr %11, align 4
store i32 %27, ptr %5, align 4
br label %80
28: ; preds = %17
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %29
29: ; preds = %76, %28
%30 = load i32, ptr %13, align 4
%31 = icmp slt i32 %30, 255
br i1 %31, label %32, label %39
32: ; preds = %29
%33 = load i32, ptr %13, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 0
br label %39
39: ; preds = %32, %29
%40 = phi i1 [ false, %29 ], [ %38, %32 ]
br i1 %40, label %41, label %77
41: ; preds = %39
%42 = load i32, ptr %12, align 4
%43 = icmp ugt i32 %42, 429496729
br i1 %43, label %44, label %45
44: ; preds = %41
store i32 -1, ptr %5, align 4
br label %80
45: ; preds = %41
%46 = load i32, ptr %13, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp sge i32 %50, 48
br i1 %51, label %52, label %72
52: ; preds = %45
%53 = load i32, ptr %13, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp sle i32 %57, 57
br i1 %58, label %59, label %72
59: ; preds = %52
%60 = load i32, ptr %12, align 4
%61 = mul i32 %60, 10
store i32 %61, ptr %12, align 4
%62 = load i32, ptr %13, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = sub nsw i32 %66, 48
%68 = load i32, ptr %12, align 4
%69 = add i32 %68, %67
store i32 %69, ptr %12, align 4
%70 = load i32, ptr %13, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %13, align 4
br label %76
72: ; preds = %52, %45
%73 = load i32, ptr %13, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 %74
store i8 0, ptr %75, align 1
br label %76
76: ; preds = %72, %59
br label %29, !llvm.loop !6
77: ; preds = %39
%78 = load i32, ptr %12, align 4
%79 = load ptr, ptr %9, align 8
store i32 %78, ptr %79, align 4
store i32 0, ptr %5, align 4
br label %80
80: ; preds = %77, %44, %26, %16
%81 = load i32, ptr %5, align 4
ret i32 %81
}
declare i32 @INILoadString(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpywfxcikr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @INILoadUInt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [256 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%14 = load ptr, ptr %9, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %4
store i32 -1, ptr %5, align 4
br label %80
17: ; preds = %4
%18 = load ptr, ptr %9, align 8
store i32 0, ptr %18, align 4
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %8, align 8
%22 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%23 = call i32 @INILoadString(ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %11, align 4
%24 = load i32, ptr %11, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %17
%27 = load i32, ptr %11, align 4
store i32 %27, ptr %5, align 4
br label %80
28: ; preds = %17
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %29
29: ; preds = %76, %28
%30 = load i32, ptr %13, align 4
%31 = icmp slt i32 %30, 255
br i1 %31, label %32, label %39
32: ; preds = %29
%33 = load i32, ptr %13, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 0
br label %39
39: ; preds = %32, %29
%40 = phi i1 [ false, %29 ], [ %38, %32 ]
br i1 %40, label %41, label %77
41: ; preds = %39
%42 = load i32, ptr %12, align 4
%43 = icmp ugt i32 %42, 429496729
br i1 %43, label %44, label %45
44: ; preds = %41
store i32 -1, ptr %5, align 4
br label %80
45: ; preds = %41
%46 = load i32, ptr %13, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp sge i32 %50, 48
br i1 %51, label %52, label %72
52: ; preds = %45
%53 = load i32, ptr %13, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp sle i32 %57, 57
br i1 %58, label %59, label %72
59: ; preds = %52
%60 = load i32, ptr %12, align 4
%61 = mul i32 %60, 10
store i32 %61, ptr %12, align 4
%62 = load i32, ptr %13, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = sub nsw i32 %66, 48
%68 = load i32, ptr %12, align 4
%69 = add i32 %68, %67
store i32 %69, ptr %12, align 4
%70 = load i32, ptr %13, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %13, align 4
br label %76
72: ; preds = %52, %45
%73 = load i32, ptr %13, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 %74
store i8 0, ptr %75, align 1
br label %76
76: ; preds = %72, %59
br label %29, !llvm.loop !6
77: ; preds = %39
%78 = load i32, ptr %12, align 4
%79 = load ptr, ptr %9, align 8
store i32 %78, ptr %79, align 4
store i32 0, ptr %5, align 4
br label %80
80: ; preds = %77, %44, %26, %16
%81 = load i32, ptr %5, align 4
ret i32 %81
}
declare i32 @INILoadString(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplrx57jlu.c'
source_filename = "/tmp/tmplrx57jlu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"YES\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setLogYesNo(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = call i64 @strcmp(ptr noundef %10, ptr noundef @.str.1)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %9
store i32 1, ptr %3, align 4
br label %17
14: ; preds = %9
store i32 0, ptr %3, align 4
br label %17
15: ; preds = %2
%16 = call i32 (...) @unknown_com()
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %15, %14, %13
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @unknown_com(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplrx57jlu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"YES\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setLogYesNo(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = call i64 @strcmp(ptr noundef %10, ptr noundef @.str.1)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %9
store i32 1, ptr %3, align 4
br label %17
14: ; preds = %9
store i32 0, ptr %3, align 4
br label %17
15: ; preds = %2
%16 = call i32 (...) @unknown_com()
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %15, %14, %13
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @unknown_com(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvgoy78az.c'
source_filename = "/tmp/tmpvgoy78az.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fu: %s: error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fu_Error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [256 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @perror(ptr noundef %7)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr 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/tmpvgoy78az.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fu: %s: error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fu_Error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [256 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%5 = load ptr, ptr %2, align 8
%6 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, ptr noundef %5)
%7 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @perror(ptr noundef %7)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr 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/tmpc4g1cg98.c'
source_filename = "/tmp/tmpc4g1cg98.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_enconcat_str() #0 {
%1 = call i32 (...) @do_swapd()
%2 = call i32 (...) @do_cons_str()
%3 = call i32 (...) @do_concat_str()
ret void
}
declare i32 @do_swapd(...) #1
declare i32 @do_cons_str(...) #1
declare i32 @do_concat_str(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc4g1cg98.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_enconcat_str() #0 {
%1 = call i32 (...) @do_swapd()
%2 = call i32 (...) @do_cons_str()
%3 = call i32 (...) @do_concat_str()
ret void
}
declare i32 @do_swapd(...) #1
declare i32 @do_cons_str(...) #1
declare i32 @do_concat_str(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp384j70yc.c'
source_filename = "/tmp/tmp384j70yc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_AssnDef_plus(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call ptr @Cyc_AssnDef_binop(i32 noundef 0, ptr noundef %8, ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
ret ptr %12
}
declare ptr @Cyc_AssnDef_binop(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp384j70yc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_AssnDef_plus(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call ptr @Cyc_AssnDef_binop(i32 noundef 0, ptr noundef %8, ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
ret ptr %12
}
declare ptr @Cyc_AssnDef_binop(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpljroit6y.c'
source_filename = "/tmp/tmpljroit6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error writing\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"error reading\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @maestroGetPosition(i32 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca [2 x i8], align 1
%7 = alloca [2 x i8], align 1
store i32 %0, ptr %4, align 4
store i8 %1, ptr %5, align 1
%8 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
store i8 -112, ptr %8, align 1
%9 = getelementptr inbounds i8, ptr %8, i64 1
%10 = load i8, ptr %5, align 1
store i8 %10, ptr %9, align 1
%11 = load i32, ptr %4, align 4
%12 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%13 = call i32 @write(i32 noundef %11, ptr noundef %12, i32 noundef 2)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %33
17: ; preds = %2
%18 = load i32, ptr %4, align 4
%19 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%20 = call i32 @read(i32 noundef %18, ptr noundef %19, i32 noundef 2)
%21 = icmp ne i32 %20, 2
br i1 %21, label %22, label %24
22: ; preds = %17
%23 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %33
24: ; preds = %17
%25 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1
%29 = load i8, ptr %28, align 1
%30 = zext i8 %29 to i32
%31 = mul nsw i32 256, %30
%32 = add nsw i32 %27, %31
store i32 %32, ptr %3, align 4
br label %33
33: ; preds = %24, %22, %15
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpljroit6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error writing\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"error reading\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @maestroGetPosition(i32 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca [2 x i8], align 1
%7 = alloca [2 x i8], align 1
store i32 %0, ptr %4, align 4
store i8 %1, ptr %5, align 1
%8 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
store i8 -112, ptr %8, align 1
%9 = getelementptr inbounds i8, ptr %8, i64 1
%10 = load i8, ptr %5, align 1
store i8 %10, ptr %9, align 1
%11 = load i32, ptr %4, align 4
%12 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0
%13 = call i32 @write(i32 noundef %11, ptr noundef %12, i32 noundef 2)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %33
17: ; preds = %2
%18 = load i32, ptr %4, align 4
%19 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%20 = call i32 @read(i32 noundef %18, ptr noundef %19, i32 noundef 2)
%21 = icmp ne i32 %20, 2
br i1 %21, label %22, label %24
22: ; preds = %17
%23 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %33
24: ; preds = %17
%25 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%26 = load i8, ptr %25, align 1
%27 = zext i8 %26 to i32
%28 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1
%29 = load i8, ptr %28, align 1
%30 = zext i8 %29 to i32
%31 = mul nsw i32 256, %30
%32 = add nsw i32 %27, %31
store i32 %32, ptr %3, align 4
br label %33
33: ; preds = %24, %22, %15
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwt63s5og.c'
source_filename = "/tmp/tmpwt63s5og.c"
target datalayout = "e-m:e-p270: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/tmpwt63s5og.c"
target datalayout = "e-m:e-p270: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/tmpqwvg1ixf.c'
source_filename = "/tmp/tmpqwvg1ixf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"TLC\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"TGS,2\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"error : speed to hight\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @turnLeftC(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @writeCommand2parm(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
br label %9
9: ; preds = %20, %2
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %10, 3
br i1 %11, label %12, label %21
12: ; preds = %9
%13 = call i32 @usleep(i32 noundef 10)
%14 = call i32 @writeCommand(ptr noundef @.str.1)
%15 = call i32 (...) @readInt()
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp eq i32 %16, 4
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = call i32 @printf(ptr noundef @.str.2)
store i32 3, ptr %5, align 4
br label %20
20: ; preds = %18, %12
br label %9, !llvm.loop !6
21: ; preds = %9
ret void
}
declare i32 @writeCommand2parm(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @writeCommand(ptr noundef) #1
declare i32 @readInt(...) #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/tmpqwvg1ixf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"TLC\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"TGS,2\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"error : speed to hight\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @turnLeftC(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @writeCommand2parm(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 3
br i1 %10, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %19
%12 = call i32 @usleep(i32 noundef 10)
%13 = call i32 @writeCommand(ptr noundef @.str.1)
%14 = call i32 (...) @readInt()
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %15, 4
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = call i32 @printf(ptr noundef @.str.2)
store i32 3, ptr %5, align 4
br label %19
19: ; preds = %17, %11
%20 = load i32, ptr %5, align 4
%21 = icmp ne i32 %20, 3
br i1 %21, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %22
22: ; preds = %._crit_edge, %2
ret void
}
declare i32 @writeCommand2parm(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @writeCommand(ptr noundef) #1
declare i32 @readInt(...) #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/tmpljrrhekg.c'
source_filename = "/tmp/tmpljrrhekg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@cumnbn.T1 = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cumnbn(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load double, ptr %13, align 8
%15 = fadd double %14, 1.000000e+00
store double %15, ptr @cumnbn.T1, align 8
%16 = load ptr, ptr %9, align 8
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %8, align 8
%19 = load ptr, ptr %11, align 8
%20 = load ptr, ptr %12, align 8
%21 = call i32 @cumbet(ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef @cumnbn.T1, ptr noundef %19, ptr noundef %20)
ret void
}
declare i32 @cumbet(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpljrrhekg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@cumnbn.T1 = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cumnbn(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load double, ptr %13, align 8
%15 = fadd double %14, 1.000000e+00
store double %15, ptr @cumnbn.T1, align 8
%16 = load ptr, ptr %9, align 8
%17 = load ptr, ptr %10, align 8
%18 = load ptr, ptr %8, align 8
%19 = load ptr, ptr %11, align 8
%20 = load ptr, ptr %12, align 8
%21 = call i32 @cumbet(ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef @cumnbn.T1, ptr noundef %19, ptr noundef %20)
ret void
}
declare i32 @cumbet(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwg08hpok.c'
source_filename = "/tmp/tmpwg08hpok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"spectraltool stopscan\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ssd_stop_scan() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwg08hpok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"spectraltool stopscan\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ssd_stop_scan() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7aqhxtgm.c'
source_filename = "/tmp/tmp7aqhxtgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @OsSetEvent(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = inttoptr i64 %3 to ptr
%5 = getelementptr inbounds i32, ptr %4, i64 1
%6 = load i32, ptr %5, align 4
%7 = call i64 @write(i32 noundef %6, ptr noundef @.str, i32 noundef 1)
ret i64 %7
}
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7aqhxtgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @OsSetEvent(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = inttoptr i64 %3 to ptr
%5 = getelementptr inbounds i32, ptr %4, i64 1
%6 = load i32, ptr %5, align 4
%7 = call i64 @write(i32 noundef %6, ptr noundef @.str, i32 noundef 1)
ret i64 %7
}
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7h2thi_v.c'
source_filename = "/tmp/tmp7h2thi_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @readbuffer(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i8, align 1
%10 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %10, align 8
store i64 1, ptr %7, align 8
br label %12
12: ; preds = %30, %3
%13 = load i64, ptr %7, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %16, label %33
16: ; preds = %12
%17 = load i32, ptr %4, align 4
%18 = call i64 @read(i32 noundef %17, ptr noundef %9, i32 noundef 1)
store i64 %18, ptr %8, align 8
%19 = icmp eq i64 %18, 1
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load i8, ptr %9, align 1
%22 = load ptr, ptr %10, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %10, align 8
store i8 %21, ptr %22, align 1
%24 = load i8, ptr %9, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 10
br i1 %26, label %27, label %28
27: ; preds = %20
br label %33
28: ; preds = %20
br label %29
29: ; preds = %28, %16
br label %30
30: ; preds = %29
%31 = load i64, ptr %7, align 8
%32 = add i64 %31, 1
store i64 %32, ptr %7, align 8
br label %12, !llvm.loop !6
33: ; preds = %27, %12
%34 = load ptr, ptr %10, align 8
store i8 0, ptr %34, align 1
%35 = load i64, ptr %7, align 8
ret i64 %35
}
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7h2thi_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @readbuffer(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i8, align 1
%10 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %10, align 8
store i64 1, ptr %7, align 8
%12 = load i64, ptr %7, align 8
%13 = load i64, ptr %6, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %29
%16 = load i32, ptr %4, align 4
%17 = call i64 @read(i32 noundef %16, ptr noundef %9, i32 noundef 1)
store i64 %17, ptr %8, align 8
%18 = icmp eq i64 %17, 1
br i1 %18, label %19, label %28
19: ; preds = %15
%20 = load i8, ptr %9, align 1
%21 = load ptr, ptr %10, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %10, align 8
store i8 %20, ptr %21, align 1
%23 = load i8, ptr %9, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 10
br i1 %25, label %26, label %27
26: ; preds = %19
br label %35
27: ; preds = %19
br label %28
28: ; preds = %27, %15
br label %29
29: ; preds = %28
%30 = load i64, ptr %7, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %7, align 8
%32 = load i64, ptr %7, align 8
%33 = load i64, ptr %6, align 8
%34 = icmp ult i64 %32, %33
br i1 %34, label %15, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %29
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %35
35: ; preds = %.loopexit, %26
%36 = load ptr, ptr %10, align 8
store i8 0, ptr %36, align 1
%37 = load i64, ptr %7, align 8
ret i64 %37
}
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqrv6j76v.c'
source_filename = "/tmp/tmpqrv6j76v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"That is already closed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @isAlreadyClosed() #0 {
%1 = call i32 @printPrivate(ptr noundef @.str)
ret void
}
declare i32 @printPrivate(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqrv6j76v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"That is already closed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @isAlreadyClosed() #0 {
%1 = call i32 @printPrivate(ptr noundef @.str)
ret void
}
declare i32 @printPrivate(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvt2kq0ua.c'
source_filename = "/tmp/tmpvt2kq0ua.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"Usage: wordsort dict ...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpvt2kq0ua.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"Usage: wordsort dict ...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpebz7rd_w.c'
source_filename = "/tmp/tmpebz7rd_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 [23 x i8] c"PLATFORM_ENV_OS_DETAIL\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"PLATFORM_ENV_OS_VER_DETAIL\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"PLATFORM_ENV_OS_FEATURE_DETAIL\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"PLATFORM_ENV_CPU_DETAIL\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"PLATFORM_ENV_CPU_FEATURE_DETAIL\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"PLATFORM_ENV_TOOLCHAIN_DETAIL\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"PLATFORM_ENV_TOOLCHAIN_VER_DETAIL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 -1, ptr %3, align 4
br label %65
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i64 @strncmp(ptr noundef %12, ptr noundef @.str, i32 noundef 22)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = call i32 (...) @__detect_PLATFORM_ENV_OS_DETAIL()
store i32 %16, ptr %3, align 4
br label %65
17: ; preds = %9
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strncmp(ptr noundef %20, ptr noundef @.str.1, i32 noundef 26)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %17
%24 = call i32 (...) @__detect_PLATFORM_ENV_OS_VER_DETAIL()
store i32 %24, ptr %3, align 4
br label %65
25: ; preds = %17
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strncmp(ptr noundef %28, ptr noundef @.str.2, i32 noundef 30)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %25
%32 = call i32 (...) @__detect_PLATFORM_ENV_OS_FEATURE_DETAIL()
store i32 %32, ptr %3, align 4
br label %65
33: ; preds = %25
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
%37 = call i64 @strncmp(ptr noundef %36, ptr noundef @.str.3, i32 noundef 23)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %33
%40 = call i32 (...) @__detect_PLATFORM_ENV_CPU_DETAIL()
store i32 %40, ptr %3, align 4
br label %65
41: ; preds = %33
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 1
%44 = load ptr, ptr %43, align 8
%45 = call i64 @strncmp(ptr noundef %44, ptr noundef @.str.4, i32 noundef 31)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %41
%48 = call i32 (...) @__detect_PLATFORM_ENV_CPU_FEATURE_DETAIL()
store i32 %48, ptr %3, align 4
br label %65
49: ; preds = %41
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 1
%52 = load ptr, ptr %51, align 8
%53 = call i64 @strncmp(ptr noundef %52, ptr noundef @.str.5, i32 noundef 29)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %49
%56 = call i32 (...) @__detect_PLATFORM_ENV_TOOLCHAIN_DETAIL()
store i32 %56, ptr %3, align 4
br label %65
57: ; preds = %49
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds ptr, ptr %58, i64 1
%60 = load ptr, ptr %59, align 8
%61 = call i64 @strncmp(ptr noundef %60, ptr noundef @.str.6, i32 noundef 33)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %57
%64 = call i32 (...) @__detect_PLATFORM_ENV_TOOLCHAIN_VER_DETAIL()
store i32 %64, ptr %3, align 4
br label %65
65: ; preds = %8, %15, %23, %31, %39, %47, %55, %63, %57
%66 = load i32, ptr %3, align 4
ret i32 %66
}
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @__detect_PLATFORM_ENV_OS_DETAIL(...) #1
declare i32 @__detect_PLATFORM_ENV_OS_VER_DETAIL(...) #1
declare i32 @__detect_PLATFORM_ENV_OS_FEATURE_DETAIL(...) #1
declare i32 @__detect_PLATFORM_ENV_CPU_DETAIL(...) #1
declare i32 @__detect_PLATFORM_ENV_CPU_FEATURE_DETAIL(...) #1
declare i32 @__detect_PLATFORM_ENV_TOOLCHAIN_DETAIL(...) #1
declare i32 @__detect_PLATFORM_ENV_TOOLCHAIN_VER_DETAIL(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpebz7rd_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 [23 x i8] c"PLATFORM_ENV_OS_DETAIL\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"PLATFORM_ENV_OS_VER_DETAIL\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"PLATFORM_ENV_OS_FEATURE_DETAIL\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"PLATFORM_ENV_CPU_DETAIL\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"PLATFORM_ENV_CPU_FEATURE_DETAIL\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"PLATFORM_ENV_TOOLCHAIN_DETAIL\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"PLATFORM_ENV_TOOLCHAIN_VER_DETAIL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 -1, ptr %3, align 4
br label %65
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i64 @strncmp(ptr noundef %12, ptr noundef @.str, i32 noundef 22)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = call i32 (...) @__detect_PLATFORM_ENV_OS_DETAIL()
store i32 %16, ptr %3, align 4
br label %65
17: ; preds = %9
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i64 @strncmp(ptr noundef %20, ptr noundef @.str.1, i32 noundef 26)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %17
%24 = call i32 (...) @__detect_PLATFORM_ENV_OS_VER_DETAIL()
store i32 %24, ptr %3, align 4
br label %65
25: ; preds = %17
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strncmp(ptr noundef %28, ptr noundef @.str.2, i32 noundef 30)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %25
%32 = call i32 (...) @__detect_PLATFORM_ENV_OS_FEATURE_DETAIL()
store i32 %32, ptr %3, align 4
br label %65
33: ; preds = %25
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
%37 = call i64 @strncmp(ptr noundef %36, ptr noundef @.str.3, i32 noundef 23)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %33
%40 = call i32 (...) @__detect_PLATFORM_ENV_CPU_DETAIL()
store i32 %40, ptr %3, align 4
br label %65
41: ; preds = %33
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 1
%44 = load ptr, ptr %43, align 8
%45 = call i64 @strncmp(ptr noundef %44, ptr noundef @.str.4, i32 noundef 31)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %41
%48 = call i32 (...) @__detect_PLATFORM_ENV_CPU_FEATURE_DETAIL()
store i32 %48, ptr %3, align 4
br label %65
49: ; preds = %41
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 1
%52 = load ptr, ptr %51, align 8
%53 = call i64 @strncmp(ptr noundef %52, ptr noundef @.str.5, i32 noundef 29)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %49
%56 = call i32 (...) @__detect_PLATFORM_ENV_TOOLCHAIN_DETAIL()
store i32 %56, ptr %3, align 4
br label %65
57: ; preds = %49
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds ptr, ptr %58, i64 1
%60 = load ptr, ptr %59, align 8
%61 = call i64 @strncmp(ptr noundef %60, ptr noundef @.str.6, i32 noundef 33)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %57
%64 = call i32 (...) @__detect_PLATFORM_ENV_TOOLCHAIN_VER_DETAIL()
store i32 %64, ptr %3, align 4
br label %65
65: ; preds = %63, %57, %55, %47, %39, %31, %23, %15, %8
%66 = load i32, ptr %3, align 4
ret i32 %66
}
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @__detect_PLATFORM_ENV_OS_DETAIL(...) #1
declare i32 @__detect_PLATFORM_ENV_OS_VER_DETAIL(...) #1
declare i32 @__detect_PLATFORM_ENV_OS_FEATURE_DETAIL(...) #1
declare i32 @__detect_PLATFORM_ENV_CPU_DETAIL(...) #1
declare i32 @__detect_PLATFORM_ENV_CPU_FEATURE_DETAIL(...) #1
declare i32 @__detect_PLATFORM_ENV_TOOLCHAIN_DETAIL(...) #1
declare i32 @__detect_PLATFORM_ENV_TOOLCHAIN_VER_DETAIL(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwhf35h2n.c'
source_filename = "/tmp/tmpwhf35h2n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ieee_p_2592010699_sub_13398659724425974923_503743352(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [128 x i8], align 16
%10 = alloca [24 x i8], align 16
%11 = alloca [16 x i8], align 16
%12 = alloca [16 x i8], align 16
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%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 ptr, align 8
%23 = alloca i32, align 4
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca i8, align 1
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca i32, align 4
%39 = alloca ptr, align 8
%40 = alloca i32, align 4
%41 = alloca ptr, align 8
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i32, align 4
%46 = alloca i32, align 4
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca i32, align 4
%51 = alloca ptr, align 8
%52 = alloca i32, align 4
%53 = alloca i32, align 4
%54 = alloca ptr, align 8
%55 = alloca i32, align 4
%56 = alloca i32, align 4
%57 = alloca i32, align 4
%58 = alloca ptr, align 8
%59 = alloca i8, align 1
%60 = alloca i32, align 4
%61 = alloca i32, align 4
%62 = alloca i32, align 4
%63 = alloca i32, align 4
%64 = alloca ptr, align 8
%65 = alloca i8, align 1
%66 = alloca ptr, align 8
%67 = alloca ptr, align 8
%68 = alloca i32, align 4
%69 = alloca ptr, align 8
%70 = alloca i32, align 4
%71 = alloca i32, align 4
%72 = alloca i32, align 4
%73 = alloca i32, align 4
%74 = alloca i32, align 4
%75 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
br label %76
76: ; preds = %4
%77 = load ptr, ptr %8, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 12
store ptr %78, ptr %14, align 8
%79 = load ptr, ptr %14, align 8
%80 = load i32, ptr %79, align 4
store i32 %80, ptr %15, align 4
%81 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%82 = getelementptr inbounds i8, ptr %81, i64 0
store ptr %82, ptr %16, align 8
%83 = load ptr, ptr %16, align 8
%84 = getelementptr inbounds i8, ptr %83, i64 0
store ptr %84, ptr %17, align 8
%85 = load ptr, ptr %17, align 8
store i32 1, ptr %85, align 4
%86 = load ptr, ptr %16, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 4
store ptr %87, ptr %17, align 8
%88 = load i32, ptr %15, align 4
%89 = load ptr, ptr %17, align 8
store i32 %88, ptr %89, align 4
%90 = load ptr, ptr %16, align 8
%91 = getelementptr inbounds i8, ptr %90, i64 8
store ptr %91, ptr %17, align 8
%92 = load ptr, ptr %17, align 8
store i32 1, ptr %92, align 4
%93 = load i32, ptr %15, align 4
%94 = sub i32 %93, 1
store i32 %94, ptr %18, align 4
%95 = load i32, ptr %18, align 4
%96 = mul nsw i32 %95, 1
store i32 %96, ptr %19, align 4
%97 = load i32, ptr %19, align 4
%98 = add i32 %97, 1
store i32 %98, ptr %19, align 4
%99 = load ptr, ptr %16, align 8
%100 = getelementptr inbounds i8, ptr %99, i64 12
store ptr %100, ptr %17, align 8
%101 = load i32, ptr %19, align 4
%102 = load ptr, ptr %17, align 8
store i32 %101, ptr %102, align 4
%103 = load ptr, ptr %8, align 8
%104 = getelementptr inbounds i8, ptr %103, i64 12
store ptr %104, ptr %17, align 8
%105 = load ptr, ptr %17, align 8
%106 = load i32, ptr %105, align 4
store i32 %106, ptr %19, align 4
%107 = load i32, ptr %19, align 4
%108 = sub i32 %107, 1
store i32 %108, ptr %20, align 4
%109 = load i32, ptr %20, align 4
%110 = mul nsw i32 %109, 1
store i32 %110, ptr %21, align 4
%111 = load i32, ptr %21, align 4
%112 = add i32 %111, 1
store i32 %112, ptr %21, align 4
%113 = load i32, ptr %21, align 4
%114 = mul i32 %113, 1
store i32 %114, ptr %21, align 4
%115 = load ptr, ptr %8, align 8
%116 = getelementptr inbounds i8, ptr %115, i64 12
store ptr %116, ptr %22, align 8
%117 = load ptr, ptr %22, align 8
%118 = load i32, ptr %117, align 4
store i32 %118, ptr %23, align 4
%119 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%120 = getelementptr inbounds i8, ptr %119, i64 0
store ptr %120, ptr %24, align 8
%121 = load ptr, ptr %24, align 8
%122 = getelementptr inbounds i8, ptr %121, i64 0
store ptr %122, ptr %25, align 8
%123 = load ptr, ptr %25, align 8
store i32 1, ptr %123, align 4
%124 = load ptr, ptr %24, align 8
%125 = getelementptr inbounds i8, ptr %124, i64 4
store ptr %125, ptr %25, align 8
%126 = load i32, ptr %23, align 4
%127 = load ptr, ptr %25, align 8
store i32 %126, ptr %127, align 4
%128 = load ptr, ptr %24, align 8
%129 = getelementptr inbounds i8, ptr %128, i64 8
store ptr %129, ptr %25, align 8
%130 = load ptr, ptr %25, align 8
store i32 1, ptr %130, align 4
%131 = load i32, ptr %23, align 4
%132 = sub i32 %131, 1
store i32 %132, ptr %26, align 4
%133 = load i32, ptr %26, align 4
%134 = mul nsw i32 %133, 1
store i32 %134, ptr %27, align 4
%135 = load i32, ptr %27, align 4
%136 = add i32 %135, 1
store i32 %136, ptr %27, align 4
%137 = load ptr, ptr %24, align 8
%138 = getelementptr inbounds i8, ptr %137, i64 12
store ptr %138, ptr %25, align 8
%139 = load i32, ptr %27, align 4
%140 = load ptr, ptr %25, align 8
store i32 %139, ptr %140, align 4
%141 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%142 = getelementptr inbounds i8, ptr %141, i64 4
store ptr %142, ptr %25, align 8
%143 = load ptr, ptr %5, align 8
%144 = getelementptr inbounds i8, ptr %143, i64 3896
store ptr %144, ptr %28, align 8
%145 = load ptr, ptr %25, align 8
%146 = getelementptr inbounds i8, ptr %145, i64 88
store ptr %146, ptr %29, align 8
%147 = load ptr, ptr %28, align 8
%148 = load ptr, ptr %29, align 8
store ptr %147, ptr %148, align 8
%149 = load i32, ptr %21, align 4
%150 = call i64 @alloca(i32 noundef %149)
%151 = inttoptr i64 %150 to ptr
store ptr %151, ptr %30, align 8
%152 = load ptr, ptr %25, align 8
%153 = getelementptr inbounds i8, ptr %152, i64 56
store ptr %153, ptr %31, align 8
%154 = load ptr, ptr %30, align 8
%155 = load ptr, ptr %31, align 8
store ptr %154, ptr %155, align 8
%156 = load ptr, ptr %28, align 8
%157 = load ptr, ptr %30, align 8
%158 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%159 = call i32 @xsi_type_set_default_value(ptr noundef %156, ptr noundef %157, ptr noundef %158)
%160 = load ptr, ptr %25, align 8
%161 = getelementptr inbounds i8, ptr %160, i64 64
store ptr %161, ptr %32, align 8
%162 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%163 = load ptr, ptr %32, align 8
store ptr %162, ptr %163, align 8
%164 = load ptr, ptr %25, align 8
%165 = getelementptr inbounds i8, ptr %164, i64 80
store ptr %165, ptr %33, align 8
%166 = load i32, ptr %21, align 4
%167 = load ptr, ptr %33, align 8
store i32 %166, ptr %167, align 4
%168 = getelementptr inbounds [24 x i8], ptr %10, i64 0, i64 0
%169 = getelementptr inbounds i8, ptr %168, i64 4
store ptr %169, ptr %34, align 8
%170 = load ptr, ptr %7, align 8
%171 = icmp ne ptr %170, null
%172 = zext i1 %171 to i32
%173 = trunc i32 %172 to i8
store i8 %173, ptr %35, align 1
%174 = load i8, ptr %35, align 1
%175 = zext i8 %174 to i32
%176 = icmp eq i32 %175, 1
br i1 %176, label %177, label %178
177: ; preds = %76
br label %267
178: ; preds = %76
br label %179
179: ; preds = %267, %178
%180 = getelementptr inbounds [24 x i8], ptr %10, i64 0, i64 0
%181 = getelementptr inbounds i8, ptr %180, i64 12
store ptr %181, ptr %36, align 8
%182 = load ptr, ptr %8, align 8
%183 = load ptr, ptr %36, align 8
store ptr %182, ptr %183, align 8
%184 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%185 = getelementptr inbounds i8, ptr %184, i64 8
store ptr %185, ptr %37, align 8
%186 = load ptr, ptr %37, align 8
%187 = load i32, ptr %186, align 4
store i32 %187, ptr %38, align 4
%188 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%189 = getelementptr inbounds i8, ptr %188, i64 4
store ptr %189, ptr %39, align 8
%190 = load ptr, ptr %39, align 8
%191 = load i32, ptr %190, align 4
store i32 %191, ptr %40, align 4
%192 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%193 = getelementptr inbounds i8, ptr %192, i64 0
store ptr %193, ptr %41, align 8
%194 = load ptr, ptr %41, align 8
%195 = load i32, ptr %194, align 4
store i32 %195, ptr %42, align 4
%196 = load i32, ptr %42, align 4
store i32 %196, ptr %43, align 4
%197 = load i32, ptr %40, align 4
store i32 %197, ptr %44, align 4
br label %198
198: ; preds = %359, %179
%199 = load i32, ptr %44, align 4
%200 = load i32, ptr %38, align 4
%201 = mul nsw i32 %199, %200
store i32 %201, ptr %45, align 4
%202 = load i32, ptr %43, align 4
%203 = load i32, ptr %38, align 4
%204 = mul nsw i32 %202, %203
store i32 %204, ptr %46, align 4
%205 = load i32, ptr %46, align 4
%206 = load i32, ptr %45, align 4
%207 = icmp sle i32 %205, %206
br i1 %207, label %208, label %209
208: ; preds = %198
br label %270
209: ; preds = %198
br label %210
210: ; preds = %357, %209
%211 = load ptr, ptr %25, align 8
%212 = getelementptr inbounds i8, ptr %211, i64 56
store ptr %212, ptr %14, align 8
%213 = load ptr, ptr %14, align 8
%214 = load ptr, ptr %213, align 8
store ptr %214, ptr %16, align 8
%215 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%216 = getelementptr inbounds i8, ptr %215, i64 12
store ptr %216, ptr %14, align 8
%217 = load ptr, ptr %14, align 8
%218 = load i32, ptr %217, align 4
store i32 %218, ptr %15, align 4
%219 = load i32, ptr %15, align 4
%220 = mul i32 %219, 1
store i32 %220, ptr %15, align 4
%221 = load i32, ptr %15, align 4
%222 = call ptr @xsi_get_transient_memory(i32 noundef %221)
store ptr %222, ptr %13, align 8
%223 = load ptr, ptr %13, align 8
%224 = load ptr, ptr %16, align 8
%225 = load i32, ptr %15, align 4
%226 = call i32 @memcpy(ptr noundef %223, ptr noundef %224, i32 noundef %225)
%227 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%228 = getelementptr inbounds i8, ptr %227, i64 0
store ptr %228, ptr %17, align 8
%229 = load ptr, ptr %17, align 8
%230 = load i32, ptr %229, align 4
store i32 %230, ptr %18, align 4
%231 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%232 = getelementptr inbounds i8, ptr %231, i64 4
store ptr %232, ptr %22, align 8
%233 = load ptr, ptr %22, align 8
%234 = load i32, ptr %233, align 4
store i32 %234, ptr %20, align 4
%235 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%236 = getelementptr inbounds i8, ptr %235, i64 8
store ptr %236, ptr %24, align 8
%237 = load ptr, ptr %24, align 8
%238 = load i32, ptr %237, align 4
store i32 %238, ptr %26, align 4
%239 = load ptr, ptr %6, align 8
%240 = getelementptr inbounds i8, ptr %239, i64 0
store ptr %240, ptr %28, align 8
%241 = load ptr, ptr %28, align 8
%242 = getelementptr inbounds i8, ptr %241, i64 0
store ptr %242, ptr %29, align 8
%243 = load i32, ptr %18, align 4
%244 = load ptr, ptr %29, align 8
store i32 %243, ptr %244, align 4
%245 = load ptr, ptr %28, align 8
%246 = getelementptr inbounds i8, ptr %245, i64 4
store ptr %246, ptr %29, align 8
%247 = load i32, ptr %20, align 4
%248 = load ptr, ptr %29, align 8
store i32 %247, ptr %248, align 4
%249 = load ptr, ptr %28, align 8
%250 = getelementptr inbounds i8, ptr %249, i64 8
store ptr %250, ptr %29, align 8
%251 = load i32, ptr %26, align 4
%252 = load ptr, ptr %29, align 8
store i32 %251, ptr %252, align 4
%253 = load i32, ptr %20, align 4
%254 = load i32, ptr %18, align 4
%255 = sub nsw i32 %253, %254
store i32 %255, ptr %38, align 4
%256 = load i32, ptr %38, align 4
%257 = load i32, ptr %26, align 4
%258 = mul nsw i32 %256, %257
store i32 %258, ptr %19, align 4
%259 = load i32, ptr %19, align 4
%260 = add i32 %259, 1
store i32 %260, ptr %19, align 4
%261 = load ptr, ptr %28, align 8
%262 = getelementptr inbounds i8, ptr %261, i64 12
store ptr %262, ptr %29, align 8
%263 = load i32, ptr %19, align 4
%264 = load ptr, ptr %29, align 8
store i32 %263, ptr %264, align 4
br label %265
265: ; preds = %210
%266 = load ptr, ptr %13, align 8
br label %364
267: ; preds = %177
%268 = load ptr, ptr %7, align 8
%269 = load ptr, ptr %34, align 8
store ptr %268, ptr %269, align 8
br label %179
270: ; preds = %208
%271 = load ptr, ptr %5, align 8
%272 = getelementptr inbounds i8, ptr %271, i64 2008
store ptr %272, ptr %47, align 8
%273 = load ptr, ptr %47, align 8
%274 = load ptr, ptr %273, align 8
store ptr %274, ptr %48, align 8
%275 = load ptr, ptr %7, align 8
%276 = getelementptr inbounds i8, ptr %275, i64 0
store ptr %276, ptr %47, align 8
%277 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%278 = getelementptr inbounds i8, ptr %277, i64 0
store ptr %278, ptr %49, align 8
%279 = load ptr, ptr %49, align 8
%280 = load i32, ptr %279, align 4
store i32 %280, ptr %50, align 4
%281 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%282 = getelementptr inbounds i8, ptr %281, i64 8
store ptr %282, ptr %51, align 8
%283 = load ptr, ptr %51, align 8
%284 = load i32, ptr %283, align 4
store i32 %284, ptr %52, align 4
%285 = load i32, ptr %43, align 4
%286 = load i32, ptr %50, align 4
%287 = sub nsw i32 %285, %286
store i32 %287, ptr %53, align 4
%288 = load i32, ptr %53, align 4
%289 = load i32, ptr %52, align 4
%290 = mul nsw i32 %288, %289
store i32 %290, ptr %27, align 4
%291 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%292 = getelementptr inbounds i8, ptr %291, i64 4
store ptr %292, ptr %54, align 8
%293 = load ptr, ptr %54, align 8
%294 = load i32, ptr %293, align 4
store i32 %294, ptr %55, align 4
%295 = load i32, ptr %50, align 4
%296 = load i32, ptr %55, align 4
%297 = load i32, ptr %52, align 4
%298 = load i32, ptr %43, align 4
%299 = call i32 @xsi_vhdl_check_range_of_index(i32 noundef %295, i32 noundef %296, i32 noundef %297, i32 noundef %298)
%300 = load i32, ptr %27, align 4
%301 = mul i32 1, %300
store i32 %301, ptr %56, align 4
%302 = load i32, ptr %56, align 4
%303 = add i32 0, %302
store i32 %303, ptr %57, align 4
%304 = load ptr, ptr %47, align 8
%305 = load i32, ptr %57, align 4
%306 = zext i32 %305 to i64
%307 = getelementptr inbounds i8, ptr %304, i64 %306
store ptr %307, ptr %58, align 8
%308 = load ptr, ptr %58, align 8
%309 = load i8, ptr %308, align 1
store i8 %309, ptr %59, align 1
%310 = load i8, ptr %59, align 1
%311 = zext i8 %310 to i32
%312 = sub nsw i32 %311, 0
store i32 %312, ptr %60, align 4
%313 = load i32, ptr %60, align 4
%314 = mul nsw i32 %313, 1
store i32 %314, ptr %61, align 4
%315 = load i32, ptr %61, align 4
%316 = mul i32 1, %315
store i32 %316, ptr %62, align 4
%317 = load i32, ptr %62, align 4
%318 = add i32 0, %317
store i32 %318, ptr %63, align 4
%319 = load ptr, ptr %48, align 8
%320 = load i32, ptr %63, align 4
%321 = zext i32 %320 to i64
%322 = getelementptr inbounds i8, ptr %319, i64 %321
store ptr %322, ptr %64, align 8
%323 = load ptr, ptr %64, align 8
%324 = load i8, ptr %323, align 1
store i8 %324, ptr %65, align 1
%325 = load ptr, ptr %25, align 8
%326 = getelementptr inbounds i8, ptr %325, i64 56
store ptr %326, ptr %66, align 8
%327 = load ptr, ptr %66, align 8
%328 = load ptr, ptr %327, align 8
store ptr %328, ptr %67, align 8
%329 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%330 = getelementptr inbounds i8, ptr %329, i64 0
store ptr %330, ptr %66, align 8
%331 = load ptr, ptr %66, align 8
%332 = load i32, ptr %331, align 4
store i32 %332, ptr %68, align 4
%333 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%334 = getelementptr inbounds i8, ptr %333, i64 8
store ptr %334, ptr %69, align 8
%335 = load ptr, ptr %69, align 8
%336 = load i32, ptr %335, align 4
store i32 %336, ptr %70, align 4
%337 = load i32, ptr %43, align 4
%338 = load i32, ptr %68, align 4
%339 = sub nsw i32 %337, %338
store i32 %339, ptr %71, align 4
%340 = load i32, ptr %71, align 4
%341 = load i32, ptr %70, align 4
%342 = mul nsw i32 %340, %341
store i32 %342, ptr %72, align 4
%343 = load i32, ptr %72, align 4
%344 = mul i32 1, %343
store i32 %344, ptr %73, align 4
%345 = load i32, ptr %73, align 4
%346 = add i32 0, %345
store i32 %346, ptr %74, align 4
%347 = load ptr, ptr %67, align 8
%348 = load i32, ptr %74, align 4
%349 = zext i32 %348 to i64
%350 = getelementptr inbounds i8, ptr %347, i64 %349
store ptr %350, ptr %75, align 8
%351 = load i8, ptr %65, align 1
%352 = load ptr, ptr %75, align 8
store i8 %351, ptr %352, align 1
br label %353
353: ; preds = %270
%354 = load i32, ptr %43, align 4
%355 = load i32, ptr %44, align 4
%356 = icmp eq i32 %354, %355
br i1 %356, label %357, label %358
357: ; preds = %353
br label %210
358: ; preds = %353
br label %359
359: ; preds = %358
%360 = load i32, ptr %43, align 4
%361 = load i32, ptr %38, align 4
%362 = add nsw i32 %360, %361
store i32 %362, ptr %18, align 4
%363 = load i32, ptr %18, align 4
store i32 %363, ptr %43, align 4
br label %198
364: ; preds = %265
ret ptr %266
}
declare i64 @alloca(i32 noundef) #1
declare i32 @xsi_type_set_default_value(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @xsi_get_transient_memory(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @xsi_vhdl_check_range_of_index(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwhf35h2n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ieee_p_2592010699_sub_13398659724425974923_503743352(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [128 x i8], align 16
%10 = alloca [24 x i8], align 16
%11 = alloca [16 x i8], align 16
%12 = alloca [16 x i8], align 16
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%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 ptr, align 8
%23 = alloca i32, align 4
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca i8, align 1
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca i32, align 4
%39 = alloca ptr, align 8
%40 = alloca i32, align 4
%41 = alloca ptr, align 8
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i32, align 4
%46 = alloca i32, align 4
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca i32, align 4
%51 = alloca ptr, align 8
%52 = alloca i32, align 4
%53 = alloca i32, align 4
%54 = alloca ptr, align 8
%55 = alloca i32, align 4
%56 = alloca i32, align 4
%57 = alloca i32, align 4
%58 = alloca ptr, align 8
%59 = alloca i8, align 1
%60 = alloca i32, align 4
%61 = alloca i32, align 4
%62 = alloca i32, align 4
%63 = alloca i32, align 4
%64 = alloca ptr, align 8
%65 = alloca i8, align 1
%66 = alloca ptr, align 8
%67 = alloca ptr, align 8
%68 = alloca i32, align 4
%69 = alloca ptr, align 8
%70 = alloca i32, align 4
%71 = alloca i32, align 4
%72 = alloca i32, align 4
%73 = alloca i32, align 4
%74 = alloca i32, align 4
%75 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
br label %76
76: ; preds = %4
%77 = load ptr, ptr %8, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 12
store ptr %78, ptr %14, align 8
%79 = load ptr, ptr %14, align 8
%80 = load i32, ptr %79, align 4
store i32 %80, ptr %15, align 4
%81 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%82 = getelementptr inbounds i8, ptr %81, i64 0
store ptr %82, ptr %16, align 8
%83 = load ptr, ptr %16, align 8
%84 = getelementptr inbounds i8, ptr %83, i64 0
store ptr %84, ptr %17, align 8
%85 = load ptr, ptr %17, align 8
store i32 1, ptr %85, align 4
%86 = load ptr, ptr %16, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 4
store ptr %87, ptr %17, align 8
%88 = load i32, ptr %15, align 4
%89 = load ptr, ptr %17, align 8
store i32 %88, ptr %89, align 4
%90 = load ptr, ptr %16, align 8
%91 = getelementptr inbounds i8, ptr %90, i64 8
store ptr %91, ptr %17, align 8
%92 = load ptr, ptr %17, align 8
store i32 1, ptr %92, align 4
%93 = load i32, ptr %15, align 4
%94 = sub i32 %93, 1
store i32 %94, ptr %18, align 4
%95 = load i32, ptr %18, align 4
%96 = mul nsw i32 %95, 1
store i32 %96, ptr %19, align 4
%97 = load i32, ptr %19, align 4
%98 = add i32 %97, 1
store i32 %98, ptr %19, align 4
%99 = load ptr, ptr %16, align 8
%100 = getelementptr inbounds i8, ptr %99, i64 12
store ptr %100, ptr %17, align 8
%101 = load i32, ptr %19, align 4
%102 = load ptr, ptr %17, align 8
store i32 %101, ptr %102, align 4
%103 = load ptr, ptr %8, align 8
%104 = getelementptr inbounds i8, ptr %103, i64 12
store ptr %104, ptr %17, align 8
%105 = load ptr, ptr %17, align 8
%106 = load i32, ptr %105, align 4
store i32 %106, ptr %19, align 4
%107 = load i32, ptr %19, align 4
%108 = sub i32 %107, 1
store i32 %108, ptr %20, align 4
%109 = load i32, ptr %20, align 4
%110 = mul nsw i32 %109, 1
store i32 %110, ptr %21, align 4
%111 = load i32, ptr %21, align 4
%112 = add i32 %111, 1
store i32 %112, ptr %21, align 4
%113 = load i32, ptr %21, align 4
%114 = mul i32 %113, 1
store i32 %114, ptr %21, align 4
%115 = load ptr, ptr %8, align 8
%116 = getelementptr inbounds i8, ptr %115, i64 12
store ptr %116, ptr %22, align 8
%117 = load ptr, ptr %22, align 8
%118 = load i32, ptr %117, align 4
store i32 %118, ptr %23, align 4
%119 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%120 = getelementptr inbounds i8, ptr %119, i64 0
store ptr %120, ptr %24, align 8
%121 = load ptr, ptr %24, align 8
%122 = getelementptr inbounds i8, ptr %121, i64 0
store ptr %122, ptr %25, align 8
%123 = load ptr, ptr %25, align 8
store i32 1, ptr %123, align 4
%124 = load ptr, ptr %24, align 8
%125 = getelementptr inbounds i8, ptr %124, i64 4
store ptr %125, ptr %25, align 8
%126 = load i32, ptr %23, align 4
%127 = load ptr, ptr %25, align 8
store i32 %126, ptr %127, align 4
%128 = load ptr, ptr %24, align 8
%129 = getelementptr inbounds i8, ptr %128, i64 8
store ptr %129, ptr %25, align 8
%130 = load ptr, ptr %25, align 8
store i32 1, ptr %130, align 4
%131 = load i32, ptr %23, align 4
%132 = sub i32 %131, 1
store i32 %132, ptr %26, align 4
%133 = load i32, ptr %26, align 4
%134 = mul nsw i32 %133, 1
store i32 %134, ptr %27, align 4
%135 = load i32, ptr %27, align 4
%136 = add i32 %135, 1
store i32 %136, ptr %27, align 4
%137 = load ptr, ptr %24, align 8
%138 = getelementptr inbounds i8, ptr %137, i64 12
store ptr %138, ptr %25, align 8
%139 = load i32, ptr %27, align 4
%140 = load ptr, ptr %25, align 8
store i32 %139, ptr %140, align 4
%141 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%142 = getelementptr inbounds i8, ptr %141, i64 4
store ptr %142, ptr %25, align 8
%143 = load ptr, ptr %5, align 8
%144 = getelementptr inbounds i8, ptr %143, i64 3896
store ptr %144, ptr %28, align 8
%145 = load ptr, ptr %25, align 8
%146 = getelementptr inbounds i8, ptr %145, i64 88
store ptr %146, ptr %29, align 8
%147 = load ptr, ptr %28, align 8
%148 = load ptr, ptr %29, align 8
store ptr %147, ptr %148, align 8
%149 = load i32, ptr %21, align 4
%150 = call i64 @alloca(i32 noundef %149)
%151 = inttoptr i64 %150 to ptr
store ptr %151, ptr %30, align 8
%152 = load ptr, ptr %25, align 8
%153 = getelementptr inbounds i8, ptr %152, i64 56
store ptr %153, ptr %31, align 8
%154 = load ptr, ptr %30, align 8
%155 = load ptr, ptr %31, align 8
store ptr %154, ptr %155, align 8
%156 = load ptr, ptr %28, align 8
%157 = load ptr, ptr %30, align 8
%158 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%159 = call i32 @xsi_type_set_default_value(ptr noundef %156, ptr noundef %157, ptr noundef %158)
%160 = load ptr, ptr %25, align 8
%161 = getelementptr inbounds i8, ptr %160, i64 64
store ptr %161, ptr %32, align 8
%162 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%163 = load ptr, ptr %32, align 8
store ptr %162, ptr %163, align 8
%164 = load ptr, ptr %25, align 8
%165 = getelementptr inbounds i8, ptr %164, i64 80
store ptr %165, ptr %33, align 8
%166 = load i32, ptr %21, align 4
%167 = load ptr, ptr %33, align 8
store i32 %166, ptr %167, align 4
%168 = getelementptr inbounds [24 x i8], ptr %10, i64 0, i64 0
%169 = getelementptr inbounds i8, ptr %168, i64 4
store ptr %169, ptr %34, align 8
%170 = load ptr, ptr %7, align 8
%171 = icmp ne ptr %170, null
%172 = zext i1 %171 to i32
%173 = trunc i32 %172 to i8
store i8 %173, ptr %35, align 1
%174 = load i8, ptr %35, align 1
%175 = zext i8 %174 to i32
%176 = icmp eq i32 %175, 1
br i1 %176, label %177, label %178
177: ; preds = %76
br label %266
178: ; preds = %76
br label %179
179: ; preds = %266, %178
%180 = getelementptr inbounds [24 x i8], ptr %10, i64 0, i64 0
%181 = getelementptr inbounds i8, ptr %180, i64 12
store ptr %181, ptr %36, align 8
%182 = load ptr, ptr %8, align 8
%183 = load ptr, ptr %36, align 8
store ptr %182, ptr %183, align 8
%184 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%185 = getelementptr inbounds i8, ptr %184, i64 8
store ptr %185, ptr %37, align 8
%186 = load ptr, ptr %37, align 8
%187 = load i32, ptr %186, align 4
store i32 %187, ptr %38, align 4
%188 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%189 = getelementptr inbounds i8, ptr %188, i64 4
store ptr %189, ptr %39, align 8
%190 = load ptr, ptr %39, align 8
%191 = load i32, ptr %190, align 4
store i32 %191, ptr %40, align 4
%192 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%193 = getelementptr inbounds i8, ptr %192, i64 0
store ptr %193, ptr %41, align 8
%194 = load ptr, ptr %41, align 8
%195 = load i32, ptr %194, align 4
store i32 %195, ptr %42, align 4
%196 = load i32, ptr %42, align 4
store i32 %196, ptr %43, align 4
%197 = load i32, ptr %40, align 4
store i32 %197, ptr %44, align 4
%198 = load i32, ptr %44, align 4
%199 = load i32, ptr %38, align 4
%200 = mul nsw i32 %198, %199
store i32 %200, ptr %45, align 4
%201 = load i32, ptr %43, align 4
%202 = load i32, ptr %38, align 4
%203 = mul nsw i32 %201, %202
store i32 %203, ptr %46, align 4
%204 = load i32, ptr %46, align 4
%205 = load i32, ptr %45, align 4
%206 = icmp sle i32 %204, %205
br i1 %206, label %.lr.ph, label %208
.lr.ph: ; preds = %179
br label %207
207: ; preds = %.lr.ph, %358
br label %269
._crit_edge: ; preds = %358
br label %208
208: ; preds = %._crit_edge, %179
br label %209
209: ; preds = %356, %208
%210 = load ptr, ptr %25, align 8
%211 = getelementptr inbounds i8, ptr %210, i64 56
store ptr %211, ptr %14, align 8
%212 = load ptr, ptr %14, align 8
%213 = load ptr, ptr %212, align 8
store ptr %213, ptr %16, align 8
%214 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%215 = getelementptr inbounds i8, ptr %214, i64 12
store ptr %215, ptr %14, align 8
%216 = load ptr, ptr %14, align 8
%217 = load i32, ptr %216, align 4
store i32 %217, ptr %15, align 4
%218 = load i32, ptr %15, align 4
%219 = mul i32 %218, 1
store i32 %219, ptr %15, align 4
%220 = load i32, ptr %15, align 4
%221 = call ptr @xsi_get_transient_memory(i32 noundef %220)
store ptr %221, ptr %13, align 8
%222 = load ptr, ptr %13, align 8
%223 = load ptr, ptr %16, align 8
%224 = load i32, ptr %15, align 4
%225 = call i32 @memcpy(ptr noundef %222, ptr noundef %223, i32 noundef %224)
%226 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%227 = getelementptr inbounds i8, ptr %226, i64 0
store ptr %227, ptr %17, align 8
%228 = load ptr, ptr %17, align 8
%229 = load i32, ptr %228, align 4
store i32 %229, ptr %18, align 4
%230 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%231 = getelementptr inbounds i8, ptr %230, i64 4
store ptr %231, ptr %22, align 8
%232 = load ptr, ptr %22, align 8
%233 = load i32, ptr %232, align 4
store i32 %233, ptr %20, align 4
%234 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%235 = getelementptr inbounds i8, ptr %234, i64 8
store ptr %235, ptr %24, align 8
%236 = load ptr, ptr %24, align 8
%237 = load i32, ptr %236, align 4
store i32 %237, ptr %26, align 4
%238 = load ptr, ptr %6, align 8
%239 = getelementptr inbounds i8, ptr %238, i64 0
store ptr %239, ptr %28, align 8
%240 = load ptr, ptr %28, align 8
%241 = getelementptr inbounds i8, ptr %240, i64 0
store ptr %241, ptr %29, align 8
%242 = load i32, ptr %18, align 4
%243 = load ptr, ptr %29, align 8
store i32 %242, ptr %243, align 4
%244 = load ptr, ptr %28, align 8
%245 = getelementptr inbounds i8, ptr %244, i64 4
store ptr %245, ptr %29, align 8
%246 = load i32, ptr %20, align 4
%247 = load ptr, ptr %29, align 8
store i32 %246, ptr %247, align 4
%248 = load ptr, ptr %28, align 8
%249 = getelementptr inbounds i8, ptr %248, i64 8
store ptr %249, ptr %29, align 8
%250 = load i32, ptr %26, align 4
%251 = load ptr, ptr %29, align 8
store i32 %250, ptr %251, align 4
%252 = load i32, ptr %20, align 4
%253 = load i32, ptr %18, align 4
%254 = sub nsw i32 %252, %253
store i32 %254, ptr %38, align 4
%255 = load i32, ptr %38, align 4
%256 = load i32, ptr %26, align 4
%257 = mul nsw i32 %255, %256
store i32 %257, ptr %19, align 4
%258 = load i32, ptr %19, align 4
%259 = add i32 %258, 1
store i32 %259, ptr %19, align 4
%260 = load ptr, ptr %28, align 8
%261 = getelementptr inbounds i8, ptr %260, i64 12
store ptr %261, ptr %29, align 8
%262 = load i32, ptr %19, align 4
%263 = load ptr, ptr %29, align 8
store i32 %262, ptr %263, align 4
br label %264
264: ; preds = %209
%265 = load ptr, ptr %13, align 8
br label %372
266: ; preds = %177
%267 = load ptr, ptr %7, align 8
%268 = load ptr, ptr %34, align 8
store ptr %267, ptr %268, align 8
br label %179
269: ; preds = %207
%270 = load ptr, ptr %5, align 8
%271 = getelementptr inbounds i8, ptr %270, i64 2008
store ptr %271, ptr %47, align 8
%272 = load ptr, ptr %47, align 8
%273 = load ptr, ptr %272, align 8
store ptr %273, ptr %48, align 8
%274 = load ptr, ptr %7, align 8
%275 = getelementptr inbounds i8, ptr %274, i64 0
store ptr %275, ptr %47, align 8
%276 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%277 = getelementptr inbounds i8, ptr %276, i64 0
store ptr %277, ptr %49, align 8
%278 = load ptr, ptr %49, align 8
%279 = load i32, ptr %278, align 4
store i32 %279, ptr %50, align 4
%280 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%281 = getelementptr inbounds i8, ptr %280, i64 8
store ptr %281, ptr %51, align 8
%282 = load ptr, ptr %51, align 8
%283 = load i32, ptr %282, align 4
store i32 %283, ptr %52, align 4
%284 = load i32, ptr %43, align 4
%285 = load i32, ptr %50, align 4
%286 = sub nsw i32 %284, %285
store i32 %286, ptr %53, align 4
%287 = load i32, ptr %53, align 4
%288 = load i32, ptr %52, align 4
%289 = mul nsw i32 %287, %288
store i32 %289, ptr %27, align 4
%290 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%291 = getelementptr inbounds i8, ptr %290, i64 4
store ptr %291, ptr %54, align 8
%292 = load ptr, ptr %54, align 8
%293 = load i32, ptr %292, align 4
store i32 %293, ptr %55, align 4
%294 = load i32, ptr %50, align 4
%295 = load i32, ptr %55, align 4
%296 = load i32, ptr %52, align 4
%297 = load i32, ptr %43, align 4
%298 = call i32 @xsi_vhdl_check_range_of_index(i32 noundef %294, i32 noundef %295, i32 noundef %296, i32 noundef %297)
%299 = load i32, ptr %27, align 4
%300 = mul i32 1, %299
store i32 %300, ptr %56, align 4
%301 = load i32, ptr %56, align 4
%302 = add i32 0, %301
store i32 %302, ptr %57, align 4
%303 = load ptr, ptr %47, align 8
%304 = load i32, ptr %57, align 4
%305 = zext i32 %304 to i64
%306 = getelementptr inbounds i8, ptr %303, i64 %305
store ptr %306, ptr %58, align 8
%307 = load ptr, ptr %58, align 8
%308 = load i8, ptr %307, align 1
store i8 %308, ptr %59, align 1
%309 = load i8, ptr %59, align 1
%310 = zext i8 %309 to i32
%311 = sub nsw i32 %310, 0
store i32 %311, ptr %60, align 4
%312 = load i32, ptr %60, align 4
%313 = mul nsw i32 %312, 1
store i32 %313, ptr %61, align 4
%314 = load i32, ptr %61, align 4
%315 = mul i32 1, %314
store i32 %315, ptr %62, align 4
%316 = load i32, ptr %62, align 4
%317 = add i32 0, %316
store i32 %317, ptr %63, align 4
%318 = load ptr, ptr %48, align 8
%319 = load i32, ptr %63, align 4
%320 = zext i32 %319 to i64
%321 = getelementptr inbounds i8, ptr %318, i64 %320
store ptr %321, ptr %64, align 8
%322 = load ptr, ptr %64, align 8
%323 = load i8, ptr %322, align 1
store i8 %323, ptr %65, align 1
%324 = load ptr, ptr %25, align 8
%325 = getelementptr inbounds i8, ptr %324, i64 56
store ptr %325, ptr %66, align 8
%326 = load ptr, ptr %66, align 8
%327 = load ptr, ptr %326, align 8
store ptr %327, ptr %67, align 8
%328 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%329 = getelementptr inbounds i8, ptr %328, i64 0
store ptr %329, ptr %66, align 8
%330 = load ptr, ptr %66, align 8
%331 = load i32, ptr %330, align 4
store i32 %331, ptr %68, align 4
%332 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%333 = getelementptr inbounds i8, ptr %332, i64 8
store ptr %333, ptr %69, align 8
%334 = load ptr, ptr %69, align 8
%335 = load i32, ptr %334, align 4
store i32 %335, ptr %70, align 4
%336 = load i32, ptr %43, align 4
%337 = load i32, ptr %68, align 4
%338 = sub nsw i32 %336, %337
store i32 %338, ptr %71, align 4
%339 = load i32, ptr %71, align 4
%340 = load i32, ptr %70, align 4
%341 = mul nsw i32 %339, %340
store i32 %341, ptr %72, align 4
%342 = load i32, ptr %72, align 4
%343 = mul i32 1, %342
store i32 %343, ptr %73, align 4
%344 = load i32, ptr %73, align 4
%345 = add i32 0, %344
store i32 %345, ptr %74, align 4
%346 = load ptr, ptr %67, align 8
%347 = load i32, ptr %74, align 4
%348 = zext i32 %347 to i64
%349 = getelementptr inbounds i8, ptr %346, i64 %348
store ptr %349, ptr %75, align 8
%350 = load i8, ptr %65, align 1
%351 = load ptr, ptr %75, align 8
store i8 %350, ptr %351, align 1
br label %352
352: ; preds = %269
%353 = load i32, ptr %43, align 4
%354 = load i32, ptr %44, align 4
%355 = icmp eq i32 %353, %354
br i1 %355, label %356, label %357
356: ; preds = %352
br label %209
357: ; preds = %352
br label %358
358: ; preds = %357
%359 = load i32, ptr %43, align 4
%360 = load i32, ptr %38, align 4
%361 = add nsw i32 %359, %360
store i32 %361, ptr %18, align 4
%362 = load i32, ptr %18, align 4
store i32 %362, ptr %43, align 4
%363 = load i32, ptr %44, align 4
%364 = load i32, ptr %38, align 4
%365 = mul nsw i32 %363, %364
store i32 %365, ptr %45, align 4
%366 = load i32, ptr %43, align 4
%367 = load i32, ptr %38, align 4
%368 = mul nsw i32 %366, %367
store i32 %368, ptr %46, align 4
%369 = load i32, ptr %46, align 4
%370 = load i32, ptr %45, align 4
%371 = icmp sle i32 %369, %370
br i1 %371, label %207, label %._crit_edge
372: ; preds = %264
ret ptr %265
}
declare i64 @alloca(i32 noundef) #1
declare i32 @xsi_type_set_default_value(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @xsi_get_transient_memory(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @xsi_vhdl_check_range_of_index(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm3bxclf6.c'
source_filename = "/tmp/tmpm3bxclf6.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clnt_perrno(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 @clnt_sperrno(i32 noundef %3)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fputs(i32 noundef %4, i32 noundef %5)
ret void
}
declare i32 @fputs(i32 noundef, i32 noundef) #1
declare i32 @clnt_sperrno(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/tmpm3bxclf6.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clnt_perrno(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 @clnt_sperrno(i32 noundef %3)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fputs(i32 noundef %4, i32 noundef %5)
ret void
}
declare i32 @fputs(i32 noundef, i32 noundef) #1
declare i32 @clnt_sperrno(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/tmp7uvioaqc.c'
source_filename = "/tmp/tmp7uvioaqc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dynamic\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"OPENSSL_TPM_SO\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"OPENSSL_TPM_SO = %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"SO_PATH\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"ID\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"tpm2tss\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"LIST_ADD\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"2\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"LOAD\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"Failed to load TPM engine\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @register_engines() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call i32 (...) @ENGINE_load_builtin_engines()
%4 = call ptr @ENGINE_by_id(ptr noundef @.str)
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %8, label %7
7: ; preds = %0
br label %31
8: ; preds = %0
%9 = call ptr @getenv(ptr noundef @.str.1)
store ptr %9, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %28
12: ; preds = %8
%13 = load ptr, ptr %2, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %13)
%15 = load ptr, ptr %1, align 8
%16 = load ptr, ptr %2, align 8
%17 = call i32 @ENGINE_ctrl_cmd_string(ptr noundef %15, ptr noundef @.str.3, ptr noundef %16, i32 noundef 0)
%18 = load ptr, ptr %1, align 8
%19 = call i32 @ENGINE_ctrl_cmd_string(ptr noundef %18, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 0)
%20 = load ptr, ptr %1, align 8
%21 = call i32 @ENGINE_ctrl_cmd_string(ptr noundef %20, ptr noundef @.str.6, ptr noundef @.str.7, i32 noundef 2)
%22 = load ptr, ptr %1, align 8
%23 = call i32 @ENGINE_ctrl_cmd_string(ptr noundef %22, ptr noundef @.str.8, ptr noundef null, i32 noundef 0)
%24 = icmp ne i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %12
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %27
27: ; preds = %25, %12
br label %28
28: ; preds = %27, %8
%29 = load ptr, ptr %1, align 8
%30 = call i32 @ENGINE_free(ptr noundef %29)
br label %31
31: ; preds = %28, %7
%32 = call i32 (...) @ENGINE_register_all_complete()
ret void
}
declare i32 @ENGINE_load_builtin_engines(...) #1
declare ptr @ENGINE_by_id(ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @ENGINE_ctrl_cmd_string(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ENGINE_free(ptr noundef) #1
declare i32 @ENGINE_register_all_complete(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7uvioaqc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dynamic\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"OPENSSL_TPM_SO\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"OPENSSL_TPM_SO = %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"SO_PATH\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"ID\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"tpm2tss\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"LIST_ADD\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"2\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"LOAD\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"Failed to load TPM engine\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @register_engines() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call i32 (...) @ENGINE_load_builtin_engines()
%4 = call ptr @ENGINE_by_id(ptr noundef @.str)
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %8, label %7
7: ; preds = %0
br label %31
8: ; preds = %0
%9 = call ptr @getenv(ptr noundef @.str.1)
store ptr %9, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %28
12: ; preds = %8
%13 = load ptr, ptr %2, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %13)
%15 = load ptr, ptr %1, align 8
%16 = load ptr, ptr %2, align 8
%17 = call i32 @ENGINE_ctrl_cmd_string(ptr noundef %15, ptr noundef @.str.3, ptr noundef %16, i32 noundef 0)
%18 = load ptr, ptr %1, align 8
%19 = call i32 @ENGINE_ctrl_cmd_string(ptr noundef %18, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 0)
%20 = load ptr, ptr %1, align 8
%21 = call i32 @ENGINE_ctrl_cmd_string(ptr noundef %20, ptr noundef @.str.6, ptr noundef @.str.7, i32 noundef 2)
%22 = load ptr, ptr %1, align 8
%23 = call i32 @ENGINE_ctrl_cmd_string(ptr noundef %22, ptr noundef @.str.8, ptr noundef null, i32 noundef 0)
%24 = icmp ne i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %12
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %27
27: ; preds = %25, %12
br label %28
28: ; preds = %27, %8
%29 = load ptr, ptr %1, align 8
%30 = call i32 @ENGINE_free(ptr noundef %29)
br label %31
31: ; preds = %28, %7
%32 = call i32 (...) @ENGINE_register_all_complete()
ret void
}
declare i32 @ENGINE_load_builtin_engines(...) #1
declare ptr @ENGINE_by_id(ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @ENGINE_ctrl_cmd_string(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ENGINE_free(ptr noundef) #1
declare i32 @ENGINE_register_all_complete(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp43cd30tp.c'
source_filename = "/tmp/tmp43cd30tp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NLOPTV(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @nlopt_version(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @nlopt_version(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp43cd30tp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NLOPTV(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @nlopt_version(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @nlopt_version(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcnph_k18.c'
source_filename = "/tmp/tmpcnph_k18.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_nrf_setrx(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%4 = call zeroext i8 @nrf_reg_read(i32 noundef 0, i32 noundef 1)
store i8 %4, ptr %3, align 1
%5 = load i8, ptr %2, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = zext i8 %8 to i32
%10 = or i32 %9, 1
%11 = trunc i32 %10 to i8
store i8 %11, ptr %3, align 1
br label %17
12: ; preds = %1
%13 = load i8, ptr %3, align 1
%14 = zext i8 %13 to i32
%15 = and i32 %14, -2
%16 = trunc i32 %15 to i8
store i8 %16, ptr %3, align 1
br label %17
17: ; preds = %12, %7
%18 = load i8, ptr %3, align 1
%19 = call i32 @nrf_reg_write(i32 noundef 0, i8 noundef zeroext %18, i32 noundef 1)
ret void
}
declare zeroext i8 @nrf_reg_read(i32 noundef, i32 noundef) #1
declare i32 @nrf_reg_write(i32 noundef, i8 noundef zeroext, 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/tmpcnph_k18.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_nrf_setrx(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%4 = call zeroext i8 @nrf_reg_read(i32 noundef 0, i32 noundef 1)
store i8 %4, ptr %3, align 1
%5 = load i8, ptr %2, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = zext i8 %8 to i32
%10 = or i32 %9, 1
%11 = trunc i32 %10 to i8
store i8 %11, ptr %3, align 1
br label %17
12: ; preds = %1
%13 = load i8, ptr %3, align 1
%14 = zext i8 %13 to i32
%15 = and i32 %14, -2
%16 = trunc i32 %15 to i8
store i8 %16, ptr %3, align 1
br label %17
17: ; preds = %12, %7
%18 = load i8, ptr %3, align 1
%19 = call i32 @nrf_reg_write(i32 noundef 0, i8 noundef zeroext %18, i32 noundef 1)
ret void
}
declare zeroext i8 @nrf_reg_read(i32 noundef, i32 noundef) #1
declare i32 @nrf_reg_write(i32 noundef, i8 noundef zeroext, 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/tmp761_l3ok.c'
source_filename = "/tmp/tmp761_l3ok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_httpTLSInitialize() #0 {
%1 = call i32 (...) @gnutls_global_init()
ret void
}
declare i32 @gnutls_global_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp761_l3ok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_httpTLSInitialize() #0 {
%1 = call i32 (...) @gnutls_global_init()
ret void
}
declare i32 @gnutls_global_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk8__di2v.c'
source_filename = "/tmp/tmpk8__di2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"Enter the Current Day,Month,Year separate by space.\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"Enter your birth Day,Month,Year separate by space.\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"\0AYou are %d years %d months %d days old\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%14 = load i32, ptr %1, align 4
%15 = load i32, ptr %4, align 4
%16 = sub nsw i32 %14, %15
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %19, %20
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %6, align 4
%24 = sub nsw i32 %22, %23
store i32 %24, ptr %9, align 4
br label %25
25: ; preds = %28, %0
%26 = load i32, ptr %8, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %25
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 12, %29
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %9, align 4
%32 = sub nsw i32 %31, 1
store i32 %32, ptr %9, align 4
br label %25, !llvm.loop !6
33: ; preds = %25
br label %34
34: ; preds = %37, %33
%35 = load i32, ptr %7, align 4
%36 = icmp slt i32 %35, 0
br i1 %36, label %37, label %42
37: ; preds = %34
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 30, %38
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %8, align 4
%41 = sub nsw i32 %40, 1
store i32 %41, ptr %8, align 4
br label %34, !llvm.loop !8
42: ; preds = %34
%43 = load i32, ptr %9, align 4
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %7, align 4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %43, i32 noundef %44, i32 noundef %45)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk8__di2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"Enter the Current Day,Month,Year separate by space.\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"Enter your birth Day,Month,Year separate by space.\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"\0AYou are %d years %d months %d days old\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%14 = load i32, ptr %1, align 4
%15 = load i32, ptr %4, align 4
%16 = sub nsw i32 %14, %15
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %19, %20
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %6, align 4
%24 = sub nsw i32 %22, %23
store i32 %24, ptr %9, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %.lr.ph, label %34
.lr.ph: ; preds = %0
br label %27
27: ; preds = %.lr.ph, %27
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 12, %28
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %9, align 4
%31 = sub nsw i32 %30, 1
store i32 %31, ptr %9, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %32, 0
br i1 %33, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %34
34: ; preds = %._crit_edge, %0
%35 = load i32, ptr %7, align 4
%36 = icmp slt i32 %35, 0
br i1 %36, label %.lr.ph2, label %44
.lr.ph2: ; preds = %34
br label %37
37: ; preds = %.lr.ph2, %37
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 30, %38
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %8, align 4
%41 = sub nsw i32 %40, 1
store i32 %41, ptr %8, align 4
%42 = load i32, ptr %7, align 4
%43 = icmp slt i32 %42, 0
br i1 %43, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %44
44: ; preds = %._crit_edge3, %34
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr %7, align 4
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %45, i32 noundef %46, i32 noundef %47)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpmrkpd25t.c'
source_filename = "/tmp/tmpmrkpd25t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"$filesize\00", align 1
@stderr = dso_local global ptr null, align 8
@.str.1 = private unnamed_addr constant [27 x i8] c"ERROR - Unknown file size\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"$mifwords\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"ERROR - Unknown MIF output size\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"$mifwidth\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c"ERROR - Illegal MIF width size (must be multiple of 8)\0A\00", align 1
@.str.6 = private unnamed_addr constant [57 x i8] c"ERROR - Assembled file will not fit within mif filesize\0A\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"ERROR - Could not open output file\00", align 1
@.str.9 = private unnamed_addr constant [82 x i8] c"-- caspr\0A\0AWIDTH=%d;\0ADEPTH=%d;\0A\0AADDRESS_RADIX=HEX;\0ADATA_RADIX=HEX;\0A\0ACONTENT BEGIN\0A\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"\09%x : \00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1
@.str.12 = private unnamed_addr constant [3 x i8] c"00\00", align 1
@.str.13 = private unnamed_addr constant [3 x i8] c";\0A\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"END;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @asmout_make_mif(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 8, ptr %15, align 4
%16 = load ptr, ptr %5, align 8
%17 = call i64 @symtab_lookup(ptr noundef %16, ptr noundef @.str, ptr noundef null, ptr noundef %11)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %3
%20 = load ptr, ptr @stderr, align 8
%21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %118
22: ; preds = %3
%23 = load ptr, ptr %5, align 8
%24 = call i64 @symtab_lookup(ptr noundef %23, ptr noundef @.str.2, ptr noundef null, ptr noundef %12)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load ptr, ptr @stderr, align 8
%28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.3)
store i32 -1, ptr %4, align 4
br label %118
29: ; preds = %22
%30 = load ptr, ptr %5, align 8
%31 = call i64 @symtab_lookup(ptr noundef %30, ptr noundef @.str.4, ptr noundef null, ptr noundef %15)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %44
33: ; preds = %29
%34 = load i32, ptr %15, align 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = load i32, ptr %15, align 4
%38 = srem i32 %37, 8
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = load ptr, ptr @stderr, align 8
%42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.5)
store i32 -1, ptr %4, align 4
br label %118
43: ; preds = %36, %33
br label %44
44: ; preds = %43, %29
%45 = load i32, ptr %15, align 4
%46 = sdiv i32 %45, 8
store i32 %46, ptr %14, align 4
%47 = load i32, ptr %12, align 4
%48 = load i32, ptr %14, align 4
%49 = mul nsw i32 %47, %48
store i32 %49, ptr %13, align 4
%50 = load i32, ptr %11, align 4
%51 = load i32, ptr %13, align 4
%52 = icmp sgt i32 %50, %51
br i1 %52, label %53, label %56
53: ; preds = %44
%54 = load ptr, ptr @stderr, align 8
%55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.6)
store i32 -1, ptr %4, align 4
br label %118
56: ; preds = %44
%57 = load ptr, ptr %6, align 8
%58 = call ptr @fopen(ptr noundef %57, ptr noundef @.str.7)
store ptr %58, ptr %8, align 8
%59 = icmp eq ptr %58, null
br i1 %59, label %60, label %62
60: ; preds = %56
%61 = call i32 @perror(ptr noundef @.str.8)
store i32 -1, ptr %4, align 4
br label %118
62: ; preds = %56
%63 = load ptr, ptr %8, align 8
%64 = load i32, ptr %15, align 4
%65 = load i32, ptr %12, align 4
%66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.9, i32 noundef %64, i32 noundef %65)
store i32 0, ptr %9, align 4
br label %67
67: ; preds = %109, %62
%68 = load i32, ptr %9, align 4
%69 = load i32, ptr %13, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %113
71: ; preds = %67
%72 = load ptr, ptr %8, align 8
%73 = load i32, ptr %9, align 4
%74 = load i32, ptr %14, align 4
%75 = sdiv i32 %73, %74
%76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %72, ptr noundef @.str.10, i32 noundef %75)
store i32 0, ptr %10, align 4
br label %77
77: ; preds = %103, %71
%78 = load i32, ptr %10, align 4
%79 = load i32, ptr %14, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %106
81: ; preds = %77
%82 = load i32, ptr %9, align 4
%83 = load i32, ptr %10, align 4
%84 = add nsw i32 %82, %83
%85 = load i32, ptr %11, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %87, label %99
87: ; preds = %81
%88 = load ptr, ptr %8, align 8
%89 = load ptr, ptr %7, align 8
%90 = load i32, ptr %9, align 4
%91 = load i32, ptr %10, align 4
%92 = add nsw i32 %90, %91
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %89, i64 %93
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = and i32 %96, 255
%98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef @.str.11, i32 noundef %97)
br label %102
99: ; preds = %81
%100 = load ptr, ptr %8, align 8
%101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.12)
br label %102
102: ; preds = %99, %87
br label %103
103: ; preds = %102
%104 = load i32, ptr %10, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %10, align 4
br label %77, !llvm.loop !6
106: ; preds = %77
%107 = load ptr, ptr %8, align 8
%108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef @.str.13)
br label %109
109: ; preds = %106
%110 = load i32, ptr %14, align 4
%111 = load i32, ptr %9, align 4
%112 = add nsw i32 %111, %110
store i32 %112, ptr %9, align 4
br label %67, !llvm.loop !8
113: ; preds = %67
%114 = load ptr, ptr %8, align 8
%115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef @.str.14)
%116 = load ptr, ptr %8, align 8
%117 = call i32 @fclose(ptr noundef %116)
store i32 0, ptr %4, align 4
br label %118
118: ; preds = %113, %60, %53, %40, %26, %19
%119 = load i32, ptr %4, align 4
ret i32 %119
}
declare i64 @symtab_lookup(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmrkpd25t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"$filesize\00", align 1
@stderr = dso_local global ptr null, align 8
@.str.1 = private unnamed_addr constant [27 x i8] c"ERROR - Unknown file size\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"$mifwords\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"ERROR - Unknown MIF output size\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"$mifwidth\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c"ERROR - Illegal MIF width size (must be multiple of 8)\0A\00", align 1
@.str.6 = private unnamed_addr constant [57 x i8] c"ERROR - Assembled file will not fit within mif filesize\0A\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"ERROR - Could not open output file\00", align 1
@.str.9 = private unnamed_addr constant [82 x i8] c"-- caspr\0A\0AWIDTH=%d;\0ADEPTH=%d;\0A\0AADDRESS_RADIX=HEX;\0ADATA_RADIX=HEX;\0A\0ACONTENT BEGIN\0A\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"\09%x : \00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1
@.str.12 = private unnamed_addr constant [3 x i8] c"00\00", align 1
@.str.13 = private unnamed_addr constant [3 x i8] c";\0A\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"END;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @asmout_make_mif(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 8, ptr %15, align 4
%16 = load ptr, ptr %5, align 8
%17 = call i64 @symtab_lookup(ptr noundef %16, ptr noundef @.str, ptr noundef null, ptr noundef %11)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %3
%20 = load ptr, ptr @stderr, align 8
%21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %122
22: ; preds = %3
%23 = load ptr, ptr %5, align 8
%24 = call i64 @symtab_lookup(ptr noundef %23, ptr noundef @.str.2, ptr noundef null, ptr noundef %12)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = load ptr, ptr @stderr, align 8
%28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.3)
store i32 -1, ptr %4, align 4
br label %122
29: ; preds = %22
%30 = load ptr, ptr %5, align 8
%31 = call i64 @symtab_lookup(ptr noundef %30, ptr noundef @.str.4, ptr noundef null, ptr noundef %15)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %44
33: ; preds = %29
%34 = load i32, ptr %15, align 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = load i32, ptr %15, align 4
%38 = srem i32 %37, 8
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = load ptr, ptr @stderr, align 8
%42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.5)
store i32 -1, ptr %4, align 4
br label %122
43: ; preds = %36, %33
br label %44
44: ; preds = %43, %29
%45 = load i32, ptr %15, align 4
%46 = sdiv i32 %45, 8
store i32 %46, ptr %14, align 4
%47 = load i32, ptr %12, align 4
%48 = load i32, ptr %14, align 4
%49 = mul nsw i32 %47, %48
store i32 %49, ptr %13, align 4
%50 = load i32, ptr %11, align 4
%51 = load i32, ptr %13, align 4
%52 = icmp sgt i32 %50, %51
br i1 %52, label %53, label %56
53: ; preds = %44
%54 = load ptr, ptr @stderr, align 8
%55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.6)
store i32 -1, ptr %4, align 4
br label %122
56: ; preds = %44
%57 = load ptr, ptr %6, align 8
%58 = call ptr @fopen(ptr noundef %57, ptr noundef @.str.7)
store ptr %58, ptr %8, align 8
%59 = icmp eq ptr %58, null
br i1 %59, label %60, label %62
60: ; preds = %56
%61 = call i32 @perror(ptr noundef @.str.8)
store i32 -1, ptr %4, align 4
br label %122
62: ; preds = %56
%63 = load ptr, ptr %8, align 8
%64 = load i32, ptr %15, align 4
%65 = load i32, ptr %12, align 4
%66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.9, i32 noundef %64, i32 noundef %65)
store i32 0, ptr %9, align 4
%67 = load i32, ptr %9, align 4
%68 = load i32, ptr %13, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %.lr.ph2, label %117
.lr.ph2: ; preds = %62
br label %70
70: ; preds = %.lr.ph2, %110
%71 = load ptr, ptr %8, align 8
%72 = load i32, ptr %9, align 4
%73 = load i32, ptr %14, align 4
%74 = sdiv i32 %72, %73
%75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.10, i32 noundef %74)
store i32 0, ptr %10, align 4
%76 = load i32, ptr %10, align 4
%77 = load i32, ptr %14, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %.lr.ph, label %107
.lr.ph: ; preds = %70
br label %79
79: ; preds = %.lr.ph, %101
%80 = load i32, ptr %9, align 4
%81 = load i32, ptr %10, align 4
%82 = add nsw i32 %80, %81
%83 = load i32, ptr %11, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %85, label %97
85: ; preds = %79
%86 = load ptr, ptr %8, align 8
%87 = load ptr, ptr %7, align 8
%88 = load i32, ptr %9, align 4
%89 = load i32, ptr %10, align 4
%90 = add nsw i32 %88, %89
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %87, i64 %91
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = and i32 %94, 255
%96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.11, i32 noundef %95)
br label %100
97: ; preds = %79
%98 = load ptr, ptr %8, align 8
%99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef @.str.12)
br label %100
100: ; preds = %97, %85
br label %101
101: ; preds = %100
%102 = load i32, ptr %10, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %10, align 4
%104 = load i32, ptr %10, align 4
%105 = load i32, ptr %14, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %79, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %101
br label %107
107: ; preds = %._crit_edge, %70
%108 = load ptr, ptr %8, align 8
%109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef @.str.13)
br label %110
110: ; preds = %107
%111 = load i32, ptr %14, align 4
%112 = load i32, ptr %9, align 4
%113 = add nsw i32 %112, %111
store i32 %113, ptr %9, align 4
%114 = load i32, ptr %9, align 4
%115 = load i32, ptr %13, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %70, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %110
br label %117
117: ; preds = %._crit_edge3, %62
%118 = load ptr, ptr %8, align 8
%119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef @.str.14)
%120 = load ptr, ptr %8, align 8
%121 = call i32 @fclose(ptr noundef %120)
store i32 0, ptr %4, align 4
br label %122
122: ; preds = %117, %60, %53, %40, %26, %19
%123 = load i32, ptr %4, align 4
ret i32 %123
}
declare i64 @symtab_lookup(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp46cxrwg8.c'
source_filename = "/tmp/tmp46cxrwg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %78, %2
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %82
12: ; preds = %8
store i32 0, ptr %6, align 4
br label %13
13: ; preds = %36, %12
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 16
br i1 %15, label %16, label %39
16: ; preds = %13
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %17, %18
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %33
22: ; preds = %16
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %24, %25
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %23, i64 %27
%29 = load i8, ptr %28, align 1
store i8 %29, ptr %5, align 1
%30 = load i8, ptr %5, align 1
%31 = zext i8 %30 to i32
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31)
br label %35
33: ; preds = %16
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %35
35: ; preds = %33, %22
br label %36
36: ; preds = %35
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
br label %13, !llvm.loop !6
39: ; preds = %13
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
br label %41
41: ; preds = %75, %39
%42 = load i32, ptr %6, align 4
%43 = icmp slt i32 %42, 16
br i1 %43, label %44, label %78
44: ; preds = %41
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %45, %46
%48 = load i32, ptr %4, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %50, label %72
50: ; preds = %44
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %7, align 4
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %52, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %51, i64 %55
%57 = load i8, ptr %56, align 1
store i8 %57, ptr %5, align 1
%58 = load i8, ptr %5, align 1
%59 = sext i8 %58 to i32
%60 = icmp sge i32 %59, 32
br i1 %60, label %61, label %69
61: ; preds = %50
%62 = load i8, ptr %5, align 1
%63 = sext i8 %62 to i32
%64 = icmp sle i32 %63, 126
br i1 %64, label %65, label %69
65: ; preds = %61
%66 = load i8, ptr %5, align 1
%67 = sext i8 %66 to i32
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %67)
br label %71
69: ; preds = %61, %50
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %71
71: ; preds = %69, %65
br label %74
72: ; preds = %44
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %74
74: ; preds = %72, %71
br label %75
75: ; preds = %74
%76 = load i32, ptr %6, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %6, align 4
br label %41, !llvm.loop !8
78: ; preds = %41
%79 = load i32, ptr %7, align 4
%80 = add nsw i32 %79, 16
store i32 %80, ptr %7, align 4
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %8, !llvm.loop !9
82: ; preds = %8
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp46cxrwg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph5, label %86
.lr.ph5: ; preds = %2
br label %11
11: ; preds = %.lr.ph5, %79
store i32 0, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 16
br i1 %13, label %.lr.ph, label %39
.lr.ph: ; preds = %11
br label %14
14: ; preds = %.lr.ph, %34
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %15, %16
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %31
20: ; preds = %14
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %22, %23
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %21, i64 %25
%27 = load i8, ptr %26, align 1
store i8 %27, ptr %5, align 1
%28 = load i8, ptr %5, align 1
%29 = zext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %29)
br label %33
31: ; preds = %14
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %33
33: ; preds = %31, %20
br label %34
34: ; preds = %33
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %37, 16
br i1 %38, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %39
39: ; preds = %._crit_edge, %11
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %41, 16
br i1 %42, label %.lr.ph2, label %79
.lr.ph2: ; preds = %39
br label %43
43: ; preds = %.lr.ph2, %74
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %44, %45
%47 = load i32, ptr %4, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %71
49: ; preds = %43
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %7, align 4
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %51, %52
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %50, i64 %54
%56 = load i8, ptr %55, align 1
store i8 %56, ptr %5, align 1
%57 = load i8, ptr %5, align 1
%58 = sext i8 %57 to i32
%59 = icmp sge i32 %58, 32
br i1 %59, label %60, label %68
60: ; preds = %49
%61 = load i8, ptr %5, align 1
%62 = sext i8 %61 to i32
%63 = icmp sle i32 %62, 126
br i1 %63, label %64, label %68
64: ; preds = %60
%65 = load i8, ptr %5, align 1
%66 = sext i8 %65 to i32
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %66)
br label %70
68: ; preds = %60, %49
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %70
70: ; preds = %68, %64
br label %73
71: ; preds = %43
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %73
73: ; preds = %71, %70
br label %74
74: ; preds = %73
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %6, align 4
%77 = load i32, ptr %6, align 4
%78 = icmp slt i32 %77, 16
br i1 %78, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %74
br label %79
79: ; preds = %._crit_edge3, %39
%80 = load i32, ptr %7, align 4
%81 = add nsw i32 %80, 16
store i32 %81, ptr %7, align 4
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%83 = load i32, ptr %7, align 4
%84 = load i32, ptr %4, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %11, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %79
br label %86
86: ; preds = %._crit_edge6, %2
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp4dho25cu.c'
source_filename = "/tmp/tmp4dho25cu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
@.str = private unnamed_addr constant [7 x i8] c"accept\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @server_accept(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 4, ptr %6, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @accept(i32 noundef %7, ptr noundef %4, ptr noundef %6)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp eq i32 -1, %9
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %15
13: ; preds = %1
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %13, %11
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @accept(i32 noundef, ptr noundef, ptr 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/tmp4dho25cu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
@.str = private unnamed_addr constant [7 x i8] c"accept\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @server_accept(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 4, ptr %6, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @accept(i32 noundef %7, ptr noundef %4, ptr noundef %6)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp eq i32 -1, %9
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %15
13: ; preds = %1
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %13, %11
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @accept(i32 noundef, ptr noundef, ptr 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/tmpf2uoiy5b.c'
source_filename = "/tmp/tmpf2uoiy5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
br label %7
7: ; preds = %16, %1
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %4, align 4
%11 = sext i32 %9 to i64
%12 = getelementptr inbounds i8, ptr %8, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %7
br label %7, !llvm.loop !6
17: ; preds = %7
%18 = load i32, ptr %4, align 4
%19 = sub nsw i32 %18, 1
ret i32 %19
}
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/tmpf2uoiy5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
br label %7
7: ; preds = %7, %1
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %4, align 4
%11 = sext i32 %9 to i64
%12 = getelementptr inbounds i8, ptr %8, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %7, label %16, !llvm.loop !6
16: ; preds = %7
%17 = load i32, ptr %4, align 4
%18 = sub nsw i32 %17, 1
ret i32 %18
}
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/tmpay_pg0vs.c'
source_filename = "/tmp/tmpay_pg0vs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @poly(double noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca double, align 8
store double %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
br label %8
8: ; preds = %11, %3
%9 = load i32, ptr %5, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %24
11: ; preds = %8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %12, i64 %14
%16 = load double, ptr %15, align 8
%17 = load double, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = call double @_pow(double noundef %17, i32 noundef %18)
%20 = load double, ptr %7, align 8
%21 = call double @llvm.fmuladd.f64(double %16, double %19, double %20)
store double %21, ptr %7, align 8
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %5, align 4
br label %8, !llvm.loop !6
24: ; preds = %8
%25 = load double, ptr %7, align 8
ret double %25
}
declare double @_pow(double noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpay_pg0vs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @poly(double noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca double, align 8
store double %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%8 = load i32, ptr %5, align 4
%9 = icmp sge i32 %8, 0
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %3
br label %10
10: ; preds = %.lr.ph, %10
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds double, ptr %11, i64 %13
%15 = load double, ptr %14, align 8
%16 = load double, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = call double @_pow(double noundef %16, i32 noundef %17)
%19 = load double, ptr %7, align 8
%20 = call double @llvm.fmuladd.f64(double %15, double %18, double %19)
store double %20, ptr %7, align 8
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp sge i32 %23, 0
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %25
25: ; preds = %._crit_edge, %3
%26 = load double, ptr %7, align 8
ret double %26
}
declare double @_pow(double noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpijwtecqu.c'
source_filename = "/tmp/tmpijwtecqu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"glXSwapIntervalMESA\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"glXSwapIntervalSGI\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"glXSwapIntervalEXT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CNFGSetVSync(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call i64 @CNFGGetExtension(ptr noundef @.str)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %2, align 4
call void %9(i32 noundef %10)
br label %11
11: ; preds = %8, %1
%12 = call i64 @CNFGGetExtension(ptr noundef @.str.1)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %2, align 4
call void %17(i32 noundef %18)
br label %19
19: ; preds = %16, %11
%20 = call i64 @CNFGGetExtension(ptr noundef @.str.2)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %3, align 8
%22 = load ptr, ptr %3, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %2, align 4
call void %25(i32 noundef %26)
br label %27
27: ; preds = %24, %19
ret void
}
declare i64 @CNFGGetExtension(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpijwtecqu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"glXSwapIntervalMESA\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"glXSwapIntervalSGI\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"glXSwapIntervalEXT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CNFGSetVSync(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call i64 @CNFGGetExtension(ptr noundef @.str)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %2, align 4
call void %9(i32 noundef %10)
br label %11
11: ; preds = %8, %1
%12 = call i64 @CNFGGetExtension(ptr noundef @.str.1)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %2, align 4
call void %17(i32 noundef %18)
br label %19
19: ; preds = %16, %11
%20 = call i64 @CNFGGetExtension(ptr noundef @.str.2)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %3, align 8
%22 = load ptr, ptr %3, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %2, align 4
call void %25(i32 noundef %26)
br label %27
27: ; preds = %24, %19
ret void
}
declare i64 @CNFGGetExtension(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplc6y_yvp.c'
source_filename = "/tmp/tmplc6y_yvp.c"
target datalayout = "e-m:e-p270: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/tmplc6y_yvp.c"
target datalayout = "e-m:e-p270: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/tmpws4s2l_u.c'
source_filename = "/tmp/tmpws4s2l_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpws4s2l_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"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfttc56t8.c'
source_filename = "/tmp/tmpfttc56t8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gdi_check_file(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [3 x i8], align 1
store ptr %0, ptr %3, align 8
%5 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
%6 = load ptr, ptr %3, align 8
%7 = call i32 @fread(ptr noundef %5, i32 noundef 1, i32 noundef 3, ptr noundef %6)
%8 = sext i32 %7 to i64
%9 = icmp ne i64 %8, 3
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %38
11: ; preds = %1
%12 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
%13 = load i8, ptr %12, align 1
%14 = call i64 @isdigit(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %35
16: ; preds = %11
%17 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 1
%18 = load i8, ptr %17, align 1
%19 = call i64 @isspace(i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %33, label %21
21: ; preds = %16
%22 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 1
%23 = load i8, ptr %22, align 1
%24 = call i64 @isdigit(i8 noundef signext %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %21
%27 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 2
%28 = load i8, ptr %27, align 1
%29 = call i64 @isspace(i8 noundef signext %28)
%30 = icmp ne i64 %29, 0
br label %31
31: ; preds = %26, %21
%32 = phi i1 [ false, %21 ], [ %30, %26 ]
br label %33
33: ; preds = %31, %16
%34 = phi i1 [ true, %16 ], [ %32, %31 ]
br label %35
35: ; preds = %33, %11
%36 = phi i1 [ false, %11 ], [ %34, %33 ]
%37 = zext i1 %36 to i32
store i32 %37, ptr %2, align 4
br label %38
38: ; preds = %35, %10
%39 = load i32, ptr %2, align 4
ret i32 %39
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfttc56t8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gdi_check_file(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [3 x i8], align 1
store ptr %0, ptr %3, align 8
%5 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
%6 = load ptr, ptr %3, align 8
%7 = call i32 @fread(ptr noundef %5, i32 noundef 1, i32 noundef 3, ptr noundef %6)
%8 = sext i32 %7 to i64
%9 = icmp ne i64 %8, 3
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %38
11: ; preds = %1
%12 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0
%13 = load i8, ptr %12, align 1
%14 = call i64 @isdigit(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %35
16: ; preds = %11
%17 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 1
%18 = load i8, ptr %17, align 1
%19 = call i64 @isspace(i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %33, label %21
21: ; preds = %16
%22 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 1
%23 = load i8, ptr %22, align 1
%24 = call i64 @isdigit(i8 noundef signext %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %21
%27 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 2
%28 = load i8, ptr %27, align 1
%29 = call i64 @isspace(i8 noundef signext %28)
%30 = icmp ne i64 %29, 0
br label %31
31: ; preds = %26, %21
%32 = phi i1 [ false, %21 ], [ %30, %26 ]
br label %33
33: ; preds = %31, %16
%34 = phi i1 [ true, %16 ], [ %32, %31 ]
br label %35
35: ; preds = %33, %11
%36 = phi i1 [ false, %11 ], [ %34, %33 ]
%37 = zext i1 %36 to i32
store i32 %37, ptr %2, align 4
br label %38
38: ; preds = %35, %10
%39 = load i32, ptr %2, align 4
ret i32 %39
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo5ta4i0v.c'
source_filename = "/tmp/tmpo5ta4i0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%sm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sgr(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 @do_csi(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @padding(i32 noundef 2)
ret void
}
declare i32 @do_csi(ptr noundef, ptr noundef) #1
declare i32 @padding(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/tmpo5ta4i0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%sm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sgr(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 @do_csi(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @padding(i32 noundef 2)
ret void
}
declare i32 @do_csi(ptr noundef, ptr noundef) #1
declare i32 @padding(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/tmp3ahrtiy4.c'
source_filename = "/tmp/tmp3ahrtiy4.c"
target datalayout = "e-m:e-p270: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/tmp3ahrtiy4.c"
target datalayout = "e-m:e-p270: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/tmpe6qfnw89.c'
source_filename = "/tmp/tmpe6qfnw89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SXNETID_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @SXNETID_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @SXNETID_it)
%2 = inttoptr i64 %1 to ptr
ret ptr %2
}
declare i64 @ASN1_item_new(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe6qfnw89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SXNETID_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @SXNETID_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @SXNETID_it)
%2 = inttoptr i64 %1 to ptr
ret ptr %2
}
declare i64 @ASN1_item_new(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsal3yeoh.c'
source_filename = "/tmp/tmpsal3yeoh.c"
target datalayout = "e-m:e-p270: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/tmpsal3yeoh.c"
target datalayout = "e-m:e-p270: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/tmpigmm9bm8.c'
source_filename = "/tmp/tmpigmm9bm8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 [4 x i32], align 16
%8 = alloca i32, align 4
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %4, align 4
%12 = icmp slt i32 %11, 1
br i1 %12, label %13, label %14
13: ; preds = %2
ret i32 1
14: ; preds = %2
%15 = call i32 (...) @getpid()
%16 = call i32 @srand(i32 noundef %15)
%17 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 0
%18 = call i32 @pipe(ptr noundef %17)
br label %19
19: ; preds = %54, %14
%20 = call i32 (...) @rand()
%21 = srem i32 %20, 5
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %4, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %55
25: ; preds = %19
%26 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 2
%27 = call i32 @pipe(ptr noundef %26)
%28 = call i64 (...) @fork()
%29 = icmp eq i64 0, %28
%30 = zext i1 %29 to i64
%31 = select i1 %29, i32 0, i32 1
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = call i32 @close(i32 noundef %35)
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 2
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %43
store i32 %41, ptr %44, align 4
%45 = load i32, ptr %6, align 4
%46 = sub nsw i32 3, %45
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %47
%49 = load i32, ptr %48, align 4
%50 = call i32 @close(i32 noundef %49)
%51 = load i32, ptr %6, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %25
br label %55
54: ; preds = %25
br label %19, !llvm.loop !6
55: ; preds = %53, %19
%56 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%57 = load i32, ptr %56, align 4
%58 = call i32 @write(i32 noundef %57, ptr noundef %9, i32 noundef 4)
br label %59
59: ; preds = %205, %124, %55
%60 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 0
%61 = load i32, ptr %60, align 16
%62 = call i32 @read(i32 noundef %61, ptr noundef %8, i32 noundef 4)
br label %63
63: ; preds = %59
%64 = call i32 @sleep(i32 noundef 1)
%65 = load i32, ptr %4, align 4
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %125
67: ; preds = %63
%68 = load i32, ptr %8, align 4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %86
70: ; preds = %67
%71 = load i32, ptr %9, align 4
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %86
73: ; preds = %70
store i32 1, ptr %9, align 4
%74 = load ptr, ptr %5, align 8
%75 = load i32, ptr %4, align 4
%76 = add nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %74, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = call i32 @puts(ptr noundef %79)
%81 = load i32, ptr @stdout, align 4
%82 = call i32 @fflush(i32 noundef %81)
%83 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%84 = load i32, ptr %83, align 4
%85 = call i32 @write(i32 noundef %84, ptr noundef %9, i32 noundef 4)
br label %86
86: ; preds = %73, %70, %67
%87 = load i32, ptr %8, align 4
%88 = icmp eq i32 %87, 1
br i1 %88, label %89, label %105
89: ; preds = %86
%90 = load i32, ptr %9, align 4
%91 = icmp sle i32 %90, 1
br i1 %91, label %92, label %105
92: ; preds = %89
store i32 2, ptr %9, align 4
%93 = load ptr, ptr %5, align 8
%94 = load i32, ptr %4, align 4
%95 = add nsw i32 %94, 1
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds ptr, ptr %93, i64 %96
%98 = load ptr, ptr %97, align 8
%99 = call i32 @puts(ptr noundef %98)
%100 = load i32, ptr @stdout, align 4
%101 = call i32 @fflush(i32 noundef %100)
%102 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%103 = load i32, ptr %102, align 4
%104 = call i32 @write(i32 noundef %103, ptr noundef %9, i32 noundef 4)
br label %105
105: ; preds = %92, %89, %86
%106 = load i32, ptr %8, align 4
%107 = icmp sgt i32 %106, 1
br i1 %107, label %108, label %124
108: ; preds = %105
%109 = load i32, ptr %9, align 4
%110 = icmp sgt i32 %109, 1
br i1 %110, label %111, label %124
111: ; preds = %108
store i32 0, ptr %9, align 4
%112 = load ptr, ptr %5, align 8
%113 = load i32, ptr %4, align 4
%114 = add nsw i32 %113, 1
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds ptr, ptr %112, i64 %115
%117 = load ptr, ptr %116, align 8
%118 = call i32 @puts(ptr noundef %117)
%119 = load i32, ptr @stdout, align 4
%120 = call i32 @fflush(i32 noundef %119)
%121 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%122 = load i32, ptr %121, align 4
%123 = call i32 @write(i32 noundef %122, ptr noundef %9, i32 noundef 4)
br label %124
124: ; preds = %111, %108, %105
br label %59
125: ; preds = %63
%126 = load i32, ptr %8, align 4
%127 = icmp eq i32 %126, 0
br i1 %127, label %128, label %146
128: ; preds = %125
%129 = load i32, ptr %9, align 4
%130 = icmp sgt i32 %129, 1
br i1 %130, label %131, label %146
131: ; preds = %128
%132 = load i32, ptr %9, align 4
%133 = sdiv i32 %132, 4
store i32 %133, ptr %9, align 4
%134 = load ptr, ptr %5, align 8
%135 = load i32, ptr %4, align 4
%136 = add nsw i32 %135, 1
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds ptr, ptr %134, i64 %137
%139 = load ptr, ptr %138, align 8
%140 = call i32 @puts(ptr noundef %139)
%141 = load i32, ptr @stdout, align 4
%142 = call i32 @fflush(i32 noundef %141)
%143 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%144 = load i32, ptr %143, align 4
%145 = call i32 @write(i32 noundef %144, ptr noundef %9, i32 noundef 4)
br label %146
146: ; preds = %131, %128, %125
%147 = load i32, ptr %8, align 4
%148 = icmp eq i32 %147, 1
br i1 %148, label %149, label %165
149: ; preds = %146
%150 = load i32, ptr %9, align 4
%151 = icmp ne i32 %150, 1
br i1 %151, label %152, label %165
152: ; preds = %149
store i32 1, ptr %9, align 4
%153 = load ptr, ptr %5, align 8
%154 = load i32, ptr %4, align 4
%155 = add nsw i32 %154, 1
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds ptr, ptr %153, i64 %156
%158 = load ptr, ptr %157, align 8
%159 = call i32 @puts(ptr noundef %158)
%160 = load i32, ptr @stdout, align 4
%161 = call i32 @fflush(i32 noundef %160)
%162 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%163 = load i32, ptr %162, align 4
%164 = call i32 @write(i32 noundef %163, ptr noundef %9, i32 noundef 4)
br label %165
165: ; preds = %152, %149, %146
%166 = load i32, ptr %8, align 4
%167 = icmp eq i32 %166, 2
br i1 %167, label %168, label %186
168: ; preds = %165
%169 = load i32, ptr %9, align 4
%170 = icmp sle i32 %169, 1
br i1 %170, label %171, label %186
171: ; preds = %168
%172 = load i32, ptr %9, align 4
%173 = add nsw i32 2, %172
store i32 %173, ptr %9, align 4
%174 = load ptr, ptr %5, align 8
%175 = load i32, ptr %4, align 4
%176 = add nsw i32 %175, 1
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds ptr, ptr %174, i64 %177
%179 = load ptr, ptr %178, align 8
%180 = call i32 @puts(ptr noundef %179)
%181 = load i32, ptr @stdout, align 4
%182 = call i32 @fflush(i32 noundef %181)
%183 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%184 = load i32, ptr %183, align 4
%185 = call i32 @write(i32 noundef %184, ptr noundef %9, i32 noundef 4)
br label %186
186: ; preds = %171, %168, %165
%187 = load i32, ptr %8, align 4
%188 = icmp sge i32 %187, 3
br i1 %188, label %189, label %205
189: ; preds = %186
%190 = load i32, ptr %9, align 4
%191 = icmp sle i32 %190, 1
br i1 %191, label %192, label %205
192: ; preds = %189
store i32 4, ptr %9, align 4
%193 = load ptr, ptr %5, align 8
%194 = load i32, ptr %4, align 4
%195 = add nsw i32 %194, 1
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds ptr, ptr %193, i64 %196
%198 = load ptr, ptr %197, align 8
%199 = call i32 @puts(ptr noundef %198)
%200 = load i32, ptr @stdout, align 4
%201 = call i32 @fflush(i32 noundef %200)
%202 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%203 = load i32, ptr %202, align 4
%204 = call i32 @write(i32 noundef %203, ptr noundef %9, i32 noundef 4)
br label %205
205: ; preds = %192, %189, %186
br label %59
}
declare i32 @srand(i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @pipe(ptr noundef) #1
declare i32 @rand(...) #1
declare i64 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @fflush(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/tmpigmm9bm8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 [4 x i32], align 16
%8 = alloca i32, align 4
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %4, align 4
%12 = icmp slt i32 %11, 1
br i1 %12, label %13, label %14
13: ; preds = %2
ret i32 1
14: ; preds = %2
%15 = call i32 (...) @getpid()
%16 = call i32 @srand(i32 noundef %15)
%17 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 0
%18 = call i32 @pipe(ptr noundef %17)
%19 = call i32 (...) @rand()
%20 = srem i32 %19, 5
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %4, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %14
br label %30
24: ; preds = %30
%25 = call i32 (...) @rand()
%26 = srem i32 %25, 5
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %4, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %30, label %..loopexit_crit_edge, !llvm.loop !6
30: ; preds = %.lr.ph, %24
%31 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 2
%32 = call i32 @pipe(ptr noundef %31)
%33 = call i64 (...) @fork()
%34 = icmp eq i64 0, %33
%35 = zext i1 %34 to i64
%36 = select i1 %34, i32 0, i32 1
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = call i32 @close(i32 noundef %40)
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 2
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %48
store i32 %46, ptr %49, align 4
%50 = load i32, ptr %6, align 4
%51 = sub nsw i32 3, %50
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %52
%54 = load i32, ptr %53, align 4
%55 = call i32 @close(i32 noundef %54)
%56 = load i32, ptr %6, align 4
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %24
58: ; preds = %30
br label %59
..loopexit_crit_edge: ; preds = %24
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %14
br label %59
59: ; preds = %.loopexit, %58
%60 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%61 = load i32, ptr %60, align 4
%62 = call i32 @write(i32 noundef %61, ptr noundef %9, i32 noundef 4)
br label %63
63: ; preds = %.backedge, %59
%64 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 0
%65 = load i32, ptr %64, align 16
%66 = call i32 @read(i32 noundef %65, ptr noundef %8, i32 noundef 4)
br label %67
67: ; preds = %63
%68 = call i32 @sleep(i32 noundef 1)
%69 = load i32, ptr %4, align 4
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %129
71: ; preds = %67
%72 = load i32, ptr %8, align 4
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %90
74: ; preds = %71
%75 = load i32, ptr %9, align 4
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %90
77: ; preds = %74
store i32 1, ptr %9, align 4
%78 = load ptr, ptr %5, align 8
%79 = load i32, ptr %4, align 4
%80 = add nsw i32 %79, 1
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds ptr, ptr %78, i64 %81
%83 = load ptr, ptr %82, align 8
%84 = call i32 @puts(ptr noundef %83)
%85 = load i32, ptr @stdout, align 4
%86 = call i32 @fflush(i32 noundef %85)
%87 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%88 = load i32, ptr %87, align 4
%89 = call i32 @write(i32 noundef %88, ptr noundef %9, i32 noundef 4)
br label %90
90: ; preds = %77, %74, %71
%91 = load i32, ptr %8, align 4
%92 = icmp eq i32 %91, 1
br i1 %92, label %93, label %109
93: ; preds = %90
%94 = load i32, ptr %9, align 4
%95 = icmp sle i32 %94, 1
br i1 %95, label %96, label %109
96: ; preds = %93
store i32 2, ptr %9, align 4
%97 = load ptr, ptr %5, align 8
%98 = load i32, ptr %4, align 4
%99 = add nsw i32 %98, 1
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds ptr, ptr %97, i64 %100
%102 = load ptr, ptr %101, align 8
%103 = call i32 @puts(ptr noundef %102)
%104 = load i32, ptr @stdout, align 4
%105 = call i32 @fflush(i32 noundef %104)
%106 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%107 = load i32, ptr %106, align 4
%108 = call i32 @write(i32 noundef %107, ptr noundef %9, i32 noundef 4)
br label %109
109: ; preds = %96, %93, %90
%110 = load i32, ptr %8, align 4
%111 = icmp sgt i32 %110, 1
br i1 %111, label %112, label %128
112: ; preds = %109
%113 = load i32, ptr %9, align 4
%114 = icmp sgt i32 %113, 1
br i1 %114, label %115, label %128
115: ; preds = %112
store i32 0, ptr %9, align 4
%116 = load ptr, ptr %5, align 8
%117 = load i32, ptr %4, align 4
%118 = add nsw i32 %117, 1
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds ptr, ptr %116, i64 %119
%121 = load ptr, ptr %120, align 8
%122 = call i32 @puts(ptr noundef %121)
%123 = load i32, ptr @stdout, align 4
%124 = call i32 @fflush(i32 noundef %123)
%125 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%126 = load i32, ptr %125, align 4
%127 = call i32 @write(i32 noundef %126, ptr noundef %9, i32 noundef 4)
br label %128
128: ; preds = %115, %112, %109
br label %.backedge
.backedge: ; preds = %128, %209
br label %63
129: ; preds = %67
%130 = load i32, ptr %8, align 4
%131 = icmp eq i32 %130, 0
br i1 %131, label %132, label %150
132: ; preds = %129
%133 = load i32, ptr %9, align 4
%134 = icmp sgt i32 %133, 1
br i1 %134, label %135, label %150
135: ; preds = %132
%136 = load i32, ptr %9, align 4
%137 = sdiv i32 %136, 4
store i32 %137, ptr %9, align 4
%138 = load ptr, ptr %5, align 8
%139 = load i32, ptr %4, align 4
%140 = add nsw i32 %139, 1
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds ptr, ptr %138, i64 %141
%143 = load ptr, ptr %142, align 8
%144 = call i32 @puts(ptr noundef %143)
%145 = load i32, ptr @stdout, align 4
%146 = call i32 @fflush(i32 noundef %145)
%147 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%148 = load i32, ptr %147, align 4
%149 = call i32 @write(i32 noundef %148, ptr noundef %9, i32 noundef 4)
br label %150
150: ; preds = %135, %132, %129
%151 = load i32, ptr %8, align 4
%152 = icmp eq i32 %151, 1
br i1 %152, label %153, label %169
153: ; preds = %150
%154 = load i32, ptr %9, align 4
%155 = icmp ne i32 %154, 1
br i1 %155, label %156, label %169
156: ; preds = %153
store i32 1, ptr %9, align 4
%157 = load ptr, ptr %5, align 8
%158 = load i32, ptr %4, align 4
%159 = add nsw i32 %158, 1
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds ptr, ptr %157, i64 %160
%162 = load ptr, ptr %161, align 8
%163 = call i32 @puts(ptr noundef %162)
%164 = load i32, ptr @stdout, align 4
%165 = call i32 @fflush(i32 noundef %164)
%166 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%167 = load i32, ptr %166, align 4
%168 = call i32 @write(i32 noundef %167, ptr noundef %9, i32 noundef 4)
br label %169
169: ; preds = %156, %153, %150
%170 = load i32, ptr %8, align 4
%171 = icmp eq i32 %170, 2
br i1 %171, label %172, label %190
172: ; preds = %169
%173 = load i32, ptr %9, align 4
%174 = icmp sle i32 %173, 1
br i1 %174, label %175, label %190
175: ; preds = %172
%176 = load i32, ptr %9, align 4
%177 = add nsw i32 2, %176
store i32 %177, ptr %9, align 4
%178 = load ptr, ptr %5, align 8
%179 = load i32, ptr %4, align 4
%180 = add nsw i32 %179, 1
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds ptr, ptr %178, i64 %181
%183 = load ptr, ptr %182, align 8
%184 = call i32 @puts(ptr noundef %183)
%185 = load i32, ptr @stdout, align 4
%186 = call i32 @fflush(i32 noundef %185)
%187 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%188 = load i32, ptr %187, align 4
%189 = call i32 @write(i32 noundef %188, ptr noundef %9, i32 noundef 4)
br label %190
190: ; preds = %175, %172, %169
%191 = load i32, ptr %8, align 4
%192 = icmp sge i32 %191, 3
br i1 %192, label %193, label %209
193: ; preds = %190
%194 = load i32, ptr %9, align 4
%195 = icmp sle i32 %194, 1
br i1 %195, label %196, label %209
196: ; preds = %193
store i32 4, ptr %9, align 4
%197 = load ptr, ptr %5, align 8
%198 = load i32, ptr %4, align 4
%199 = add nsw i32 %198, 1
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds ptr, ptr %197, i64 %200
%202 = load ptr, ptr %201, align 8
%203 = call i32 @puts(ptr noundef %202)
%204 = load i32, ptr @stdout, align 4
%205 = call i32 @fflush(i32 noundef %204)
%206 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 1
%207 = load i32, ptr %206, align 4
%208 = call i32 @write(i32 noundef %207, ptr noundef %9, i32 noundef 4)
br label %209
209: ; preds = %196, %193, %190
br label %.backedge
}
declare i32 @srand(i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @pipe(ptr noundef) #1
declare i32 @rand(...) #1
declare i64 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @fflush(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/tmpzkqvxaow.c'
source_filename = "/tmp/tmpzkqvxaow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@BIO_NOCLOSE = dso_local global i32 0, align 4
@BIO_FLAGS_BASE64_NO_NL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @base64decode(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @calcDecodeLength(ptr noundef %10)
store i32 %11, ptr %7, align 4
store i32 0, ptr %8, align 4
%12 = load i32, ptr %7, align 4
%13 = add nsw i32 %12, 1
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
%16 = load ptr, ptr %4, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %3, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = call ptr @fmemopen(ptr noundef %17, i32 noundef %19, ptr noundef @.str)
store ptr %20, ptr %9, align 8
%21 = call i32 (...) @BIO_f_base64()
%22 = call ptr @BIO_new(i32 noundef %21)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr @BIO_NOCLOSE, align 4
%25 = call ptr @BIO_new_fp(ptr noundef %23, i32 noundef %24)
store ptr %25, ptr %5, align 8
%26 = load ptr, ptr %6, align 8
%27 = load ptr, ptr %5, align 8
%28 = call ptr @BIO_push(ptr noundef %26, ptr noundef %27)
store ptr %28, ptr %5, align 8
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4
%31 = call i32 @BIO_set_flags(ptr noundef %29, i32 noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %4, align 8
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %3, align 8
%36 = call i32 @strlen(ptr noundef %35)
%37 = call i32 @BIO_read(ptr noundef %32, ptr noundef %34, i32 noundef %36)
store i32 %37, ptr %8, align 4
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 0, ptr %42, align 1
%43 = load ptr, ptr %5, align 8
%44 = call i32 @BIO_free_all(ptr noundef %43)
%45 = load ptr, ptr %9, align 8
%46 = call i32 @fclose(ptr noundef %45)
ret i32 0
}
declare i32 @calcDecodeLength(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare ptr @fmemopen(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_f_base64(...) #1
declare ptr @BIO_new_fp(ptr noundef, i32 noundef) #1
declare ptr @BIO_push(ptr noundef, ptr noundef) #1
declare i32 @BIO_set_flags(ptr noundef, i32 noundef) #1
declare i32 @BIO_read(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @BIO_free_all(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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzkqvxaow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@BIO_NOCLOSE = dso_local global i32 0, align 4
@BIO_FLAGS_BASE64_NO_NL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @base64decode(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @calcDecodeLength(ptr noundef %10)
store i32 %11, ptr %7, align 4
store i32 0, ptr %8, align 4
%12 = load i32, ptr %7, align 4
%13 = add nsw i32 %12, 1
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
%16 = load ptr, ptr %4, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %3, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = call ptr @fmemopen(ptr noundef %17, i32 noundef %19, ptr noundef @.str)
store ptr %20, ptr %9, align 8
%21 = call i32 (...) @BIO_f_base64()
%22 = call ptr @BIO_new(i32 noundef %21)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %9, align 8
%24 = load i32, ptr @BIO_NOCLOSE, align 4
%25 = call ptr @BIO_new_fp(ptr noundef %23, i32 noundef %24)
store ptr %25, ptr %5, align 8
%26 = load ptr, ptr %6, align 8
%27 = load ptr, ptr %5, align 8
%28 = call ptr @BIO_push(ptr noundef %26, ptr noundef %27)
store ptr %28, ptr %5, align 8
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4
%31 = call i32 @BIO_set_flags(ptr noundef %29, i32 noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %4, align 8
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %3, align 8
%36 = call i32 @strlen(ptr noundef %35)
%37 = call i32 @BIO_read(ptr noundef %32, ptr noundef %34, i32 noundef %36)
store i32 %37, ptr %8, align 4
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 0, ptr %42, align 1
%43 = load ptr, ptr %5, align 8
%44 = call i32 @BIO_free_all(ptr noundef %43)
%45 = load ptr, ptr %9, align 8
%46 = call i32 @fclose(ptr noundef %45)
ret i32 0
}
declare i32 @calcDecodeLength(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare ptr @fmemopen(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_f_base64(...) #1
declare ptr @BIO_new_fp(ptr noundef, i32 noundef) #1
declare ptr @BIO_push(ptr noundef, ptr noundef) #1
declare i32 @BIO_set_flags(ptr noundef, i32 noundef) #1
declare i32 @BIO_read(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @BIO_free_all(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"}
|
; ModuleID = '/tmp/tmp0j4oi6rs.c'
source_filename = "/tmp/tmp0j4oi6rs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcspbrk(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @wcscspn(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = sext i32 %7 to i64
%10 = getelementptr inbounds i64, ptr %8, i64 %9
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %11, align 8
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
br label %17
16: ; preds = %2
br label %17
17: ; preds = %16, %14
%18 = phi ptr [ %15, %14 ], [ null, %16 ]
ret ptr %18
}
declare i32 @wcscspn(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/tmp0j4oi6rs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcspbrk(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @wcscspn(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = sext i32 %7 to i64
%10 = getelementptr inbounds i64, ptr %8, i64 %9
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %11, align 8
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
br label %17
16: ; preds = %2
br label %17
17: ; preds = %16, %14
%18 = phi ptr [ %15, %14 ], [ null, %16 ]
ret ptr %18
}
declare i32 @wcscspn(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/tmp8dscvh9m.c'
source_filename = "/tmp/tmp8dscvh9m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RTLD_LAZY = 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/tmp8dscvh9m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RTLD_LAZY = 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/tmpukrlgpyn.c'
source_filename = "/tmp/tmpukrlgpyn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_2_times_Good() #0 {
%1 = call i32 @do_n_times(i32 noundef 2)
ret void
}
declare i32 @do_n_times(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/tmpukrlgpyn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_2_times_Good() #0 {
%1 = call i32 @do_n_times(i32 noundef 2)
ret void
}
declare i32 @do_n_times(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/tmppkao_bcn.c'
source_filename = "/tmp/tmppkao_bcn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_string(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @write_chunk(i32 noundef %5, ptr noundef %6, i32 noundef %8)
ret i32 %9
}
declare i32 @write_chunk(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppkao_bcn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_string(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @write_chunk(i32 noundef %5, ptr noundef %6, i32 noundef %8)
ret i32 %9
}
declare i32 @write_chunk(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.