llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmp4jnadnox.c'
source_filename = "/tmp/tmp4jnadnox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @query_for_token(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [64 x i8], align 16
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i64 @ftell(ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @skip_whitespaces(ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = call i64 @strlen(ptr noundef %14)
store i64 %15, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %16
16: ; preds = %26, %2
%17 = load i64, ptr %9, align 8
%18 = load i64, ptr %8, align 8
%19 = sub nsw i64 %18, 1
%20 = icmp sle i64 %17, %19
br i1 %20, label %21, label %29
21: ; preds = %16
%22 = load ptr, ptr %4, align 8
%23 = call signext i8 @fgetc(ptr noundef %22)
%24 = load i64, ptr %9, align 8
%25 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %24
store i8 %23, ptr %25, align 1
br label %26
26: ; preds = %21
%27 = load i64, ptr %9, align 8
%28 = add nsw i64 %27, 1
store i64 %28, ptr %9, align 8
br label %16, !llvm.loop !6
29: ; preds = %16
%30 = load i64, ptr %8, align 8
%31 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %30
store i8 0, ptr %31, align 1
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%34 = call i64 @strcmp(ptr noundef %32, ptr noundef %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %41
36: ; preds = %29
%37 = load ptr, ptr %4, align 8
%38 = load i64, ptr %7, align 8
%39 = load i32, ptr @SEEK_SET, align 4
%40 = call i32 @fseek(ptr noundef %37, i64 noundef %38, i32 noundef %39)
store i32 0, ptr %3, align 4
br label %42
41: ; preds = %29
store i32 1, ptr %3, align 4
br label %42
42: ; preds = %41, %36
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i64 @ftell(ptr noundef) #1
declare i32 @skip_whitespaces(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4jnadnox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @query_for_token(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [64 x i8], align 16
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i64 @ftell(ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @skip_whitespaces(ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = call i64 @strlen(ptr noundef %14)
store i64 %15, ptr %8, align 8
store i64 0, ptr %9, align 8
%16 = load i64, ptr %9, align 8
%17 = load i64, ptr %8, align 8
%18 = sub nsw i64 %17, 1
%19 = icmp sle i64 %16, %18
br i1 %19, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %20
20: ; preds = %.lr.ph, %25
%21 = load ptr, ptr %4, align 8
%22 = call signext i8 @fgetc(ptr noundef %21)
%23 = load i64, ptr %9, align 8
%24 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %23
store i8 %22, ptr %24, align 1
br label %25
25: ; preds = %20
%26 = load i64, ptr %9, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr %9, align 8
%28 = load i64, ptr %9, align 8
%29 = load i64, ptr %8, align 8
%30 = sub nsw i64 %29, 1
%31 = icmp sle i64 %28, %30
br i1 %31, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %32
32: ; preds = %._crit_edge, %2
%33 = load i64, ptr %8, align 8
%34 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %33
store i8 0, ptr %34, align 1
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0
%37 = call i64 @strcmp(ptr noundef %35, ptr noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %44
39: ; preds = %32
%40 = load ptr, ptr %4, align 8
%41 = load i64, ptr %7, align 8
%42 = load i32, ptr @SEEK_SET, align 4
%43 = call i32 @fseek(ptr noundef %40, i64 noundef %41, i32 noundef %42)
store i32 0, ptr %3, align 4
br label %45
44: ; preds = %32
store i32 1, ptr %3, align 4
br label %45
45: ; preds = %44, %39
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i64 @ftell(ptr noundef) #1
declare i32 @skip_whitespaces(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptyax673c.c'
source_filename = "/tmp/tmptyax673c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"\0Atabuada multiplicacao do %d\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"\0A__________________________\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"\0A %d x %d = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
br label %5
5: ; preds = %27, %0
%6 = load i32, ptr %4, align 4
%7 = icmp sle i32 %6, 10
br i1 %7, label %8, label %30
8: ; preds = %5
%9 = load i32, ptr %4, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %2, align 4
br label %12
12: ; preds = %23, %8
%13 = load i32, ptr %2, align 4
%14 = icmp sle i32 %13, 10
br i1 %14, label %15, label %26
15: ; preds = %12
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %2, align 4
%18 = mul nsw i32 %16, %17
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19, i32 noundef %20, i32 noundef %21)
br label %23
23: ; preds = %15
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %2, align 4
br label %12, !llvm.loop !6
26: ; preds = %12
br label %27
27: ; preds = %26
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %4, align 4
br label %5, !llvm.loop !8
30: ; preds = %5
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptyax673c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"\0Atabuada multiplicacao do %d\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"\0A__________________________\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"\0A %d x %d = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp sle i32 %5, 10
br i1 %6, label %.lr.ph2, label %32
.lr.ph2: ; preds = %0
br label %7
7: ; preds = %.lr.ph2, %27
%8 = load i32, ptr %4, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %11, 10
br i1 %12, label %.lr.ph, label %26
.lr.ph: ; preds = %7
br label %13
13: ; preds = %.lr.ph, %21
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %2, align 4
%16 = mul nsw i32 %14, %15
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17, i32 noundef %18, i32 noundef %19)
br label %21
21: ; preds = %13
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp sle i32 %24, 10
br i1 %25, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %7
br label %27
27: ; preds = %26
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp sle i32 %30, 10
br i1 %31, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %0
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpmdubsizc.c'
source_filename = "/tmp/tmpmdubsizc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_mutexattr_getprotocol(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 = call i32 @assert(i32 noundef 0)
%7 = load i32, ptr %3, align 4
ret i32 %7
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmdubsizc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_mutexattr_getprotocol(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 = call i32 @assert(i32 noundef 0)
%7 = load i32, ptr %3, align 4
ret i32 %7
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg218nm6h.c'
source_filename = "/tmp/tmpg218nm6h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @guild_skill_get_sp(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 @skill_get_sp(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @skill_get_sp(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/tmpg218nm6h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @guild_skill_get_sp(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 @skill_get_sp(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @skill_get_sp(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/tmpgy4hsfl7.c'
source_filename = "/tmp/tmpgy4hsfl7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_pid_notify(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @EINVAL, align 4
%8 = sub nsw i32 0, %7
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgy4hsfl7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sd_pid_notify(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @EINVAL, align 4
%8 = sub nsw i32 0, %7
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph_t6qt8a.c'
source_filename = "/tmp/tmph_t6qt8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"flag.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"YAY, FLAG: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_flag() #0 {
%1 = alloca ptr, align 8
%2 = alloca [50 x i8], align 16
%3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %1, align 8
%4 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%5 = load ptr, ptr %1, align 8
%6 = call i32 @fgets(ptr noundef %4, i32 noundef 50, ptr noundef %5)
%7 = load ptr, ptr %1, align 8
%8 = call i32 @fclose(ptr noundef %7)
%9 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @printf(ptr noundef @.str.2, ptr noundef %9)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmph_t6qt8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"flag.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"YAY, FLAG: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_flag() #0 {
%1 = alloca ptr, align 8
%2 = alloca [50 x i8], align 16
%3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %1, align 8
%4 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%5 = load ptr, ptr %1, align 8
%6 = call i32 @fgets(ptr noundef %4, i32 noundef 50, ptr noundef %5)
%7 = load ptr, ptr %1, align 8
%8 = call i32 @fclose(ptr noundef %7)
%9 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @printf(ptr noundef @.str.2, ptr noundef %9)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb2y_qlfm.c'
source_filename = "/tmp/tmpb2y_qlfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"offset bondary should be 8 bytes aligned\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"partition end offset out of range\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"partition begin offset larger than end offset\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"partition data and size mismatch\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"ecc_block\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ecc_block_fill(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i64, align 8
%17 = alloca i8, align 1
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%21 = load i32, ptr %12, align 4
%22 = call i32 @la2pa(i32 noundef %21)
store i32 %22, ptr %14, align 4
store i32 0, ptr %18, align 4
%23 = load i32, ptr %12, align 4
%24 = urem i32 %23, 8
%25 = icmp ne i32 %24, 0
br i1 %25, label %31, label %26
26: ; preds = %6
%27 = load i32, ptr %13, align 4
%28 = add i32 %27, 1
%29 = urem i32 %28, 8
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %26, %6
%32 = call i32 @err_msg(ptr noundef @.str)
%33 = load i32, ptr %18, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %18, align 4
br label %35
35: ; preds = %31, %26
%36 = load i32, ptr %13, align 4
%37 = add i32 %36, 1
%38 = load i32, ptr %9, align 4
%39 = call i32 @pa2la(i32 noundef %38)
%40 = icmp ugt i32 %37, %39
br i1 %40, label %41, label %45
41: ; preds = %35
%42 = call i32 @err_msg(ptr noundef @.str.1)
%43 = load i32, ptr %18, align 4
%44 = add nsw i32 %43, -1
store i32 %44, ptr %18, align 4
br label %45
45: ; preds = %41, %35
%46 = load i32, ptr %12, align 4
%47 = load i32, ptr %13, align 4
%48 = icmp ugt i32 %46, %47
br i1 %48, label %49, label %53
49: ; preds = %45
%50 = call i32 @err_msg(ptr noundef @.str.2)
%51 = load i32, ptr %18, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %18, align 4
br label %53
53: ; preds = %49, %45
%54 = load i32, ptr %11, align 4
%55 = load i32, ptr %13, align 4
%56 = load i32, ptr %12, align 4
%57 = sub i32 %55, %56
%58 = add i32 %57, 1
%59 = icmp ne i32 %54, %58
br i1 %59, label %60, label %64
60: ; preds = %53
%61 = call i32 @err_msg(ptr noundef @.str.3)
%62 = load i32, ptr %18, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %18, align 4
br label %64
64: ; preds = %60, %53
%65 = load i32, ptr %18, align 4
%66 = icmp ne i32 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %64
%68 = load i32, ptr %18, align 4
store i32 %68, ptr %7, align 4
br label %186
69: ; preds = %64
%70 = load i32, ptr %14, align 4
%71 = udiv i32 %70, 32
%72 = mul i32 %71, 32
store i32 %72, ptr %19, align 4
br label %73
73: ; preds = %98, %69
%74 = load i32, ptr %19, align 4
%75 = load i32, ptr %13, align 4
%76 = add i32 %75, 1
%77 = call i32 @la2pa(i32 noundef %76)
%78 = sdiv i32 %77, 32
%79 = mul nsw i32 %78, 32
%80 = icmp slt i32 %74, %79
br i1 %80, label %81, label %101
81: ; preds = %73
%82 = load i32, ptr %19, align 4
%83 = add nsw i32 %82, 31
%84 = load i32, ptr %9, align 4
%85 = icmp ult i32 %83, %84
br i1 %85, label %86, label %97
86: ; preds = %81
%87 = load ptr, ptr %8, align 8
%88 = load i32, ptr %19, align 4
%89 = add nsw i32 %88, 30
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %87, i64 %90
store i8 -1, ptr %91, align 1
%92 = load ptr, ptr %8, align 8
%93 = load i32, ptr %19, align 4
%94 = add nsw i32 %93, 31
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %92, i64 %95
store i8 -1, ptr %96, align 1
br label %97
97: ; preds = %86, %81
br label %98
98: ; preds = %97
%99 = load i32, ptr %19, align 4
%100 = add nsw i32 %99, 32
store i32 %100, ptr %19, align 4
br label %73, !llvm.loop !6
101: ; preds = %73
store i32 0, ptr %19, align 4
br label %102
102: ; preds = %179, %101
%103 = load i32, ptr %19, align 4
%104 = load i32, ptr %11, align 4
%105 = icmp ult i32 %103, %104
br i1 %105, label %106, label %182
106: ; preds = %102
%107 = load ptr, ptr %10, align 8
%108 = load i32, ptr %19, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %107, i64 %109
%111 = load i8, ptr %110, align 1
%112 = zext i8 %111 to i64
store i64 %112, ptr %16, align 8
%113 = load ptr, ptr %10, align 8
%114 = load i32, ptr %19, align 4
%115 = add nsw i32 %114, 1
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, ptr %113, i64 %116
%118 = load i8, ptr %117, align 1
%119 = zext i8 %118 to i32
%120 = shl i32 %119, 8
%121 = sext i32 %120 to i64
%122 = load i64, ptr %16, align 8
%123 = add i64 %122, %121
store i64 %123, ptr %16, align 8
%124 = load ptr, ptr %10, align 8
%125 = load i32, ptr %19, align 4
%126 = add nsw i32 %125, 2
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i8, ptr %124, i64 %127
%129 = load i8, ptr %128, align 1
%130 = zext i8 %129 to i32
%131 = shl i32 %130, 16
%132 = sext i32 %131 to i64
%133 = load i64, ptr %16, align 8
%134 = add i64 %133, %132
store i64 %134, ptr %16, align 8
%135 = load ptr, ptr %10, align 8
%136 = load i32, ptr %19, align 4
%137 = add nsw i32 %136, 3
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i8, ptr %135, i64 %138
%140 = load i8, ptr %139, align 1
%141 = zext i8 %140 to i32
%142 = shl i32 %141, 24
%143 = sext i32 %142 to i64
%144 = load i64, ptr %16, align 8
%145 = add i64 %144, %143
store i64 %145, ptr %16, align 8
%146 = load i64, ptr %16, align 8
%147 = call zeroext i8 @ecc_calc(i64 noundef %146)
store i8 %147, ptr %17, align 1
%148 = load i32, ptr %12, align 4
%149 = load i32, ptr %19, align 4
%150 = add i32 %148, %149
%151 = call i32 @la2pa(i32 noundef %150)
store i32 %151, ptr %15, align 4
store i32 0, ptr %20, align 4
br label %152
152: ; preds = %169, %106
%153 = load i32, ptr %20, align 4
%154 = icmp slt i32 %153, 4
br i1 %154, label %155, label %172
155: ; preds = %152
%156 = load ptr, ptr %10, align 8
%157 = load i32, ptr %19, align 4
%158 = load i32, ptr %20, align 4
%159 = add nsw i32 %157, %158
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i8, ptr %156, i64 %160
%162 = load i8, ptr %161, align 1
%163 = load ptr, ptr %8, align 8
%164 = load i32, ptr %15, align 4
%165 = load i32, ptr %20, align 4
%166 = add i32 %164, %165
%167 = zext i32 %166 to i64
%168 = getelementptr inbounds i8, ptr %163, i64 %167
store i8 %162, ptr %168, align 1
br label %169
169: ; preds = %155
%170 = load i32, ptr %20, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %20, align 4
br label %152, !llvm.loop !8
172: ; preds = %152
%173 = load i8, ptr %17, align 1
%174 = load ptr, ptr %8, align 8
%175 = load i32, ptr %15, align 4
%176 = add i32 %175, 4
%177 = zext i32 %176 to i64
%178 = getelementptr inbounds i8, ptr %174, i64 %177
store i8 %173, ptr %178, align 1
br label %179
179: ; preds = %172
%180 = load i32, ptr %19, align 4
%181 = add nsw i32 %180, 4
store i32 %181, ptr %19, align 4
br label %102, !llvm.loop !9
182: ; preds = %102
%183 = load ptr, ptr %8, align 8
%184 = load i32, ptr %9, align 4
%185 = call i32 @hexdump(ptr noundef %183, i32 noundef %184, i32 noundef 32, i32 noundef 4, ptr noundef @.str.4)
store i32 0, ptr %7, align 4
br label %186
186: ; preds = %182, %67
%187 = load i32, ptr %7, align 4
ret i32 %187
}
declare i32 @la2pa(i32 noundef) #1
declare i32 @err_msg(ptr noundef) #1
declare i32 @pa2la(i32 noundef) #1
declare zeroext i8 @ecc_calc(i64 noundef) #1
declare i32 @hexdump(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb2y_qlfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"offset bondary should be 8 bytes aligned\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"partition end offset out of range\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"partition begin offset larger than end offset\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"partition data and size mismatch\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"ecc_block\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ecc_block_fill(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i64, align 8
%17 = alloca i8, align 1
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%21 = load i32, ptr %12, align 4
%22 = call i32 @la2pa(i32 noundef %21)
store i32 %22, ptr %14, align 4
store i32 0, ptr %18, align 4
%23 = load i32, ptr %12, align 4
%24 = urem i32 %23, 8
%25 = icmp ne i32 %24, 0
br i1 %25, label %31, label %26
26: ; preds = %6
%27 = load i32, ptr %13, align 4
%28 = add i32 %27, 1
%29 = urem i32 %28, 8
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %26, %6
%32 = call i32 @err_msg(ptr noundef @.str)
%33 = load i32, ptr %18, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %18, align 4
br label %35
35: ; preds = %31, %26
%36 = load i32, ptr %13, align 4
%37 = add i32 %36, 1
%38 = load i32, ptr %9, align 4
%39 = call i32 @pa2la(i32 noundef %38)
%40 = icmp ugt i32 %37, %39
br i1 %40, label %41, label %45
41: ; preds = %35
%42 = call i32 @err_msg(ptr noundef @.str.1)
%43 = load i32, ptr %18, align 4
%44 = add nsw i32 %43, -1
store i32 %44, ptr %18, align 4
br label %45
45: ; preds = %41, %35
%46 = load i32, ptr %12, align 4
%47 = load i32, ptr %13, align 4
%48 = icmp ugt i32 %46, %47
br i1 %48, label %49, label %53
49: ; preds = %45
%50 = call i32 @err_msg(ptr noundef @.str.2)
%51 = load i32, ptr %18, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %18, align 4
br label %53
53: ; preds = %49, %45
%54 = load i32, ptr %11, align 4
%55 = load i32, ptr %13, align 4
%56 = load i32, ptr %12, align 4
%57 = sub i32 %55, %56
%58 = add i32 %57, 1
%59 = icmp ne i32 %54, %58
br i1 %59, label %60, label %64
60: ; preds = %53
%61 = call i32 @err_msg(ptr noundef @.str.3)
%62 = load i32, ptr %18, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %18, align 4
br label %64
64: ; preds = %60, %53
%65 = load i32, ptr %18, align 4
%66 = icmp ne i32 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %64
%68 = load i32, ptr %18, align 4
store i32 %68, ptr %7, align 4
br label %195
69: ; preds = %64
%70 = load i32, ptr %14, align 4
%71 = udiv i32 %70, 32
%72 = mul i32 %71, 32
store i32 %72, ptr %19, align 4
%73 = load i32, ptr %19, align 4
%74 = load i32, ptr %13, align 4
%75 = add i32 %74, 1
%76 = call i32 @la2pa(i32 noundef %75)
%77 = sdiv i32 %76, 32
%78 = mul nsw i32 %77, 32
%79 = icmp slt i32 %73, %78
br i1 %79, label %.lr.ph, label %107
.lr.ph: ; preds = %69
br label %80
80: ; preds = %.lr.ph, %97
%81 = load i32, ptr %19, align 4
%82 = add nsw i32 %81, 31
%83 = load i32, ptr %9, align 4
%84 = icmp ult i32 %82, %83
br i1 %84, label %85, label %96
85: ; preds = %80
%86 = load ptr, ptr %8, align 8
%87 = load i32, ptr %19, align 4
%88 = add nsw i32 %87, 30
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %86, i64 %89
store i8 -1, ptr %90, align 1
%91 = load ptr, ptr %8, align 8
%92 = load i32, ptr %19, align 4
%93 = add nsw i32 %92, 31
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %91, i64 %94
store i8 -1, ptr %95, align 1
br label %96
96: ; preds = %85, %80
br label %97
97: ; preds = %96
%98 = load i32, ptr %19, align 4
%99 = add nsw i32 %98, 32
store i32 %99, ptr %19, align 4
%100 = load i32, ptr %19, align 4
%101 = load i32, ptr %13, align 4
%102 = add i32 %101, 1
%103 = call i32 @la2pa(i32 noundef %102)
%104 = sdiv i32 %103, 32
%105 = mul nsw i32 %104, 32
%106 = icmp slt i32 %100, %105
br i1 %106, label %80, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %97
br label %107
107: ; preds = %._crit_edge, %69
store i32 0, ptr %19, align 4
%108 = load i32, ptr %19, align 4
%109 = load i32, ptr %11, align 4
%110 = icmp ult i32 %108, %109
br i1 %110, label %.lr.ph5, label %191
.lr.ph5: ; preds = %107
br label %111
111: ; preds = %.lr.ph5, %185
%112 = load ptr, ptr %10, align 8
%113 = load i32, ptr %19, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %112, i64 %114
%116 = load i8, ptr %115, align 1
%117 = zext i8 %116 to i64
store i64 %117, ptr %16, align 8
%118 = load ptr, ptr %10, align 8
%119 = load i32, ptr %19, align 4
%120 = add nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %118, i64 %121
%123 = load i8, ptr %122, align 1
%124 = zext i8 %123 to i32
%125 = shl i32 %124, 8
%126 = sext i32 %125 to i64
%127 = load i64, ptr %16, align 8
%128 = add i64 %127, %126
store i64 %128, ptr %16, align 8
%129 = load ptr, ptr %10, align 8
%130 = load i32, ptr %19, align 4
%131 = add nsw i32 %130, 2
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i8, ptr %129, i64 %132
%134 = load i8, ptr %133, align 1
%135 = zext i8 %134 to i32
%136 = shl i32 %135, 16
%137 = sext i32 %136 to i64
%138 = load i64, ptr %16, align 8
%139 = add i64 %138, %137
store i64 %139, ptr %16, align 8
%140 = load ptr, ptr %10, align 8
%141 = load i32, ptr %19, align 4
%142 = add nsw i32 %141, 3
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds i8, ptr %140, i64 %143
%145 = load i8, ptr %144, align 1
%146 = zext i8 %145 to i32
%147 = shl i32 %146, 24
%148 = sext i32 %147 to i64
%149 = load i64, ptr %16, align 8
%150 = add i64 %149, %148
store i64 %150, ptr %16, align 8
%151 = load i64, ptr %16, align 8
%152 = call zeroext i8 @ecc_calc(i64 noundef %151)
store i8 %152, ptr %17, align 1
%153 = load i32, ptr %12, align 4
%154 = load i32, ptr %19, align 4
%155 = add i32 %153, %154
%156 = call i32 @la2pa(i32 noundef %155)
store i32 %156, ptr %15, align 4
store i32 0, ptr %20, align 4
%157 = load i32, ptr %20, align 4
%158 = icmp slt i32 %157, 4
br i1 %158, label %.lr.ph2, label %178
.lr.ph2: ; preds = %111
br label %159
159: ; preds = %.lr.ph2, %173
%160 = load ptr, ptr %10, align 8
%161 = load i32, ptr %19, align 4
%162 = load i32, ptr %20, align 4
%163 = add nsw i32 %161, %162
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i8, ptr %160, i64 %164
%166 = load i8, ptr %165, align 1
%167 = load ptr, ptr %8, align 8
%168 = load i32, ptr %15, align 4
%169 = load i32, ptr %20, align 4
%170 = add i32 %168, %169
%171 = zext i32 %170 to i64
%172 = getelementptr inbounds i8, ptr %167, i64 %171
store i8 %166, ptr %172, align 1
br label %173
173: ; preds = %159
%174 = load i32, ptr %20, align 4
%175 = add nsw i32 %174, 1
store i32 %175, ptr %20, align 4
%176 = load i32, ptr %20, align 4
%177 = icmp slt i32 %176, 4
br i1 %177, label %159, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %173
br label %178
178: ; preds = %._crit_edge3, %111
%179 = load i8, ptr %17, align 1
%180 = load ptr, ptr %8, align 8
%181 = load i32, ptr %15, align 4
%182 = add i32 %181, 4
%183 = zext i32 %182 to i64
%184 = getelementptr inbounds i8, ptr %180, i64 %183
store i8 %179, ptr %184, align 1
br label %185
185: ; preds = %178
%186 = load i32, ptr %19, align 4
%187 = add nsw i32 %186, 4
store i32 %187, ptr %19, align 4
%188 = load i32, ptr %19, align 4
%189 = load i32, ptr %11, align 4
%190 = icmp ult i32 %188, %189
br i1 %190, label %111, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %185
br label %191
191: ; preds = %._crit_edge6, %107
%192 = load ptr, ptr %8, align 8
%193 = load i32, ptr %9, align 4
%194 = call i32 @hexdump(ptr noundef %192, i32 noundef %193, i32 noundef 32, i32 noundef 4, ptr noundef @.str.4)
store i32 0, ptr %7, align 4
br label %195
195: ; preds = %191, %67
%196 = load i32, ptr %7, align 4
ret i32 %196
}
declare i32 @la2pa(i32 noundef) #1
declare i32 @err_msg(ptr noundef) #1
declare i32 @pa2la(i32 noundef) #1
declare zeroext i8 @ecc_calc(i64 noundef) #1
declare i32 @hexdump(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpkbjmoh7h.c'
source_filename = "/tmp/tmpkbjmoh7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @curs_up(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @sum(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp sle i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %5, align 4
br label %11
11: ; preds = %10, %2
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 0, %13
%15 = call i32 @move_cursor(ptr noundef %12, i32 noundef %14, i32 noundef 0)
ret void
}
declare i32 @sum(ptr noundef) #1
declare i32 @move_cursor(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkbjmoh7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @curs_up(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @sum(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp sle i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %5, align 4
br label %11
11: ; preds = %10, %2
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 0, %13
%15 = call i32 @move_cursor(ptr noundef %12, i32 noundef %14, i32 noundef 0)
ret void
}
declare i32 @sum(ptr noundef) #1
declare i32 @move_cursor(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmdisof7r.c'
source_filename = "/tmp/tmpmdisof7r.c"
target datalayout = "e-m:e-p270: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/tmpmdisof7r.c"
target datalayout = "e-m:e-p270: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/tmp2mo68ljb.c'
source_filename = "/tmp/tmp2mo68ljb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%03d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%g\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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @comma_dprint(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
%5 = alloca [256 x i8], align 16
%6 = alloca [100 x i8], align 16
%7 = alloca [10 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
store i32 0, ptr %9, align 4
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
store i8 0, ptr %13, align 1
%14 = load double, ptr %4, align 8
%15 = fcmp oeq double %14, 0.000000e+00
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 48, ptr %18, align 1
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
store i8 0, ptr %20, align 1
br label %127
21: ; preds = %2
%22 = load double, ptr %4, align 8
%23 = fcmp olt double %22, 0.000000e+00
%24 = zext i1 %23 to i32
store i32 %24, ptr %8, align 4
%25 = load double, ptr %4, align 8
%26 = call double @llvm.fabs.f64(double %25)
store double %26, ptr %4, align 8
br label %27
27: ; preds = %106, %21
%28 = load double, ptr %4, align 8
%29 = fcmp une double %28, 0.000000e+00
br i1 %29, label %30, label %115
30: ; preds = %27
%31 = load i32, ptr %9, align 4
%32 = icmp sgt i32 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %30
%34 = load double, ptr %4, align 8
%35 = fcmp olt double %34, 5.000000e-01
br i1 %35, label %36, label %37
36: ; preds = %33
br label %115
37: ; preds = %33, %30
%38 = load double, ptr %4, align 8
%39 = call double @fmod(double noundef %38, i32 noundef 1000)
store double %39, ptr %10, align 8
%40 = load double, ptr %10, align 8
%41 = load double, ptr %4, align 8
%42 = fcmp une double %40, %41
br i1 %42, label %43, label %46
43: ; preds = %37
%44 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%45 = call i32 @strcpy(ptr noundef %44, ptr noundef @.str)
br label %49
46: ; preds = %37
%47 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%48 = call i32 @strcpy(ptr noundef %47, ptr noundef @.str.1)
br label %49
49: ; preds = %46, %43
%50 = load double, ptr %4, align 8
%51 = load double, ptr %10, align 8
%52 = fsub double %50, %51
%53 = fdiv double %52, 1.000000e+03
store double %53, ptr %4, align 8
%54 = load double, ptr %10, align 8
%55 = fptosi double %54 to i32
store i32 %55, ptr %11, align 4
%56 = load i32, ptr %11, align 4
%57 = sitofp i32 %56 to double
%58 = load double, ptr %10, align 8
%59 = fsub double %58, %57
store double %59, ptr %10, align 8
%60 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%61 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%62 = load i32, ptr %11, align 4
%63 = sitofp i32 %62 to double
%64 = call i32 @sprintf(ptr noundef %60, ptr noundef %61, double noundef %63)
%65 = load i32, ptr %9, align 4
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %100
67: ; preds = %49
%68 = load double, ptr %10, align 8
%69 = fcmp une double %68, 0.000000e+00
br i1 %69, label %70, label %100
70: ; preds = %67
%71 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%72 = load double, ptr %10, align 8
%73 = call i32 @sprintf(ptr noundef %71, ptr noundef @.str.2, double noundef %72)
store i32 0, ptr %11, align 4
br label %74
74: ; preds = %91, %70
%75 = load i32, ptr %11, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp ne i32 %79, 46
br i1 %80, label %81, label %88
81: ; preds = %74
%82 = load i32, ptr %11, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp ne i32 %86, 0
br label %88
88: ; preds = %81, %74
%89 = phi i1 [ false, %74 ], [ %87, %81 ]
br i1 %89, label %90, label %94
90: ; preds = %88
br label %91
91: ; preds = %90
%92 = load i32, ptr %11, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %11, align 4
br label %74, !llvm.loop !6
94: ; preds = %88
%95 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%96 = load i32, ptr %11, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %97
%99 = call i32 @strcat(ptr noundef %95, ptr noundef %98)
br label %100
100: ; preds = %94, %67, %49
%101 = load i32, ptr %9, align 4
%102 = icmp ne i32 %101, 0
br i1 %102, label %103, label %106
103: ; preds = %100
%104 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%105 = call i32 @strcat(ptr noundef %104, ptr noundef @.str.3)
br label %106
106: ; preds = %103, %100
%107 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%108 = load ptr, ptr %3, align 8
%109 = call i32 @strcat(ptr noundef %107, ptr noundef %108)
%110 = load ptr, ptr %3, align 8
%111 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%112 = call i32 @strcpy(ptr noundef %110, ptr noundef %111)
%113 = load i32, ptr %9, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %9, align 4
br label %27, !llvm.loop !8
115: ; preds = %36, %27
%116 = load i32, ptr %8, align 4
%117 = icmp ne i32 %116, 0
br i1 %117, label %118, label %127
118: ; preds = %115
%119 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%120 = call i32 @strcpy(ptr noundef %119, ptr noundef @.str.4)
%121 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%122 = load ptr, ptr %3, align 8
%123 = call i32 @strcat(ptr noundef %121, ptr noundef %122)
%124 = load ptr, ptr %3, align 8
%125 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%126 = call i32 @strcpy(ptr noundef %124, ptr noundef %125)
br label %127
127: ; preds = %16, %118, %115
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare double @fmod(double noundef, i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2mo68ljb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%03d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%g\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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @comma_dprint(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
%5 = alloca [256 x i8], align 16
%6 = alloca [100 x i8], align 16
%7 = alloca [10 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
store i32 0, ptr %9, align 4
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
store i8 0, ptr %13, align 1
%14 = load double, ptr %4, align 8
%15 = fcmp oeq double %14, 0.000000e+00
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 48, ptr %18, align 1
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
store i8 0, ptr %20, align 1
br label %128
21: ; preds = %2
%22 = load double, ptr %4, align 8
%23 = fcmp olt double %22, 0.000000e+00
%24 = zext i1 %23 to i32
store i32 %24, ptr %8, align 4
%25 = load double, ptr %4, align 8
%26 = call double @llvm.fabs.f64(double %25)
store double %26, ptr %4, align 8
%27 = load double, ptr %4, align 8
%28 = fcmp une double %27, 0.000000e+00
br i1 %28, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %21
br label %29
29: ; preds = %.lr.ph, %105
%30 = load i32, ptr %9, align 4
%31 = icmp sgt i32 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %29
%33 = load double, ptr %4, align 8
%34 = fcmp olt double %33, 5.000000e-01
br i1 %34, label %35, label %36
35: ; preds = %32
br label %116
36: ; preds = %32, %29
%37 = load double, ptr %4, align 8
%38 = call double @fmod(double noundef %37, i32 noundef 1000)
store double %38, ptr %10, align 8
%39 = load double, ptr %10, align 8
%40 = load double, ptr %4, align 8
%41 = fcmp une double %39, %40
br i1 %41, label %42, label %45
42: ; preds = %36
%43 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%44 = call i32 @strcpy(ptr noundef %43, ptr noundef @.str)
br label %48
45: ; preds = %36
%46 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%47 = call i32 @strcpy(ptr noundef %46, ptr noundef @.str.1)
br label %48
48: ; preds = %45, %42
%49 = load double, ptr %4, align 8
%50 = load double, ptr %10, align 8
%51 = fsub double %49, %50
%52 = fdiv double %51, 1.000000e+03
store double %52, ptr %4, align 8
%53 = load double, ptr %10, align 8
%54 = fptosi double %53 to i32
store i32 %54, ptr %11, align 4
%55 = load i32, ptr %11, align 4
%56 = sitofp i32 %55 to double
%57 = load double, ptr %10, align 8
%58 = fsub double %57, %56
store double %58, ptr %10, align 8
%59 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%60 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%61 = load i32, ptr %11, align 4
%62 = sitofp i32 %61 to double
%63 = call i32 @sprintf(ptr noundef %59, ptr noundef %60, double noundef %62)
%64 = load i32, ptr %9, align 4
%65 = icmp eq i32 %64, 0
br i1 %65, label %66, label %99
66: ; preds = %48
%67 = load double, ptr %10, align 8
%68 = fcmp une double %67, 0.000000e+00
br i1 %68, label %69, label %99
69: ; preds = %66
%70 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%71 = load double, ptr %10, align 8
%72 = call i32 @sprintf(ptr noundef %70, ptr noundef @.str.2, double noundef %71)
store i32 0, ptr %11, align 4
br label %73
73: ; preds = %90, %69
%74 = load i32, ptr %11, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp ne i32 %78, 46
br i1 %79, label %80, label %87
80: ; preds = %73
%81 = load i32, ptr %11, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp ne i32 %85, 0
br label %87
87: ; preds = %80, %73
%88 = phi i1 [ false, %73 ], [ %86, %80 ]
br i1 %88, label %89, label %93
89: ; preds = %87
br label %90
90: ; preds = %89
%91 = load i32, ptr %11, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %11, align 4
br label %73, !llvm.loop !6
93: ; preds = %87
%94 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%95 = load i32, ptr %11, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %96
%98 = call i32 @strcat(ptr noundef %94, ptr noundef %97)
br label %99
99: ; preds = %93, %66, %48
%100 = load i32, ptr %9, align 4
%101 = icmp ne i32 %100, 0
br i1 %101, label %102, label %105
102: ; preds = %99
%103 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%104 = call i32 @strcat(ptr noundef %103, ptr noundef @.str.3)
br label %105
105: ; preds = %102, %99
%106 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%107 = load ptr, ptr %3, align 8
%108 = call i32 @strcat(ptr noundef %106, ptr noundef %107)
%109 = load ptr, ptr %3, align 8
%110 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%111 = call i32 @strcpy(ptr noundef %109, ptr noundef %110)
%112 = load i32, ptr %9, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %9, align 4
%114 = load double, ptr %4, align 8
%115 = fcmp une double %114, 0.000000e+00
br i1 %115, label %29, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %105
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %21
br label %116
116: ; preds = %.loopexit, %35
%117 = load i32, ptr %8, align 4
%118 = icmp ne i32 %117, 0
br i1 %118, label %119, label %128
119: ; preds = %116
%120 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%121 = call i32 @strcpy(ptr noundef %120, ptr noundef @.str.4)
%122 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%123 = load ptr, ptr %3, align 8
%124 = call i32 @strcat(ptr noundef %122, ptr noundef %123)
%125 = load ptr, ptr %3, align 8
%126 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%127 = call i32 @strcpy(ptr noundef %125, ptr noundef %126)
br label %128
128: ; preds = %119, %116, %16
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare double @fmod(double noundef, i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpa40oiqy2.c'
source_filename = "/tmp/tmpa40oiqy2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.data = private unnamed_addr constant [6 x i32] [i32 3, i32 23, i32 -7, i32 8, i32 9, i32 10], align 16
@.str = private unnamed_addr constant [18 x i8] c"Origin array is:\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"\0APlease input the integer you want to delete:\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"After deletion:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.data, i64 24, i1 false)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %16, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 6
br i1 %9, label %10, label %19
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14)
br label %16
16: ; preds = %10
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %7, !llvm.loop !6
19: ; preds = %7
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%21 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %4)
%22 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 0
%23 = load i32, ptr %4, align 4
%24 = call i32 @my_remove(ptr noundef %22, i32 noundef %23)
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp eq i32 1, %25
br i1 %26, label %27, label %49
27: ; preds = %19
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %45, %27
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %30, 6
br i1 %31, label %32, label %48
32: ; preds = %29
%33 = load i32, ptr %3, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = icmp ne i32 0, %36
br i1 %37, label %38, label %44
38: ; preds = %32
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %42)
br label %44
44: ; preds = %38, %32
br label %45
45: ; preds = %44
%46 = load i32, ptr %3, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %3, align 4
br label %29, !llvm.loop !8
48: ; preds = %29
br label %49
49: ; preds = %48, %19
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @my_remove(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa40oiqy2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.data = private unnamed_addr constant [6 x i32] [i32 3, i32 23, i32 -7, i32 8, i32 9, i32 10], align 16
@.str = private unnamed_addr constant [18 x i8] c"Origin array is:\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"\0APlease input the integer you want to delete:\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"After deletion:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.data, i64 24, i1 false)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 6
br i1 %8, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %15
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
br label %15
15: ; preds = %9
%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, 6
br i1 %19, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%22 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %4)
%23 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 0
%24 = load i32, ptr %4, align 4
%25 = call i32 @my_remove(ptr noundef %23, i32 noundef %24)
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 1, %26
br i1 %27, label %28, label %51
28: ; preds = %20
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %30, 6
br i1 %31, label %.lr.ph2, label %50
.lr.ph2: ; preds = %28
br label %32
32: ; preds = %.lr.ph2, %45
%33 = load i32, ptr %3, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = icmp ne i32 0, %36
br i1 %37, label %38, label %44
38: ; preds = %32
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %42)
br label %44
44: ; preds = %38, %32
br label %45
45: ; preds = %44
%46 = load i32, ptr %3, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %3, align 4
%48 = load i32, ptr %3, align 4
%49 = icmp slt i32 %48, 6
br i1 %49, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %50
50: ; preds = %._crit_edge3, %28
br label %51
51: ; preds = %50, %20
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @my_remove(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpwbd_iv6o.c'
source_filename = "/tmp/tmpwbd_iv6o.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"hello stderr\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"c\0Ad\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"dlrow olleh\0A\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"i = %llu\0A\00", align 1
@.str.8 = private unnamed_addr constant [46 x i8] c"there should be a newline at the end of this\0A\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"and this\00", align 1
@.str.10 = private unnamed_addr constant [11 x i8] c"is there?\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 @putchar(i8 noundef signext 10)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i64 0, ptr %2, align 8
br label %15
15: ; preds = %21, %0
%16 = load i64, ptr %2, align 8
%17 = icmp ult i64 %16, 8
br i1 %17, label %18, label %24
18: ; preds = %15
%19 = load i64, ptr %2, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %19)
br label %21
21: ; preds = %18
%22 = load i64, ptr %2, align 8
%23 = add i64 %22, 1
store i64 %23, ptr %2, align 8
br label %15, !llvm.loop !6
24: ; preds = %15
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%26 = call i32 @puts(ptr noundef @.str.9)
%27 = load i32, ptr @stdout, align 4
%28 = call i32 @fputs(ptr noundef @.str.10, i32 noundef %27)
br label %29
29: ; preds = %55, %24
%30 = call i32 @putchar(i8 noundef signext 36)
%31 = call i32 @putchar(i8 noundef signext 32)
store i64 0, ptr %4, align 8
br label %32
32: ; preds = %52, %29
%33 = load i64, ptr %4, align 8
%34 = icmp ult i64 %33, 1024
br i1 %34, label %35, label %42
35: ; preds = %32
%36 = load i64, ptr %4, align 8
%37 = sub i64 %36, 1
%38 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 10
br label %42
42: ; preds = %35, %32
%43 = phi i1 [ false, %32 ], [ %41, %35 ]
br i1 %43, label %44, label %55
44: ; preds = %42
%45 = call signext i8 (...) @getchar()
%46 = load i64, ptr %4, align 8
%47 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %46
store i8 %45, ptr %47, align 1
%48 = load i64, ptr %4, align 8
%49 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %48
%50 = load i8, ptr %49, align 1
%51 = call i32 @putchar(i8 noundef signext %50)
br label %52
52: ; preds = %44
%53 = load i64, ptr %4, align 8
%54 = add i64 %53, 1
store i64 %54, ptr %4, align 8
br label %32, !llvm.loop !8
55: ; preds = %42
%56 = load i64, ptr %4, align 8
%57 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %56
store i8 0, ptr %57, align 1
%58 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%59 = call i32 @puts(ptr noundef %58)
br label %29
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @puts(ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwbd_iv6o.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"hello stderr\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"c\0Ad\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"dlrow olleh\0A\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"i = %llu\0A\00", align 1
@.str.8 = private unnamed_addr constant [46 x i8] c"there should be a newline at the end of this\0A\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"and this\00", align 1
@.str.10 = private unnamed_addr constant [11 x i8] c"is there?\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 @putchar(i8 noundef signext 10)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i64 0, ptr %2, align 8
%15 = load i64, ptr %2, align 8
%16 = icmp ult i64 %15, 8
br i1 %16, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %20
%18 = load i64, ptr %2, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %18)
br label %20
20: ; preds = %17
%21 = load i64, ptr %2, align 8
%22 = add i64 %21, 1
store i64 %22, ptr %2, align 8
%23 = load i64, ptr %2, align 8
%24 = icmp ult i64 %23, 8
br i1 %24, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %0
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%27 = call i32 @puts(ptr noundef @.str.9)
%28 = load i32, ptr @stdout, align 4
%29 = call i32 @fputs(ptr noundef @.str.10, i32 noundef %28)
br label %30
30: ; preds = %56, %25
%31 = call i32 @putchar(i8 noundef signext 36)
%32 = call i32 @putchar(i8 noundef signext 32)
store i64 0, ptr %4, align 8
br label %33
33: ; preds = %53, %30
%34 = load i64, ptr %4, align 8
%35 = icmp ult i64 %34, 1024
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = load i64, ptr %4, align 8
%38 = sub i64 %37, 1
%39 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 10
br label %43
43: ; preds = %36, %33
%44 = phi i1 [ false, %33 ], [ %42, %36 ]
br i1 %44, label %45, label %56
45: ; preds = %43
%46 = call signext i8 (...) @getchar()
%47 = load i64, ptr %4, align 8
%48 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %47
store i8 %46, ptr %48, align 1
%49 = load i64, ptr %4, align 8
%50 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %49
%51 = load i8, ptr %50, align 1
%52 = call i32 @putchar(i8 noundef signext %51)
br label %53
53: ; preds = %45
%54 = load i64, ptr %4, align 8
%55 = add i64 %54, 1
store i64 %55, ptr %4, align 8
br label %33, !llvm.loop !8
56: ; preds = %43
%57 = load i64, ptr %4, align 8
%58 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %57
store i8 0, ptr %58, align 1
%59 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%60 = call i32 @puts(ptr noundef %59)
br label %30
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @puts(ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsy2vhpsy.c'
source_filename = "/tmp/tmpsy2vhpsy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @down_write(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 @__down_write(ptr noundef %3)
ret void
}
declare i32 @__down_write(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsy2vhpsy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @down_write(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 @__down_write(ptr noundef %3)
ret void
}
declare i32 @__down_write(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbjyx8n_5.c'
source_filename = "/tmp/tmpbjyx8n_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"-1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = load i32, ptr %4, align 4
br label %18
16: ; preds = %3
%17 = load i32, ptr %5, align 4
br label %18
18: ; preds = %16, %14
%19 = phi i32 [ %15, %14 ], [ %17, %16 ]
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = load i32, ptr %4, align 4
br label %27
25: ; preds = %18
%26 = load i32, ptr %5, align 4
br label %27
27: ; preds = %25, %23
%28 = phi i32 [ %24, %23 ], [ %26, %25 ]
store i32 %28, ptr %10, align 4
br label %29
29: ; preds = %46, %27
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp sgt i32 %30, %31
br i1 %32, label %33, label %47
33: ; preds = %29
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %10, align 4
%36 = sub nsw i32 %34, %35
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 2
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp eq i32 %39, %40
br i1 %41, label %42, label %46
42: ; preds = %33
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %44)
store i32 1, ptr %8, align 4
br label %47
46: ; preds = %33
br label %29, !llvm.loop !6
47: ; preds = %42, %29
%48 = load i32, ptr %8, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %47
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %52
52: ; preds = %50, %47
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbjyx8n_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"-1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp sgt i32 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = load i32, ptr %4, align 4
br label %18
16: ; preds = %3
%17 = load i32, ptr %5, align 4
br label %18
18: ; preds = %16, %14
%19 = phi i32 [ %15, %14 ], [ %17, %16 ]
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = load i32, ptr %4, align 4
br label %27
25: ; preds = %18
%26 = load i32, ptr %5, align 4
br label %27
27: ; preds = %25, %23
%28 = phi i32 [ %24, %23 ], [ %26, %25 ]
store i32 %28, ptr %10, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp sgt i32 %29, %30
br i1 %31, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %27
br label %36
32: ; preds = %36
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp sgt i32 %33, %34
br i1 %35, label %36, label %..loopexit_crit_edge, !llvm.loop !6
36: ; preds = %.lr.ph, %32
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %10, align 4
%39 = sub nsw i32 %37, %38
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 2
store i32 %41, ptr %7, align 4
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp eq i32 %42, %43
br i1 %44, label %45, label %32
45: ; preds = %36
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %47)
store i32 1, ptr %8, align 4
br label %49
..loopexit_crit_edge: ; preds = %32
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %27
br label %49
49: ; preds = %.loopexit, %45
%50 = load i32, ptr %8, align 4
%51 = icmp ne i32 %50, 0
br i1 %51, label %54, label %52
52: ; preds = %49
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %54
54: ; preds = %52, %49
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"}
|
; ModuleID = '/tmp/tmp9f7nztza.c'
source_filename = "/tmp/tmp9f7nztza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Strrchr(NULL)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @Strrchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = call i32 @err_exit(ptr noundef @.str, i32 noundef 0)
br label %9
9: ; preds = %7, %2
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = call ptr @strrchr(ptr noundef %10, i32 noundef %11)
ret ptr %12
}
declare i32 @err_exit(ptr noundef, i32 noundef) #1
declare ptr @strrchr(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/tmp9f7nztza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Strrchr(NULL)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @Strrchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = call i32 @err_exit(ptr noundef @.str, i32 noundef 0)
br label %9
9: ; preds = %7, %2
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = call ptr @strrchr(ptr noundef %10, i32 noundef %11)
ret ptr %12
}
declare i32 @err_exit(ptr noundef, i32 noundef) #1
declare ptr @strrchr(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/tmpti_25_6z.c'
source_filename = "/tmp/tmpti_25_6z.c"
target datalayout = "e-m:e-p270: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/tmpti_25_6z.c"
target datalayout = "e-m:e-p270: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/tmpdu_31l3b.c'
source_filename = "/tmp/tmpdu_31l3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LINES = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_eof() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call ptr (...) @getbufstart()
%4 = call i32 (...) @scroll_line()
%5 = call ptr @skipscreenlines(ptr noundef %3, i32 noundef %4)
store ptr %5, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %17, %0
%7 = load ptr, ptr %1, align 8
%8 = call ptr (...) @getbufend()
%9 = icmp ne ptr %7, %8
br i1 %9, label %10, label %15
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @LINES, align 4
%13 = sub nsw i32 %12, 1
%14 = icmp slt i32 %11, %13
br label %15
15: ; preds = %10, %6
%16 = phi i1 [ false, %6 ], [ %14, %10 ]
br i1 %16, label %17, label %26
17: ; preds = %15
%18 = load ptr, ptr %1, align 8
%19 = call i64 @screenlines(ptr noundef %18)
%20 = load i32, ptr %2, align 4
%21 = sext i32 %20 to i64
%22 = add nsw i64 %21, %19
%23 = trunc i64 %22 to i32
store i32 %23, ptr %2, align 4
%24 = load ptr, ptr %1, align 8
%25 = call ptr @skipscreenlines(ptr noundef %24, i32 noundef 1)
store ptr %25, ptr %1, align 8
br label %6, !llvm.loop !6
26: ; preds = %15
br label %27
27: ; preds = %35, %26
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr @LINES, align 4
%30 = sub nsw i32 %29, 1
%31 = icmp slt i32 %28, %30
br i1 %31, label %32, label %38
32: ; preds = %27
%33 = load i32, ptr %2, align 4
%34 = call i32 @mvaddch(i32 noundef %33, i32 noundef 0, i8 noundef signext 126)
br label %35
35: ; preds = %32
%36 = load i32, ptr %2, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %2, align 4
br label %27, !llvm.loop !8
38: ; preds = %27
%39 = call i32 @move(i32 noundef 0, i32 noundef 0)
ret void
}
declare ptr @skipscreenlines(ptr noundef, i32 noundef) #1
declare ptr @getbufstart(...) #1
declare i32 @scroll_line(...) #1
declare ptr @getbufend(...) #1
declare i64 @screenlines(ptr noundef) #1
declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @move(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/tmpdu_31l3b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LINES = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_eof() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call ptr (...) @getbufstart()
%4 = call i32 (...) @scroll_line()
%5 = call ptr @skipscreenlines(ptr noundef %3, i32 noundef %4)
store ptr %5, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %17, %0
%7 = load ptr, ptr %1, align 8
%8 = call ptr (...) @getbufend()
%9 = icmp ne ptr %7, %8
br i1 %9, label %10, label %15
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @LINES, align 4
%13 = sub nsw i32 %12, 1
%14 = icmp slt i32 %11, %13
br label %15
15: ; preds = %10, %6
%16 = phi i1 [ false, %6 ], [ %14, %10 ]
br i1 %16, label %17, label %26
17: ; preds = %15
%18 = load ptr, ptr %1, align 8
%19 = call i64 @screenlines(ptr noundef %18)
%20 = load i32, ptr %2, align 4
%21 = sext i32 %20 to i64
%22 = add nsw i64 %21, %19
%23 = trunc i64 %22 to i32
store i32 %23, ptr %2, align 4
%24 = load ptr, ptr %1, align 8
%25 = call ptr @skipscreenlines(ptr noundef %24, i32 noundef 1)
store ptr %25, ptr %1, align 8
br label %6, !llvm.loop !6
26: ; preds = %15
%27 = load i32, ptr %2, align 4
%28 = load i32, ptr @LINES, align 4
%29 = sub nsw i32 %28, 1
%30 = icmp slt i32 %27, %29
br i1 %30, label %.lr.ph, label %41
.lr.ph: ; preds = %26
br label %31
31: ; preds = %.lr.ph, %34
%32 = load i32, ptr %2, align 4
%33 = call i32 @mvaddch(i32 noundef %32, i32 noundef 0, i8 noundef signext 126)
br label %34
34: ; preds = %31
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %2, align 4
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr @LINES, align 4
%39 = sub nsw i32 %38, 1
%40 = icmp slt i32 %37, %39
br i1 %40, label %31, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %34
br label %41
41: ; preds = %._crit_edge, %26
%42 = call i32 @move(i32 noundef 0, i32 noundef 0)
ret void
}
declare ptr @skipscreenlines(ptr noundef, i32 noundef) #1
declare ptr @getbufstart(...) #1
declare i32 @scroll_line(...) #1
declare ptr @getbufend(...) #1
declare i64 @screenlines(ptr noundef) #1
declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @move(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/tmpfauvd32p.c'
source_filename = "/tmp/tmpfauvd32p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\C3\91\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = call i32 @convertBinaryToDecimal(i32 noundef 10000000)
%4 = call i32 @printf(ptr noundef @.str.1, i32 noundef %3)
ret i32 1
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @convertBinaryToDecimal(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/tmpfauvd32p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\C3\91\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = call i32 @convertBinaryToDecimal(i32 noundef 10000000)
%4 = call i32 @printf(ptr noundef @.str.1, i32 noundef %3)
ret i32 1
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @convertBinaryToDecimal(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/tmp0hzp8i6_.c'
source_filename = "/tmp/tmp0hzp8i6_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @discrete_world_2D_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @discrete_world_2D_destroy(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @discrete_world_2D_destroy(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0hzp8i6_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @discrete_world_2D_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @discrete_world_2D_destroy(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @discrete_world_2D_destroy(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp480vlxs9.c'
source_filename = "/tmp/tmp480vlxs9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clad_malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @malloc(i64 noundef %3) #2
ret ptr %4
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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/tmp480vlxs9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clad_malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @malloc(i64 noundef %3) #2
ret ptr %4
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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/tmp1kotvbeb.c'
source_filename = "/tmp/tmp1kotvbeb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s:len=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"smaxabssorted\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @time(ptr noundef null)
%9 = call i32 @srand(i32 noundef %8)
%10 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
store i32 1, ptr %6, align 4
br label %11
11: ; preds = %37, %0
%12 = load i32, ptr %6, align 4
%13 = icmp sle i32 %12, 6
br i1 %13, label %14, label %40
14: ; preds = %11
%15 = load i32, ptr %6, align 4
%16 = call i32 @pow(i32 noundef 10, i32 noundef %15)
store i32 %16, ptr %5, align 4
store i32 1000000, ptr %4, align 4
store i32 0, ptr %7, align 4
br label %17
17: ; preds = %33, %14
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %18, 3
br i1 %19, label %20, label %36
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %5, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %23)
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %5, align 4
%27 = call double @benchmark(i32 noundef %25, i32 noundef %26)
store double %27, ptr %2, align 8
%28 = load i32, ptr %4, align 4
%29 = load double, ptr %2, align 8
%30 = call i32 @print_results(i32 noundef %28, double noundef %29)
%31 = load i32, ptr %3, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31)
br label %33
33: ; preds = %20
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
br label %17, !llvm.loop !6
36: ; preds = %17
br label %37
37: ; preds = %36
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
br label %11, !llvm.loop !8
40: ; preds = %11
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr %3, align 4
%43 = call i32 @print_summary(i32 noundef %41, i32 noundef %42)
%44 = load i32, ptr %1, align 4
ret i32 %44
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(i32 noundef, i32 noundef) #1
declare i32 @print_results(i32 noundef, double noundef) #1
declare i32 @print_summary(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/tmp1kotvbeb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s:len=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"smaxabssorted\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @time(ptr noundef null)
%9 = call i32 @srand(i32 noundef %8)
%10 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
store i32 1, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sle i32 %11, 6
br i1 %12, label %.lr.ph2, label %42
.lr.ph2: ; preds = %0
br label %13
13: ; preds = %.lr.ph2, %37
%14 = load i32, ptr %6, align 4
%15 = call i32 @pow(i32 noundef 10, i32 noundef %14)
store i32 %15, ptr %5, align 4
store i32 1000000, ptr %4, align 4
store i32 0, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp slt i32 %16, 3
br i1 %17, label %.lr.ph, label %36
.lr.ph: ; preds = %13
br label %18
18: ; preds = %.lr.ph, %31
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %5, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %21)
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %5, align 4
%25 = call double @benchmark(i32 noundef %23, i32 noundef %24)
store double %25, ptr %2, align 8
%26 = load i32, ptr %4, align 4
%27 = load double, ptr %2, align 8
%28 = call i32 @print_results(i32 noundef %26, double noundef %27)
%29 = load i32, ptr %3, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29)
br label %31
31: ; preds = %18
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = icmp slt i32 %34, 3
br i1 %35, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %36
36: ; preds = %._crit_edge, %13
br label %37
37: ; preds = %36
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp sle i32 %40, 6
br i1 %41, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %42
42: ; preds = %._crit_edge3, %0
%43 = load i32, ptr %3, align 4
%44 = load i32, ptr %3, align 4
%45 = call i32 @print_summary(i32 noundef %43, i32 noundef %44)
%46 = load i32, ptr %1, align 4
ret i32 %46
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(i32 noundef, i32 noundef) #1
declare i32 @print_results(i32 noundef, double noundef) #1
declare i32 @print_summary(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/tmp3jq7b46f.c'
source_filename = "/tmp/tmp3jq7b46f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hypot(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %3, align 8
%7 = load double, ptr %4, align 8
%8 = load double, ptr %4, align 8
%9 = fmul double %7, %8
%10 = call double @llvm.fmuladd.f64(double %5, double %6, double %9)
%11 = call double @sqrt(double noundef %10) #3
ret double %11
}
; 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3jq7b46f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hypot(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %3, align 8
%7 = load double, ptr %4, align 8
%8 = load double, ptr %4, align 8
%9 = fmul double %7, %8
%10 = call double @llvm.fmuladd.f64(double %5, double %6, double %9)
%11 = call double @sqrt(double noundef %10) #3
ret double %11
}
; 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"}
|
; ModuleID = '/tmp/tmp83e7vg3x.c'
source_filename = "/tmp/tmp83e7vg3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"%d-%d-%d-%d-%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Bluebridge\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"Alyson Books\0A\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"FUNimation Productions, Ltd.\0A\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"Pyramid Books\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 [21 x i8], align 16
%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 [13 x i32], align 16
%13 = alloca i32, align 4
%14 = 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
%15 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 0
%16 = load i32, ptr @stdin, align 4
%17 = call i32 @fgets(ptr noundef %15, i32 noundef 21, i32 noundef %16)
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %18
18: ; preds = %46, %2
%19 = load i32, ptr %14, align 4
%20 = icmp sle i32 %19, 20
br i1 %20, label %21, label %49
21: ; preds = %18
%22 = load i32, ptr %14, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp sge i32 %26, 48
br i1 %27, label %28, label %45
28: ; preds = %21
%29 = load i32, ptr %14, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp sle i32 %33, 57
br i1 %34, label %35, label %45
35: ; preds = %28
%36 = load i32, ptr %14, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 %37
%39 = load i8, ptr %38, align 1
%40 = call i32 @convert_digit_to_int(i8 noundef signext %39)
%41 = load i32, ptr %13, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %13, align 4
%43 = sext i32 %41 to i64
%44 = getelementptr inbounds [13 x i32], ptr %12, i64 0, i64 %43
store i32 %40, ptr %44, align 4
br label %45
45: ; preds = %35, %28, %21
br label %46
46: ; preds = %45
%47 = load i32, ptr %14, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %14, align 4
br label %18, !llvm.loop !6
49: ; preds = %18
%50 = load i32, ptr %13, align 4
%51 = icmp ne i32 %50, 13
br i1 %51, label %52, label %54
52: ; preds = %49
%53 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %83
54: ; preds = %49
%55 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 0
%56 = call i32 @sscanf(ptr noundef %55, ptr noundef @.str.1, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%57 = load i32, ptr %7, align 4
%58 = icmp ne i32 %57, 978
br i1 %58, label %59, label %64
59: ; preds = %54
%60 = load i32, ptr %7, align 4
%61 = icmp ne i32 %60, 979
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %83
64: ; preds = %59, %54
%65 = getelementptr inbounds [13 x i32], ptr %12, i64 0, i64 0
%66 = call i64 @is_valid_isbn13(ptr noundef %65)
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = call i32 @printf(ptr noundef @.str.2)
br label %72
70: ; preds = %64
%71 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %83
72: ; preds = %68
%73 = load i32, ptr %9, align 4
switch i32 %73, label %82 [
i32 933346, label %74
i32 55583, label %76
i32 4210, label %78
i32 1, label %80
]
74: ; preds = %72
%75 = call i32 @printf(ptr noundef @.str.3)
br label %82
76: ; preds = %72
%77 = call i32 @printf(ptr noundef @.str.4)
br label %82
78: ; preds = %72
%79 = call i32 @printf(ptr noundef @.str.5)
br label %82
80: ; preds = %72
%81 = call i32 @printf(ptr noundef @.str.6)
br label %82
82: ; preds = %72, %80, %78, %76, %74
store i32 0, ptr %3, align 4
br label %83
83: ; preds = %82, %70, %62, %52
%84 = load i32, ptr %3, align 4
ret i32 %84
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @convert_digit_to_int(i8 noundef signext) #1
declare i32 @printf(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @is_valid_isbn13(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp83e7vg3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"%d-%d-%d-%d-%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Bluebridge\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"Alyson Books\0A\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"FUNimation Productions, Ltd.\0A\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"Pyramid Books\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 [21 x i8], align 16
%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 [13 x i32], align 16
%13 = alloca i32, align 4
%14 = 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
%15 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 0
%16 = load i32, ptr @stdin, align 4
%17 = call i32 @fgets(ptr noundef %15, i32 noundef 21, i32 noundef %16)
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
%18 = load i32, ptr %14, align 4
%19 = icmp sle i32 %18, 20
br i1 %19, label %.lr.ph, label %50
.lr.ph: ; preds = %2
br label %20
20: ; preds = %.lr.ph, %45
%21 = load i32, ptr %14, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp sge i32 %25, 48
br i1 %26, label %27, label %44
27: ; preds = %20
%28 = load i32, ptr %14, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp sle i32 %32, 57
br i1 %33, label %34, label %44
34: ; preds = %27
%35 = load i32, ptr %14, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = call i32 @convert_digit_to_int(i8 noundef signext %38)
%40 = load i32, ptr %13, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %13, align 4
%42 = sext i32 %40 to i64
%43 = getelementptr inbounds [13 x i32], ptr %12, i64 0, i64 %42
store i32 %39, ptr %43, align 4
br label %44
44: ; preds = %34, %27, %20
br label %45
45: ; preds = %44
%46 = load i32, ptr %14, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %14, align 4
%48 = load i32, ptr %14, align 4
%49 = icmp sle i32 %48, 20
br i1 %49, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %50
50: ; preds = %._crit_edge, %2
%51 = load i32, ptr %13, align 4
%52 = icmp ne i32 %51, 13
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %84
55: ; preds = %50
%56 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 0
%57 = call i32 @sscanf(ptr noundef %56, ptr noundef @.str.1, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%58 = load i32, ptr %7, align 4
%59 = icmp ne i32 %58, 978
br i1 %59, label %60, label %65
60: ; preds = %55
%61 = load i32, ptr %7, align 4
%62 = icmp ne i32 %61, 979
br i1 %62, label %63, label %65
63: ; preds = %60
%64 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %84
65: ; preds = %60, %55
%66 = getelementptr inbounds [13 x i32], ptr %12, i64 0, i64 0
%67 = call i64 @is_valid_isbn13(ptr noundef %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %69, label %71
69: ; preds = %65
%70 = call i32 @printf(ptr noundef @.str.2)
br label %73
71: ; preds = %65
%72 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %84
73: ; preds = %69
%74 = load i32, ptr %9, align 4
switch i32 %74, label %83 [
i32 933346, label %75
i32 55583, label %77
i32 4210, label %79
i32 1, label %81
]
75: ; preds = %73
%76 = call i32 @printf(ptr noundef @.str.3)
br label %83
77: ; preds = %73
%78 = call i32 @printf(ptr noundef @.str.4)
br label %83
79: ; preds = %73
%80 = call i32 @printf(ptr noundef @.str.5)
br label %83
81: ; preds = %73
%82 = call i32 @printf(ptr noundef @.str.6)
br label %83
83: ; preds = %81, %79, %77, %75, %73
store i32 0, ptr %3, align 4
br label %84
84: ; preds = %83, %71, %63, %53
%85 = load i32, ptr %3, align 4
ret i32 %85
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @convert_digit_to_int(i8 noundef signext) #1
declare i32 @printf(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @is_valid_isbn13(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpj45v5cmd.c'
source_filename = "/tmp/tmpj45v5cmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nb_kernel330_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel330_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel330_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj45v5cmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nb_kernel330_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel330_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel330_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxhbxemrl.c'
source_filename = "/tmp/tmpxhbxemrl.c"
target datalayout = "e-m:e-p270: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/tmpxhbxemrl.c"
target datalayout = "e-m:e-p270: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/tmprsra8at1.c'
source_filename = "/tmp/tmprsra8at1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gfx_get_softvga_active() #0 {
%1 = alloca i32, align 4
%2 = alloca i16, align 2
%3 = alloca i16, align 2
%4 = call i64 (...) @gu1_detect_vsa2()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 (...) @gfx_get_vsa2_softvga_enable()
store i32 %7, ptr %1, align 4
br label %24
8: ; preds = %0
%9 = call i32 @gfx_inb(i16 noundef zeroext 972)
%10 = and i32 %9, 1
%11 = icmp ne i32 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, i32 980, i32 948
%14 = trunc i32 %13 to i16
store i16 %14, ptr %2, align 2
%15 = load i16, ptr %2, align 2
%16 = zext i16 %15 to i32
%17 = add nsw i32 %16, 1
%18 = trunc i32 %17 to i16
store i16 %18, ptr %3, align 2
%19 = load i16, ptr %2, align 2
%20 = call i32 @gfx_outb(i16 noundef zeroext %19, i32 noundef 63)
%21 = load i16, ptr %3, align 2
%22 = call i32 @gfx_inb(i16 noundef zeroext %21)
%23 = and i32 %22, 1
store i32 %23, ptr %1, align 4
br label %24
24: ; preds = %8, %6
%25 = load i32, ptr %1, align 4
ret i32 %25
}
declare i64 @gu1_detect_vsa2(...) #1
declare i32 @gfx_get_vsa2_softvga_enable(...) #1
declare i32 @gfx_inb(i16 noundef zeroext) #1
declare i32 @gfx_outb(i16 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/tmprsra8at1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gfx_get_softvga_active() #0 {
%1 = alloca i32, align 4
%2 = alloca i16, align 2
%3 = alloca i16, align 2
%4 = call i64 (...) @gu1_detect_vsa2()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 (...) @gfx_get_vsa2_softvga_enable()
store i32 %7, ptr %1, align 4
br label %24
8: ; preds = %0
%9 = call i32 @gfx_inb(i16 noundef zeroext 972)
%10 = and i32 %9, 1
%11 = icmp ne i32 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, i32 980, i32 948
%14 = trunc i32 %13 to i16
store i16 %14, ptr %2, align 2
%15 = load i16, ptr %2, align 2
%16 = zext i16 %15 to i32
%17 = add nsw i32 %16, 1
%18 = trunc i32 %17 to i16
store i16 %18, ptr %3, align 2
%19 = load i16, ptr %2, align 2
%20 = call i32 @gfx_outb(i16 noundef zeroext %19, i32 noundef 63)
%21 = load i16, ptr %3, align 2
%22 = call i32 @gfx_inb(i16 noundef zeroext %21)
%23 = and i32 %22, 1
store i32 %23, ptr %1, align 4
br label %24
24: ; preds = %8, %6
%25 = load i32, ptr %1, align 4
ret i32 %25
}
declare i64 @gu1_detect_vsa2(...) #1
declare i32 @gfx_get_vsa2_softvga_enable(...) #1
declare i32 @gfx_inb(i16 noundef zeroext) #1
declare i32 @gfx_outb(i16 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/tmpkpjw7frl.c'
source_filename = "/tmp/tmpkpjw7frl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please enter 3 numbers separated by spaces > \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 [18 x i8] c"%d is the median\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp sge i32 %8, %9
br i1 %10, label %11, label %15
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp sge i32 %12, %13
br i1 %14, label %31, label %15
15: ; preds = %11, %0
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %31, label %23
23: ; preds = %19, %15
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %34
27: ; preds = %23
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %34
31: ; preds = %27, %19, %11
%32 = load i32, ptr %2, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32)
br label %91
34: ; preds = %27, %23
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = icmp sge i32 %35, %36
br i1 %37, label %38, label %42
38: ; preds = %34
%39 = load i32, ptr %3, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp sge i32 %39, %40
br i1 %41, label %58, label %42
42: ; preds = %38, %34
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr %3, align 4
%45 = icmp sle i32 %43, %44
br i1 %45, label %46, label %50
46: ; preds = %42
%47 = load i32, ptr %3, align 4
%48 = load i32, ptr %4, align 4
%49 = icmp sle i32 %47, %48
br i1 %49, label %58, label %50
50: ; preds = %46, %42
%51 = load i32, ptr %3, align 4
%52 = load i32, ptr %4, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %61
54: ; preds = %50
%55 = load i32, ptr %3, align 4
%56 = load i32, ptr %2, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %61
58: ; preds = %54, %46, %38
%59 = load i32, ptr %3, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %59)
br label %90
61: ; preds = %54, %50
%62 = load i32, ptr %2, align 4
%63 = load i32, ptr %4, align 4
%64 = icmp sge i32 %62, %63
br i1 %64, label %65, label %69
65: ; preds = %61
%66 = load i32, ptr %4, align 4
%67 = load i32, ptr %3, align 4
%68 = icmp sge i32 %66, %67
br i1 %68, label %85, label %69
69: ; preds = %65, %61
%70 = load i32, ptr %2, align 4
%71 = load i32, ptr %4, align 4
%72 = icmp sle i32 %70, %71
br i1 %72, label %73, label %77
73: ; preds = %69
%74 = load i32, ptr %4, align 4
%75 = load i32, ptr %3, align 4
%76 = icmp sle i32 %74, %75
br i1 %76, label %85, label %77
77: ; preds = %73, %69
%78 = load i32, ptr %4, align 4
%79 = load i32, ptr %2, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %88
81: ; preds = %77
%82 = load i32, ptr %4, align 4
%83 = load i32, ptr %3, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %85, label %88
85: ; preds = %81, %73, %65
%86 = load i32, ptr %4, align 4
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %86)
br label %89
88: ; preds = %81, %77
store i32 1, ptr %1, align 4
br label %92
89: ; preds = %85
br label %90
90: ; preds = %89, %58
br label %91
91: ; preds = %90, %31
store i32 0, ptr %1, align 4
br label %92
92: ; preds = %91, %88
%93 = load i32, ptr %1, align 4
ret i32 %93
}
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkpjw7frl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please enter 3 numbers separated by spaces > \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 [18 x i8] c"%d is the median\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp sge i32 %8, %9
br i1 %10, label %11, label %15
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp sge i32 %12, %13
br i1 %14, label %31, label %15
15: ; preds = %11, %0
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %31, label %23
23: ; preds = %19, %15
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %34
27: ; preds = %23
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %34
31: ; preds = %27, %19, %11
%32 = load i32, ptr %2, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32)
br label %91
34: ; preds = %27, %23
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = icmp sge i32 %35, %36
br i1 %37, label %38, label %42
38: ; preds = %34
%39 = load i32, ptr %3, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp sge i32 %39, %40
br i1 %41, label %58, label %42
42: ; preds = %38, %34
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr %3, align 4
%45 = icmp sle i32 %43, %44
br i1 %45, label %46, label %50
46: ; preds = %42
%47 = load i32, ptr %3, align 4
%48 = load i32, ptr %4, align 4
%49 = icmp sle i32 %47, %48
br i1 %49, label %58, label %50
50: ; preds = %46, %42
%51 = load i32, ptr %3, align 4
%52 = load i32, ptr %4, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %61
54: ; preds = %50
%55 = load i32, ptr %3, align 4
%56 = load i32, ptr %2, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %61
58: ; preds = %54, %46, %38
%59 = load i32, ptr %3, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %59)
br label %90
61: ; preds = %54, %50
%62 = load i32, ptr %2, align 4
%63 = load i32, ptr %4, align 4
%64 = icmp sge i32 %62, %63
br i1 %64, label %65, label %69
65: ; preds = %61
%66 = load i32, ptr %4, align 4
%67 = load i32, ptr %3, align 4
%68 = icmp sge i32 %66, %67
br i1 %68, label %85, label %69
69: ; preds = %65, %61
%70 = load i32, ptr %2, align 4
%71 = load i32, ptr %4, align 4
%72 = icmp sle i32 %70, %71
br i1 %72, label %73, label %77
73: ; preds = %69
%74 = load i32, ptr %4, align 4
%75 = load i32, ptr %3, align 4
%76 = icmp sle i32 %74, %75
br i1 %76, label %85, label %77
77: ; preds = %73, %69
%78 = load i32, ptr %4, align 4
%79 = load i32, ptr %2, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %88
81: ; preds = %77
%82 = load i32, ptr %4, align 4
%83 = load i32, ptr %3, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %85, label %88
85: ; preds = %81, %73, %65
%86 = load i32, ptr %4, align 4
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %86)
br label %89
88: ; preds = %81, %77
store i32 1, ptr %1, align 4
br label %92
89: ; preds = %85
br label %90
90: ; preds = %89, %58
br label %91
91: ; preds = %90, %31
store i32 0, ptr %1, align 4
br label %92
92: ; preds = %91, %88
%93 = load i32, ptr %1, align 4
ret i32 %93
}
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"}
|
; ModuleID = '/tmp/tmpqkauubn7.c'
source_filename = "/tmp/tmpqkauubn7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%e\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%p\09%p\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d\09%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @conversioni() #0 {
%1 = alloca double, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store double 6.900000e+00, ptr %1, align 8
store ptr %1, ptr %2, align 8
store ptr %1, ptr %3, align 8
%4 = load double, ptr %1, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10, ptr noundef %11)
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/tmpqkauubn7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%e\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%p\09%p\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d\09%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @conversioni() #0 {
%1 = alloca double, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store double 6.900000e+00, ptr %1, align 8
store ptr %1, ptr %2, align 8
store ptr %1, ptr %3, align 8
%4 = load double, ptr %1, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6, ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %3, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10, ptr noundef %11)
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/tmpqzh3kmqo.c'
source_filename = "/tmp/tmpqzh3kmqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shl_htable_rehash_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
store ptr %8, ptr %5, align 8
store i64 5381, ptr %6, align 8
br label %9
9: ; preds = %22, %2
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %13, label %25
13: ; preds = %9
%14 = load i64, ptr %6, align 8
%15 = shl i64 %14, 5
%16 = load i64, ptr %6, align 8
%17 = add i64 %15, %16
%18 = load ptr, ptr %5, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i64
%21 = add i64 %17, %20
store i64 %21, ptr %6, align 8
br label %22
22: ; preds = %13
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %5, align 8
br label %9, !llvm.loop !6
25: ; preds = %9
%26 = load i64, ptr %6, align 8
ret i64 %26
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqzh3kmqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shl_htable_rehash_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %7, align 8
store ptr %8, ptr %5, align 8
store i64 5381, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %21
%13 = load i64, ptr %6, align 8
%14 = shl i64 %13, 5
%15 = load i64, ptr %6, align 8
%16 = add i64 %14, %15
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i64
%20 = add i64 %16, %19
store i64 %20, ptr %6, align 8
br label %21
21: ; preds = %12
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %5, align 8
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %2
%28 = load i64, ptr %6, align 8
ret i64 %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3koho28i.c'
source_filename = "/tmp/tmp3koho28i.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grpcsharp_request_call_context_deadline() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmp3koho28i.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grpcsharp_request_call_context_deadline() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmp6pzw_wa3.c'
source_filename = "/tmp/tmp6pzw_wa3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @calc_average(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %28, %1
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 1
br i1 %8, label %9, label %31
9: ; preds = %6
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds float, ptr %10, i64 %12
%14 = load float, ptr %13, align 4
%15 = call i32 @abs(float noundef %14)
%16 = icmp slt i32 %15, 2147483645
br i1 %16, label %17, label %27
17: ; preds = %9
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds float, ptr %18, i64 %20
%22 = load float, ptr %21, align 4
%23 = load float, ptr %5, align 4
%24 = fadd float %23, %22
store float %24, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
br label %27
27: ; preds = %17, %9
br label %28
28: ; preds = %27
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %6, !llvm.loop !6
31: ; preds = %6
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %40, %31
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %33, 1
br i1 %34, label %35, label %43
35: ; preds = %32
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds float, ptr %36, i64 %38
store float 0x41E0000000000000, ptr %39, align 4
br label %40
40: ; preds = %35
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
br label %32, !llvm.loop !8
43: ; preds = %32
%44 = load i32, ptr %4, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %47, label %46
46: ; preds = %43
br label %52
47: ; preds = %43
%48 = load float, ptr %5, align 4
%49 = load i32, ptr %4, align 4
%50 = sitofp i32 %49 to float
%51 = fdiv float %48, %50
br label %52
52: ; preds = %47, %46
%53 = phi float [ 0x41E0000000000000, %46 ], [ %51, %47 ]
ret float %53
}
declare i32 @abs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6pzw_wa3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @calc_average(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 1
br i1 %7, label %.lr.ph, label %32
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %27
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds float, ptr %9, i64 %11
%13 = load float, ptr %12, align 4
%14 = call i32 @abs(float noundef %13)
%15 = icmp slt i32 %14, 2147483645
br i1 %15, label %16, label %26
16: ; preds = %8
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds float, ptr %17, i64 %19
%21 = load float, ptr %20, align 4
%22 = load float, ptr %5, align 4
%23 = fadd float %22, %21
store float %23, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %26
26: ; preds = %16, %8
br label %27
27: ; preds = %26
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %30, 1
br i1 %31, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %1
store i32 0, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %33, 1
br i1 %34, label %.lr.ph2, label %45
.lr.ph2: ; preds = %32
br label %35
35: ; preds = %.lr.ph2, %40
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds float, ptr %36, i64 %38
store float 0x41E0000000000000, ptr %39, align 4
br label %40
40: ; preds = %35
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp slt i32 %43, 1
br i1 %44, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %45
45: ; preds = %._crit_edge3, %32
%46 = load i32, ptr %4, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %49, label %48
48: ; preds = %45
br label %54
49: ; preds = %45
%50 = load float, ptr %5, align 4
%51 = load i32, ptr %4, align 4
%52 = sitofp i32 %51 to float
%53 = fdiv float %50, %52
br label %54
54: ; preds = %49, %48
%55 = phi float [ 0x41E0000000000000, %48 ], [ %53, %49 ]
ret float %55
}
declare i32 @abs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp67e1yswe.c'
source_filename = "/tmp/tmp67e1yswe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.s = private unnamed_addr constant [100 x i8] c"Ala ma kota\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.main.d = private unnamed_addr constant [100 x i8] c"Wlazl kotek na plotek\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [26 x i8] c"Dlugosc ciagu s(%s) = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Dlugosc ciagu d(%s) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.s, i64 100, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.d, i64 100, i1 false)
%4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @dlugosc(ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %4, i32 noundef %6)
%8 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%9 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @dlugosc(ptr noundef %9)
%11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %8, i32 noundef %10)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @dlugosc(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp67e1yswe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.s = private unnamed_addr constant [100 x i8] c"Ala ma kota\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.main.d = private unnamed_addr constant [100 x i8] c"Wlazl kotek na plotek\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [26 x i8] c"Dlugosc ciagu s(%s) = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Dlugosc ciagu d(%s) = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.s, i64 100, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.d, i64 100, i1 false)
%4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @dlugosc(ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %4, i32 noundef %6)
%8 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%9 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @dlugosc(ptr noundef %9)
%11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %8, i32 noundef %10)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @dlugosc(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgcl0t2fx.c'
source_filename = "/tmp/tmpgcl0t2fx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"\0A{SIGNAL}\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c" [DEBUG] SIGINT catched\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"{/SIGNAL}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sigHandler_1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @SIGINT, align 4
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = call i32 (...) @disconnect()
%11 = call i32 (...) @clientExit()
br label %12
12: ; preds = %6, %1
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @disconnect(...) #1
declare i32 @clientExit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgcl0t2fx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"\0A{SIGNAL}\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c" [DEBUG] SIGINT catched\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"{/SIGNAL}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sigHandler_1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @SIGINT, align 4
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = call i32 (...) @disconnect()
%11 = call i32 (...) @clientExit()
br label %12
12: ; preds = %6, %1
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @disconnect(...) #1
declare i32 @clientExit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsxm1jhji.c'
source_filename = "/tmp/tmpsxm1jhji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"not implemented\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_rtc_handler(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 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsxm1jhji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"not implemented\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_rtc_handler(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 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp74of5oph.c'
source_filename = "/tmp/tmp74of5oph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn_test1: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @fn_test1(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 @printf(ptr noundef @.str, i32 noundef %3)
ret i8 65
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp74of5oph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn_test1: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @fn_test1(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 @printf(ptr noundef @.str, i32 noundef %3)
ret i8 65
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz_vkievy.c'
source_filename = "/tmp/tmpz_vkievy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_file(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 ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %3, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %8, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %35
13: ; preds = %2
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr @SEEK_END, align 4
%16 = call i32 @fseek(ptr noundef %14, i32 noundef 0, i32 noundef %15)
%17 = load ptr, ptr %8, align 8
%18 = call i32 @ftell(ptr noundef %17)
store i32 %18, ptr %6, align 4
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr @SEEK_SET, align 4
%21 = call i32 @fseek(ptr noundef %19, i32 noundef 0, i32 noundef %20)
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
%24 = call ptr @malloc(i32 noundef %23)
store ptr %24, ptr %5, align 8
%25 = load ptr, ptr %5, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %32
27: ; preds = %13
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %6, align 4
%30 = load ptr, ptr %8, align 8
%31 = call i32 @fread(ptr noundef %28, i32 noundef 1, i32 noundef %29, ptr noundef %30)
store i32 %31, ptr %7, align 4
br label %32
32: ; preds = %27, %13
%33 = load ptr, ptr %8, align 8
%34 = call i32 @fclose(ptr noundef %33)
br label %35
35: ; preds = %32, %2
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
store i8 0, ptr %39, align 1
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %4, align 8
store ptr %40, ptr %41, align 8
%42 = load i32, ptr %7, align 4
ret i32 %42
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 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/tmpz_vkievy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_file(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 ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %3, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %8, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %35
13: ; preds = %2
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr @SEEK_END, align 4
%16 = call i32 @fseek(ptr noundef %14, i32 noundef 0, i32 noundef %15)
%17 = load ptr, ptr %8, align 8
%18 = call i32 @ftell(ptr noundef %17)
store i32 %18, ptr %6, align 4
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr @SEEK_SET, align 4
%21 = call i32 @fseek(ptr noundef %19, i32 noundef 0, i32 noundef %20)
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
%24 = call ptr @malloc(i32 noundef %23)
store ptr %24, ptr %5, align 8
%25 = load ptr, ptr %5, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %32
27: ; preds = %13
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %6, align 4
%30 = load ptr, ptr %8, align 8
%31 = call i32 @fread(ptr noundef %28, i32 noundef 1, i32 noundef %29, ptr noundef %30)
store i32 %31, ptr %7, align 4
br label %32
32: ; preds = %27, %13
%33 = load ptr, ptr %8, align 8
%34 = call i32 @fclose(ptr noundef %33)
br label %35
35: ; preds = %32, %2
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
store i8 0, ptr %39, align 1
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %4, align 8
store ptr %40, ptr %41, align 8
%42 = load i32, ptr %7, align 4
ret i32 %42
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftell(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 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/tmp9_ntz50t.c'
source_filename = "/tmp/tmp9_ntz50t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x_outw(i16 noundef zeroext %0, i16 noundef zeroext %1) #0 {
%3 = alloca i16, align 2
%4 = alloca i16, align 2
store i16 %0, ptr %3, align 2
store i16 %1, ptr %4, align 2
%5 = load i16, ptr %3, align 2
%6 = load i16, ptr %4, align 2
%7 = call i32 @outw_local(i16 noundef zeroext %5, i16 noundef zeroext %6)
ret void
}
declare i32 @outw_local(i16 noundef zeroext, i16 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/tmp9_ntz50t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x_outw(i16 noundef zeroext %0, i16 noundef zeroext %1) #0 {
%3 = alloca i16, align 2
%4 = alloca i16, align 2
store i16 %0, ptr %3, align 2
store i16 %1, ptr %4, align 2
%5 = load i16, ptr %3, align 2
%6 = load i16, ptr %4, align 2
%7 = call i32 @outw_local(i16 noundef zeroext %5, i16 noundef zeroext %6)
ret void
}
declare i32 @outw_local(i16 noundef zeroext, i16 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/tmpzv6us4gi.c'
source_filename = "/tmp/tmpzv6us4gi.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32 }
@.str = private unnamed_addr constant [13 x i8] c"%04d%02d%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @exdate(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [9 x i8], align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = call i32 @time(ptr noundef null)
store i32 %8, ptr %6, align 4
%9 = call ptr @localtime(ptr noundef %6)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = add nsw i32 %12, 1900
store i32 %13, ptr %11, align 4
%14 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 0
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 0
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds %struct.tm, ptr %18, i32 0, i32 1
%20 = load i32, ptr %19, align 4
%21 = add nsw i32 %20, 1
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds %struct.tm, ptr %22, i32 0, i32 2
%24 = load i32, ptr %23, align 4
%25 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str, i32 noundef %17, i32 noundef %21, i32 noundef %24)
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 0
%28 = call i32 @strncpy(ptr noundef %26, ptr noundef %27, i32 noundef 8)
ret void
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzv6us4gi.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32 }
@.str = private unnamed_addr constant [13 x i8] c"%04d%02d%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @exdate(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [9 x i8], align 1
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%8 = call i32 @time(ptr noundef null)
store i32 %8, ptr %6, align 4
%9 = call ptr @localtime(ptr noundef %6)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds %struct.tm, ptr %10, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = add nsw i32 %12, 1900
store i32 %13, ptr %11, align 4
%14 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 0
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 0
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds %struct.tm, ptr %18, i32 0, i32 1
%20 = load i32, ptr %19, align 4
%21 = add nsw i32 %20, 1
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds %struct.tm, ptr %22, i32 0, i32 2
%24 = load i32, ptr %23, align 4
%25 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str, i32 noundef %17, i32 noundef %21, i32 noundef %24)
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds [9 x i8], ptr %7, i64 0, i64 0
%28 = call i32 @strncpy(ptr noundef %26, ptr noundef %27, i32 noundef 8)
ret void
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps6aleqxf.c'
source_filename = "/tmp/tmps6aleqxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_addr_to_num(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [4 x i8], align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i64 0, ptr %9, align 8
store i8 0, ptr %10, align 1
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %77, %1
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 4
br i1 %13, label %14, label %80
14: ; preds = %11
br label %15
15: ; preds = %67, %14
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %8, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %8, align 4
%19 = sext i32 %17 to i64
%20 = getelementptr inbounds i8, ptr %16, i64 %19
%21 = load i8, ptr %20, align 1
store i8 %21, ptr %10, align 1
%22 = load i8, ptr %10, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 46
br i1 %24, label %29, label %25
25: ; preds = %15
%26 = load i8, ptr %10, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %47
29: ; preds = %25, %15
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 %31
store i8 0, ptr %32, align 1
%33 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
%34 = call i32 @atoi(ptr noundef %33)
store i32 %34, ptr %6, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp sgt i32 %35, 255
br i1 %36, label %37, label %38
37: ; preds = %29
store i64 0, ptr %2, align 8
br label %82
38: ; preds = %29
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %4, align 4
%41 = sub nsw i32 3, %40
%42 = mul nsw i32 %41, 8
%43 = shl i32 %39, %42
%44 = sext i32 %43 to i64
%45 = load i64, ptr %9, align 8
%46 = add i64 %45, %44
store i64 %46, ptr %9, align 8
store i32 0, ptr %7, align 4
br label %68
47: ; preds = %25
%48 = load i8, ptr %10, align 1
%49 = sext i8 %48 to i32
%50 = icmp sge i32 %49, 48
br i1 %50, label %51, label %65
51: ; preds = %47
%52 = load i8, ptr %10, align 1
%53 = sext i8 %52 to i32
%54 = icmp sle i32 %53, 57
br i1 %54, label %55, label %65
55: ; preds = %51
%56 = load i32, ptr %7, align 4
%57 = icmp sgt i32 %56, 2
br i1 %57, label %58, label %59
58: ; preds = %55
store i64 0, ptr %2, align 8
br label %82
59: ; preds = %55
%60 = load i8, ptr %10, align 1
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
%63 = sext i32 %61 to i64
%64 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 %63
store i8 %60, ptr %64, align 1
br label %66
65: ; preds = %51, %47
store i64 0, ptr %2, align 8
br label %82
66: ; preds = %59
br label %67
67: ; preds = %66
br label %15
68: ; preds = %38
%69 = load i8, ptr %10, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %76
72: ; preds = %68
%73 = load i32, ptr %4, align 4
%74 = icmp slt i32 %73, 3
br i1 %74, label %75, label %76
75: ; preds = %72
store i64 0, ptr %2, align 8
br label %82
76: ; preds = %72, %68
br label %77
77: ; preds = %76
%78 = load i32, ptr %4, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %4, align 4
br label %11, !llvm.loop !6
80: ; preds = %11
%81 = load i64, ptr %9, align 8
store i64 %81, ptr %2, align 8
br label %82
82: ; preds = %80, %75, %65, %58, %37
%83 = load i64, ptr %2, align 8
ret i64 %83
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmps6aleqxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_addr_to_num(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [4 x i8], align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i64 0, ptr %9, align 8
store i8 0, ptr %10, align 1
store i32 0, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 4
br i1 %12, label %.lr.ph3, label %89
.lr.ph3: ; preds = %1
br label %13
13: ; preds = %.lr.ph3, %84
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %8, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %8, align 4
%17 = sext i32 %15 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
%19 = load i8, ptr %18, align 1
store i8 %19, ptr %10, align 1
%20 = load i8, ptr %10, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 46
br i1 %22, label %27, label %.lr.ph
.lr.ph: ; preds = %13
br label %23
23: ; preds = %.lr.ph, %65
%24 = load i8, ptr %10, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 0
br i1 %26, label %._crit_edge, label %45
._crit_edge: ; preds = %23
br label %27
._crit_edge1: ; preds = %65
br label %27
27: ; preds = %._crit_edge1, %._crit_edge, %13
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 %29
store i8 0, ptr %30, align 1
%31 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
%32 = call i32 @atoi(ptr noundef %31)
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp sgt i32 %33, 255
br i1 %34, label %35, label %36
35: ; preds = %27
store i64 0, ptr %2, align 8
br label %91
36: ; preds = %27
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %4, align 4
%39 = sub nsw i32 3, %38
%40 = mul nsw i32 %39, 8
%41 = shl i32 %37, %40
%42 = sext i32 %41 to i64
%43 = load i64, ptr %9, align 8
%44 = add i64 %43, %42
store i64 %44, ptr %9, align 8
store i32 0, ptr %7, align 4
br label %75
45: ; preds = %23
%46 = load i8, ptr %10, align 1
%47 = sext i8 %46 to i32
%48 = icmp sge i32 %47, 48
br i1 %48, label %49, label %63
49: ; preds = %45
%50 = load i8, ptr %10, align 1
%51 = sext i8 %50 to i32
%52 = icmp sle i32 %51, 57
br i1 %52, label %53, label %63
53: ; preds = %49
%54 = load i32, ptr %7, align 4
%55 = icmp sgt i32 %54, 2
br i1 %55, label %56, label %57
56: ; preds = %53
store i64 0, ptr %2, align 8
br label %91
57: ; preds = %53
%58 = load i8, ptr %10, align 1
%59 = load i32, ptr %7, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %7, align 4
%61 = sext i32 %59 to i64
%62 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 %61
store i8 %58, ptr %62, align 1
br label %64
63: ; preds = %49, %45
store i64 0, ptr %2, align 8
br label %91
64: ; preds = %57
br label %65
65: ; preds = %64
%66 = load ptr, ptr %3, align 8
%67 = load i32, ptr %8, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %8, align 4
%69 = sext i32 %67 to i64
%70 = getelementptr inbounds i8, ptr %66, i64 %69
%71 = load i8, ptr %70, align 1
store i8 %71, ptr %10, align 1
%72 = load i8, ptr %10, align 1
%73 = sext i8 %72 to i32
%74 = icmp eq i32 %73, 46
br i1 %74, label %._crit_edge1, label %23
75: ; preds = %36
%76 = load i8, ptr %10, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %83
79: ; preds = %75
%80 = load i32, ptr %4, align 4
%81 = icmp slt i32 %80, 3
br i1 %81, label %82, label %83
82: ; preds = %79
store i64 0, ptr %2, align 8
br label %91
83: ; preds = %79, %75
br label %84
84: ; preds = %83
%85 = load i32, ptr %4, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %4, align 4
%87 = load i32, ptr %4, align 4
%88 = icmp slt i32 %87, 4
br i1 %88, label %13, label %._crit_edge4, !llvm.loop !6
._crit_edge4: ; preds = %84
br label %89
89: ; preds = %._crit_edge4, %1
%90 = load i64, ptr %9, align 8
store i64 %90, ptr %2, align 8
br label %91
91: ; preds = %89, %82, %63, %56, %35
%92 = load i64, ptr %2, align 8
ret i64 %92
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqgfg1c_x.c'
source_filename = "/tmp/tmpqgfg1c_x.c"
target datalayout = "e-m:e-p270: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/tmpqgfg1c_x.c"
target datalayout = "e-m:e-p270: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/tmpg2g7_kqa.c'
source_filename = "/tmp/tmpg2g7_kqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call ptr @alloca(i32 noundef 4)
store ptr %6, ptr %2, align 8
%7 = call ptr @alloca(i32 noundef 4)
store ptr %7, ptr %3, align 8
%8 = call ptr @alloca(i32 noundef 4)
store ptr %8, ptr %4, align 8
%9 = call ptr @alloca(i32 noundef 4)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %2, align 8
store i32 1000, ptr %10, align 4
%11 = load ptr, ptr %3, align 8
store i32 1, ptr %11, align 4
%12 = load ptr, ptr %4, align 8
store i32 1, ptr %12, align 4
%13 = load ptr, ptr %5, align 8
store i32 1, ptr %13, align 4
br label %14
14: ; preds = %0, %74
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %17, align 4
%19 = mul nsw i32 %16, %18
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %20, align 4
%22 = mul nsw i32 %19, %21
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %25, align 4
%27 = mul nsw i32 %24, %26
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %28, align 4
%30 = mul nsw i32 %27, %29
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %33, align 4
%35 = mul nsw i32 %32, %34
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %36, align 4
%38 = mul nsw i32 %35, %37
%39 = add nsw i32 %30, %38
%40 = icmp eq i32 %22, %39
br i1 %40, label %41, label %42
41: ; preds = %14
store i32 1, ptr %1, align 4
br label %76
42: ; preds = %14
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %43, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %43, align 4
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %46, align 4
%48 = load ptr, ptr %2, align 8
%49 = load i32, ptr %48, align 4
%50 = icmp sgt i32 %47, %49
br i1 %50, label %51, label %56
51: ; preds = %42
%52 = load ptr, ptr %3, align 8
store i32 1, ptr %52, align 4
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %53, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %53, align 4
br label %56
56: ; preds = %51, %42
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %57, align 4
%59 = load ptr, ptr %2, align 8
%60 = load i32, ptr %59, align 4
%61 = icmp sgt i32 %58, %60
br i1 %61, label %62, label %67
62: ; preds = %56
%63 = load ptr, ptr %4, align 8
store i32 1, ptr %63, align 4
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr %64, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %64, align 4
br label %67
67: ; preds = %62, %56
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %68, align 4
%70 = load ptr, ptr %2, align 8
%71 = load i32, ptr %70, align 4
%72 = icmp sgt i32 %69, %71
br i1 %72, label %73, label %74
73: ; preds = %67
br label %75
74: ; preds = %67
br label %14
75: ; preds = %73
store i32 0, ptr %1, align 4
br label %76
76: ; preds = %75, %41
%77 = load i32, ptr %1, align 4
ret i32 %77
}
declare ptr @alloca(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/tmpg2g7_kqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call ptr @alloca(i32 noundef 4)
store ptr %6, ptr %2, align 8
%7 = call ptr @alloca(i32 noundef 4)
store ptr %7, ptr %3, align 8
%8 = call ptr @alloca(i32 noundef 4)
store ptr %8, ptr %4, align 8
%9 = call ptr @alloca(i32 noundef 4)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %2, align 8
store i32 1000, ptr %10, align 4
%11 = load ptr, ptr %3, align 8
store i32 1, ptr %11, align 4
%12 = load ptr, ptr %4, align 8
store i32 1, ptr %12, align 4
%13 = load ptr, ptr %5, align 8
store i32 1, ptr %13, align 4
br label %14
14: ; preds = %67, %0
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %17, align 4
%19 = mul nsw i32 %16, %18
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %20, align 4
%22 = mul nsw i32 %19, %21
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %25, align 4
%27 = mul nsw i32 %24, %26
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %28, align 4
%30 = mul nsw i32 %27, %29
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %33, align 4
%35 = mul nsw i32 %32, %34
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %36, align 4
%38 = mul nsw i32 %35, %37
%39 = add nsw i32 %30, %38
%40 = icmp eq i32 %22, %39
br i1 %40, label %41, label %42
41: ; preds = %14
store i32 1, ptr %1, align 4
br label %75
42: ; preds = %14
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %43, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %43, align 4
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %46, align 4
%48 = load ptr, ptr %2, align 8
%49 = load i32, ptr %48, align 4
%50 = icmp sgt i32 %47, %49
br i1 %50, label %51, label %56
51: ; preds = %42
%52 = load ptr, ptr %3, align 8
store i32 1, ptr %52, align 4
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %53, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %53, align 4
br label %56
56: ; preds = %51, %42
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %57, align 4
%59 = load ptr, ptr %2, align 8
%60 = load i32, ptr %59, align 4
%61 = icmp sgt i32 %58, %60
br i1 %61, label %62, label %67
62: ; preds = %56
%63 = load ptr, ptr %4, align 8
store i32 1, ptr %63, align 4
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr %64, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %64, align 4
br label %67
67: ; preds = %62, %56
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %68, align 4
%70 = load ptr, ptr %2, align 8
%71 = load i32, ptr %70, align 4
%72 = icmp sgt i32 %69, %71
br i1 %72, label %73, label %14
73: ; preds = %67
br label %74
74: ; preds = %73
store i32 0, ptr %1, align 4
br label %75
75: ; preds = %74, %41
%76 = load i32, ptr %1, align 4
ret i32 %76
}
declare ptr @alloca(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/tmptuodgoc0.c'
source_filename = "/tmp/tmptuodgoc0.c"
target datalayout = "e-m:e-p270: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, i32 }
%struct.TYPE_6__ = type { i32, i32, i32, i64, i64, i64, i64 }
@.str = private unnamed_addr constant [9 x i8] c"WINDOWID\00", align 1
@PResizeInc = dso_local global i32 0, align 4
@PBaseSize = dso_local global i32 0, align 4
@PMinSize = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"%i %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.TYPE_5__, align 4
%6 = alloca %struct.TYPE_6__, align 8
%7 = alloca i64, align 8
%8 = alloca [2 x i32], align 4
store i32 0, ptr %1, align 4
%9 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
%10 = call i32 @_scrsize(ptr noundef %9)
%11 = call ptr @getenv(ptr noundef @.str)
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %107
14: ; preds = %0
%15 = call ptr @XOpenDisplay(ptr noundef null)
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %106
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %2, align 8
%21 = call i32 @atol(ptr noundef %20)
store i32 %21, ptr %4, align 4
%22 = call i64 @XGetWindowAttributes(ptr noundef %19, i32 noundef %21, ptr noundef %5)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %103
24: ; preds = %18
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = call i64 @XGetWMNormalHints(ptr noundef %25, i32 noundef %26, ptr noundef %6, ptr noundef %7)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %102
29: ; preds = %24
%30 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 0
%31 = load i32, ptr %30, align 8
%32 = load i32, ptr @PResizeInc, align 4
%33 = and i32 %31, %32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %101
35: ; preds = %29
%36 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 1
%37 = load i32, ptr %36, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %101
39: ; preds = %35
%40 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 2
%41 = load i32, ptr %40, align 8
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %101
43: ; preds = %39
%44 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 0
%45 = load i32, ptr %44, align 8
%46 = load i32, ptr @PBaseSize, align 4
%47 = load i32, ptr @PMinSize, align 4
%48 = or i32 %46, %47
%49 = and i32 %45, %48
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %88
51: ; preds = %43
%52 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 0
%53 = load i32, ptr %52, align 8
%54 = load i32, ptr @PBaseSize, align 4
%55 = and i32 %53, %54
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %72
57: ; preds = %51
%58 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 6
%59 = load i64, ptr %58, align 8
%60 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 0
%61 = load i32, ptr %60, align 4
%62 = sext i32 %61 to i64
%63 = sub nsw i64 %62, %59
%64 = trunc i64 %63 to i32
store i32 %64, ptr %60, align 4
%65 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 5
%66 = load i64, ptr %65, align 8
%67 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 1
%68 = load i32, ptr %67, align 4
%69 = sext i32 %68 to i64
%70 = sub nsw i64 %69, %66
%71 = trunc i64 %70 to i32
store i32 %71, ptr %67, align 4
br label %87
72: ; preds = %51
%73 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 4
%74 = load i64, ptr %73, align 8
%75 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 0
%76 = load i32, ptr %75, align 4
%77 = sext i32 %76 to i64
%78 = sub nsw i64 %77, %74
%79 = trunc i64 %78 to i32
store i32 %79, ptr %75, align 4
%80 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 3
%81 = load i64, ptr %80, align 8
%82 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 1
%83 = load i32, ptr %82, align 4
%84 = sext i32 %83 to i64
%85 = sub nsw i64 %84, %81
%86 = trunc i64 %85 to i32
store i32 %86, ptr %82, align 4
br label %87
87: ; preds = %72, %57
br label %88
88: ; preds = %87, %43
%89 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 0
%90 = load i32, ptr %89, align 4
%91 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 1
%92 = load i32, ptr %91, align 4
%93 = sdiv i32 %90, %92
%94 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
store i32 %93, ptr %94, align 4
%95 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 1
%96 = load i32, ptr %95, align 4
%97 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 2
%98 = load i32, ptr %97, align 8
%99 = sdiv i32 %96, %98
%100 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1
store i32 %99, ptr %100, align 4
br label %101
101: ; preds = %88, %39, %35, %29
br label %102
102: ; preds = %101, %24
br label %103
103: ; preds = %102, %18
%104 = load ptr, ptr %3, align 8
%105 = call i32 @XCloseDisplay(ptr noundef %104)
br label %106
106: ; preds = %103, %14
br label %107
107: ; preds = %106, %0
%108 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
%109 = load i32, ptr %108, align 4
%110 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1
%111 = load i32, ptr %110, align 4
%112 = call i32 @printf(ptr noundef @.str.1, i32 noundef %109, i32 noundef %111)
ret i32 0
}
declare i32 @_scrsize(ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare ptr @XOpenDisplay(ptr noundef) #1
declare i64 @XGetWindowAttributes(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @atol(ptr noundef) #1
declare i64 @XGetWMNormalHints(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @XCloseDisplay(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptuodgoc0.c"
target datalayout = "e-m:e-p270: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, i32 }
%struct.TYPE_6__ = type { i32, i32, i32, i64, i64, i64, i64 }
@.str = private unnamed_addr constant [9 x i8] c"WINDOWID\00", align 1
@PResizeInc = dso_local global i32 0, align 4
@PBaseSize = dso_local global i32 0, align 4
@PMinSize = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"%i %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.TYPE_5__, align 4
%6 = alloca %struct.TYPE_6__, align 8
%7 = alloca i64, align 8
%8 = alloca [2 x i32], align 4
store i32 0, ptr %1, align 4
%9 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
%10 = call i32 @_scrsize(ptr noundef %9)
%11 = call ptr @getenv(ptr noundef @.str)
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %107
14: ; preds = %0
%15 = call ptr @XOpenDisplay(ptr noundef null)
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %106
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %2, align 8
%21 = call i32 @atol(ptr noundef %20)
store i32 %21, ptr %4, align 4
%22 = call i64 @XGetWindowAttributes(ptr noundef %19, i32 noundef %21, ptr noundef %5)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %103
24: ; preds = %18
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = call i64 @XGetWMNormalHints(ptr noundef %25, i32 noundef %26, ptr noundef %6, ptr noundef %7)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %102
29: ; preds = %24
%30 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 0
%31 = load i32, ptr %30, align 8
%32 = load i32, ptr @PResizeInc, align 4
%33 = and i32 %31, %32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %101
35: ; preds = %29
%36 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 1
%37 = load i32, ptr %36, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %101
39: ; preds = %35
%40 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 2
%41 = load i32, ptr %40, align 8
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %101
43: ; preds = %39
%44 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 0
%45 = load i32, ptr %44, align 8
%46 = load i32, ptr @PBaseSize, align 4
%47 = load i32, ptr @PMinSize, align 4
%48 = or i32 %46, %47
%49 = and i32 %45, %48
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %88
51: ; preds = %43
%52 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 0
%53 = load i32, ptr %52, align 8
%54 = load i32, ptr @PBaseSize, align 4
%55 = and i32 %53, %54
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %72
57: ; preds = %51
%58 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 6
%59 = load i64, ptr %58, align 8
%60 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 0
%61 = load i32, ptr %60, align 4
%62 = sext i32 %61 to i64
%63 = sub nsw i64 %62, %59
%64 = trunc i64 %63 to i32
store i32 %64, ptr %60, align 4
%65 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 5
%66 = load i64, ptr %65, align 8
%67 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 1
%68 = load i32, ptr %67, align 4
%69 = sext i32 %68 to i64
%70 = sub nsw i64 %69, %66
%71 = trunc i64 %70 to i32
store i32 %71, ptr %67, align 4
br label %87
72: ; preds = %51
%73 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 4
%74 = load i64, ptr %73, align 8
%75 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 0
%76 = load i32, ptr %75, align 4
%77 = sext i32 %76 to i64
%78 = sub nsw i64 %77, %74
%79 = trunc i64 %78 to i32
store i32 %79, ptr %75, align 4
%80 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 3
%81 = load i64, ptr %80, align 8
%82 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 1
%83 = load i32, ptr %82, align 4
%84 = sext i32 %83 to i64
%85 = sub nsw i64 %84, %81
%86 = trunc i64 %85 to i32
store i32 %86, ptr %82, align 4
br label %87
87: ; preds = %72, %57
br label %88
88: ; preds = %87, %43
%89 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 0
%90 = load i32, ptr %89, align 4
%91 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 1
%92 = load i32, ptr %91, align 4
%93 = sdiv i32 %90, %92
%94 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
store i32 %93, ptr %94, align 4
%95 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 1
%96 = load i32, ptr %95, align 4
%97 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i32 0, i32 2
%98 = load i32, ptr %97, align 8
%99 = sdiv i32 %96, %98
%100 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1
store i32 %99, ptr %100, align 4
br label %101
101: ; preds = %88, %39, %35, %29
br label %102
102: ; preds = %101, %24
br label %103
103: ; preds = %102, %18
%104 = load ptr, ptr %3, align 8
%105 = call i32 @XCloseDisplay(ptr noundef %104)
br label %106
106: ; preds = %103, %14
br label %107
107: ; preds = %106, %0
%108 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
%109 = load i32, ptr %108, align 4
%110 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1
%111 = load i32, ptr %110, align 4
%112 = call i32 @printf(ptr noundef @.str.1, i32 noundef %109, i32 noundef %111)
ret i32 0
}
declare i32 @_scrsize(ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare ptr @XOpenDisplay(ptr noundef) #1
declare i64 @XGetWindowAttributes(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @atol(ptr noundef) #1
declare i64 @XGetWMNormalHints(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @XCloseDisplay(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpksr1tpcx.c'
source_filename = "/tmp/tmpksr1tpcx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsIdStart(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @IsAlpha(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 95
br label %9
9: ; preds = %6, %1
%10 = phi i1 [ true, %1 ], [ %8, %6 ]
%11 = zext i1 %10 to i32
ret i32 %11
}
declare i64 @IsAlpha(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpksr1tpcx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsIdStart(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @IsAlpha(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 95
br label %9
9: ; preds = %6, %1
%10 = phi i1 [ true, %1 ], [ %8, %6 ]
%11 = zext i1 %10 to i32
ret i32 %11
}
declare i64 @IsAlpha(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptxdesdt4.c'
source_filename = "/tmp/tmptxdesdt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkfile(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %11
10: ; preds = %1
store i32 1, ptr %2, align 4
br label %11
11: ; preds = %10, %9
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare ptr @fopen(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/tmptxdesdt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkfile(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %11
10: ; preds = %1
store i32 1, ptr %2, align 4
br label %11
11: ; preds = %10, %9
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare ptr @fopen(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/tmp0ukeis7m.c'
source_filename = "/tmp/tmp0ukeis7m.c"
target datalayout = "e-m:e-p270: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 [9 x i8] c"test.txt\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.3 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"That\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 %struct.stat, align 4
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr @O_RDWR, align 4
%10 = call i32 @open(ptr noundef @.str, i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = call i32 @perror(ptr noundef @.str.1)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %2
%17 = load i32, ptr %6, align 4
%18 = call i64 @fstat(i32 noundef %17, ptr noundef %7)
%19 = icmp slt i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = call i32 @perror(ptr noundef @.str.2)
%22 = load i32, ptr %6, align 4
%23 = call i32 @close(i32 noundef %22)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %16
%26 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr @PROT_READ, align 4
%29 = load i32, ptr @PROT_WRITE, align 4
%30 = or i32 %28, %29
%31 = load i32, ptr @MAP_SHARED, align 4
%32 = load i32, ptr %6, align 4
%33 = call ptr @mmap(i32 noundef 0, i32 noundef %27, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef 0)
store ptr %33, ptr %8, align 8
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr @MAP_FAILED, align 8
%36 = icmp eq ptr %34, %35
br i1 %36, label %37, label %42
37: ; preds = %25
%38 = call i32 @perror(ptr noundef @.str.3)
%39 = load i32, ptr %6, align 4
%40 = call i32 @close(i32 noundef %39)
%41 = call i32 @exit(i32 noundef 1) #3
unreachable
42: ; preds = %25
%43 = load ptr, ptr %8, align 8
%44 = call i32 @strncpy(ptr noundef %43, ptr noundef @.str.4, i32 noundef 4)
%45 = load i32, ptr %6, align 4
%46 = call i32 @close(i32 noundef %45)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fstat(i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp0ukeis7m.c"
target datalayout = "e-m:e-p270: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 [9 x i8] c"test.txt\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.3 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"That\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 %struct.stat, align 4
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr @O_RDWR, align 4
%10 = call i32 @open(ptr noundef @.str, i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = call i32 @perror(ptr noundef @.str.1)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %2
%17 = load i32, ptr %6, align 4
%18 = call i64 @fstat(i32 noundef %17, ptr noundef %7)
%19 = icmp slt i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = call i32 @perror(ptr noundef @.str.2)
%22 = load i32, ptr %6, align 4
%23 = call i32 @close(i32 noundef %22)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %16
%26 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr @PROT_READ, align 4
%29 = load i32, ptr @PROT_WRITE, align 4
%30 = or i32 %28, %29
%31 = load i32, ptr @MAP_SHARED, align 4
%32 = load i32, ptr %6, align 4
%33 = call ptr @mmap(i32 noundef 0, i32 noundef %27, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef 0)
store ptr %33, ptr %8, align 8
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr @MAP_FAILED, align 8
%36 = icmp eq ptr %34, %35
br i1 %36, label %37, label %42
37: ; preds = %25
%38 = call i32 @perror(ptr noundef @.str.3)
%39 = load i32, ptr %6, align 4
%40 = call i32 @close(i32 noundef %39)
%41 = call i32 @exit(i32 noundef 1) #3
unreachable
42: ; preds = %25
%43 = load ptr, ptr %8, align 8
%44 = call i32 @strncpy(ptr noundef %43, ptr noundef @.str.4, i32 noundef 4)
%45 = load i32, ptr %6, align 4
%46 = call i32 @close(i32 noundef %45)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @fstat(i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare ptr @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpg1i59d19.c'
source_filename = "/tmp/tmpg1i59d19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createIdentityMatrix(i8 noundef signext %0, i8 noundef signext %1, float noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
%9 = alloca i8, align 1
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store float %2, ptr %6, align 4
store i8 0, ptr %8, align 1
store i8 0, ptr %9, align 1
%10 = load i8, ptr %4, align 1
%11 = load i8, ptr %5, align 1
%12 = call ptr @createMatrix(i8 noundef signext %10, i8 noundef signext %11)
store ptr %12, ptr %7, align 8
store i8 0, ptr %8, align 1
br label %13
13: ; preds = %56, %3
%14 = load i8, ptr %8, align 1
%15 = sext i8 %14 to i32
%16 = load i8, ptr %4, align 1
%17 = sext i8 %16 to i32
%18 = icmp slt i32 %15, %17
br i1 %18, label %19, label %59
19: ; preds = %13
store i8 0, ptr %9, align 1
br label %20
20: ; preds = %52, %19
%21 = load i8, ptr %9, align 1
%22 = sext i8 %21 to i32
%23 = load i8, ptr %5, align 1
%24 = sext i8 %23 to i32
%25 = icmp slt i32 %22, %24
br i1 %25, label %26, label %55
26: ; preds = %20
%27 = load i8, ptr %8, align 1
%28 = sext i8 %27 to i32
%29 = load i8, ptr %9, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %28, %30
br i1 %31, label %32, label %42
32: ; preds = %26
%33 = load float, ptr %6, align 4
%34 = load ptr, ptr %7, align 8
%35 = load i8, ptr %8, align 1
%36 = sext i8 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = load i8, ptr %9, align 1
%40 = sext i8 %39 to i64
%41 = getelementptr inbounds float, ptr %38, i64 %40
store float %33, ptr %41, align 4
br label %51
42: ; preds = %26
%43 = load ptr, ptr %7, align 8
%44 = load i8, ptr %8, align 1
%45 = sext i8 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = load i8, ptr %9, align 1
%49 = sext i8 %48 to i64
%50 = getelementptr inbounds float, ptr %47, i64 %49
store float 0.000000e+00, ptr %50, align 4
br label %51
51: ; preds = %42, %32
br label %52
52: ; preds = %51
%53 = load i8, ptr %9, align 1
%54 = add i8 %53, 1
store i8 %54, ptr %9, align 1
br label %20, !llvm.loop !6
55: ; preds = %20
br label %56
56: ; preds = %55
%57 = load i8, ptr %8, align 1
%58 = add i8 %57, 1
store i8 %58, ptr %8, align 1
br label %13, !llvm.loop !8
59: ; preds = %13
%60 = load ptr, ptr %7, align 8
ret ptr %60
}
declare ptr @createMatrix(i8 noundef signext, 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/tmpg1i59d19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createIdentityMatrix(i8 noundef signext %0, i8 noundef signext %1, float noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
%9 = alloca i8, align 1
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store float %2, ptr %6, align 4
store i8 0, ptr %8, align 1
store i8 0, ptr %9, align 1
%10 = load i8, ptr %4, align 1
%11 = load i8, ptr %5, align 1
%12 = call ptr @createMatrix(i8 noundef signext %10, i8 noundef signext %11)
store ptr %12, ptr %7, align 8
store i8 0, ptr %8, align 1
%13 = load i8, ptr %8, align 1
%14 = sext i8 %13 to i32
%15 = load i8, ptr %4, align 1
%16 = sext i8 %15 to i32
%17 = icmp slt i32 %14, %16
br i1 %17, label %.lr.ph2, label %67
.lr.ph2: ; preds = %3
br label %18
18: ; preds = %.lr.ph2, %59
store i8 0, ptr %9, align 1
%19 = load i8, ptr %9, align 1
%20 = sext i8 %19 to i32
%21 = load i8, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = icmp slt i32 %20, %22
br i1 %23, label %.lr.ph, label %58
.lr.ph: ; preds = %18
br label %24
24: ; preds = %.lr.ph, %50
%25 = load i8, ptr %8, align 1
%26 = sext i8 %25 to i32
%27 = load i8, ptr %9, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %26, %28
br i1 %29, label %30, label %40
30: ; preds = %24
%31 = load float, ptr %6, align 4
%32 = load ptr, ptr %7, align 8
%33 = load i8, ptr %8, align 1
%34 = sext i8 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = load i8, ptr %9, align 1
%38 = sext i8 %37 to i64
%39 = getelementptr inbounds float, ptr %36, i64 %38
store float %31, ptr %39, align 4
br label %49
40: ; preds = %24
%41 = load ptr, ptr %7, align 8
%42 = load i8, ptr %8, align 1
%43 = sext i8 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = load i8, ptr %9, align 1
%47 = sext i8 %46 to i64
%48 = getelementptr inbounds float, ptr %45, i64 %47
store float 0.000000e+00, ptr %48, align 4
br label %49
49: ; preds = %40, %30
br label %50
50: ; preds = %49
%51 = load i8, ptr %9, align 1
%52 = add i8 %51, 1
store i8 %52, ptr %9, align 1
%53 = load i8, ptr %9, align 1
%54 = sext i8 %53 to i32
%55 = load i8, ptr %5, align 1
%56 = sext i8 %55 to i32
%57 = icmp slt i32 %54, %56
br i1 %57, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %58
58: ; preds = %._crit_edge, %18
br label %59
59: ; preds = %58
%60 = load i8, ptr %8, align 1
%61 = add i8 %60, 1
store i8 %61, ptr %8, align 1
%62 = load i8, ptr %8, align 1
%63 = sext i8 %62 to i32
%64 = load i8, ptr %4, align 1
%65 = sext i8 %64 to i32
%66 = icmp slt i32 %63, %65
br i1 %66, label %18, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %59
br label %67
67: ; preds = %._crit_edge3, %3
%68 = load ptr, ptr %7, align 8
ret ptr %68
}
declare ptr @createMatrix(i8 noundef signext, 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/tmp5z7ah332.c'
source_filename = "/tmp/tmp5z7ah332.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [247 x i8] c"Create Table Database(ID Int PRIMARY KEY NOT NULL,IsAdmin Int NOT NULL,Username Text NOT NULL,Password Char(100) NOT NULL);Insert into Database values (1, 1, 'admin', '123456'); \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @createDatabase(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @sqlite3_open(ptr noundef %6, ptr noundef %3)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @openDBResponse(i32 noundef %8)
store ptr @.str, ptr %5, align 8
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @executeSQLCommand(ptr noundef %10, ptr noundef %11)
store i32 %12, ptr %4, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @sqlite3_close(ptr noundef %13)
ret void
}
declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1
declare i32 @openDBResponse(i32 noundef) #1
declare i32 @executeSQLCommand(ptr noundef, ptr noundef) #1
declare i32 @sqlite3_close(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5z7ah332.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [247 x i8] c"Create Table Database(ID Int PRIMARY KEY NOT NULL,IsAdmin Int NOT NULL,Username Text NOT NULL,Password Char(100) NOT NULL);Insert into Database values (1, 1, 'admin', '123456'); \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @createDatabase(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @sqlite3_open(ptr noundef %6, ptr noundef %3)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @openDBResponse(i32 noundef %8)
store ptr @.str, ptr %5, align 8
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @executeSQLCommand(ptr noundef %10, ptr noundef %11)
store i32 %12, ptr %4, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @sqlite3_close(ptr noundef %13)
ret void
}
declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1
declare i32 @openDBResponse(i32 noundef) #1
declare i32 @executeSQLCommand(ptr noundef, ptr noundef) #1
declare i32 @sqlite3_close(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2tw1an_g.c'
source_filename = "/tmp/tmp2tw1an_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
br label %4
4: ; preds = %45, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %46
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %25
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = icmp ne i32 %12, 32
br i1 %13, label %14, label %24
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = icmp ne i32 %15, 8
br i1 %16, label %17, label %24
17: ; preds = %14
%18 = load i32, ptr %2, align 4
%19 = icmp ne i32 %18, 9
br i1 %19, label %20, label %24
20: ; preds = %17
store i32 0, ptr %3, align 4
%21 = load i32, ptr %2, align 4
%22 = trunc i32 %21 to i8
%23 = call i32 @putchar(i8 noundef signext %22)
br label %24
24: ; preds = %20, %17, %14, %11
br label %45
25: ; preds = %8
%26 = load i32, ptr %3, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %44
28: ; preds = %25
%29 = load i32, ptr %2, align 4
%30 = icmp ne i32 %29, 32
br i1 %30, label %31, label %41
31: ; preds = %28
%32 = load i32, ptr %2, align 4
%33 = icmp ne i32 %32, 8
br i1 %33, label %34, label %41
34: ; preds = %31
%35 = load i32, ptr %2, align 4
%36 = icmp ne i32 %35, 9
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load i32, ptr %2, align 4
%39 = trunc i32 %38 to i8
%40 = call i32 @putchar(i8 noundef signext %39)
br label %43
41: ; preds = %34, %31, %28
%42 = call i32 @putchar(i8 noundef signext 10)
store i32 1, ptr %3, align 4
br label %43
43: ; preds = %41, %37
br label %44
44: ; preds = %43, %25
br label %45
45: ; preds = %44, %24
br label %4, !llvm.loop !6
46: ; preds = %4
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2tw1an_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph, label %48
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %44
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %24
10: ; preds = %7
%11 = load i32, ptr %2, align 4
%12 = icmp ne i32 %11, 32
br i1 %12, label %13, label %23
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = icmp ne i32 %14, 8
br i1 %15, label %16, label %23
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = icmp ne i32 %17, 9
br i1 %18, label %19, label %23
19: ; preds = %16
store i32 0, ptr %3, align 4
%20 = load i32, ptr %2, align 4
%21 = trunc i32 %20 to i8
%22 = call i32 @putchar(i8 noundef signext %21)
br label %23
23: ; preds = %19, %16, %13, %10
br label %44
24: ; preds = %7
%25 = load i32, ptr %3, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %43
27: ; preds = %24
%28 = load i32, ptr %2, align 4
%29 = icmp ne i32 %28, 32
br i1 %29, label %30, label %40
30: ; preds = %27
%31 = load i32, ptr %2, align 4
%32 = icmp ne i32 %31, 8
br i1 %32, label %33, label %40
33: ; preds = %30
%34 = load i32, ptr %2, align 4
%35 = icmp ne i32 %34, 9
br i1 %35, label %36, label %40
36: ; preds = %33
%37 = load i32, ptr %2, align 4
%38 = trunc i32 %37 to i8
%39 = call i32 @putchar(i8 noundef signext %38)
br label %42
40: ; preds = %33, %30, %27
%41 = call i32 @putchar(i8 noundef signext 10)
store i32 1, ptr %3, align 4
br label %42
42: ; preds = %40, %36
br label %43
43: ; preds = %42, %24
br label %44
44: ; preds = %43, %23
%45 = call i32 (...) @getchar()
store i32 %45, ptr %2, align 4
%46 = load i32, ptr @EOF, align 4
%47 = icmp ne i32 %45, %46
br i1 %47, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %48
48: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj4fej7w_.c'
source_filename = "/tmp/tmpj4fej7w_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Pon el tiempo de estacionamiento: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"El coste total de %.2f h. estacionado es %.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"El coche no puede estar m\C3\A1s de 24h\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pause\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 float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store float 1.000000e+00, ptr %3, align 4
br label %4
4: ; preds = %20, %0
%5 = load float, ptr %3, align 4
%6 = fcmp une float %5, 0.000000e+00
br i1 %6, label %7, label %23
7: ; preds = %4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %3)
%10 = load float, ptr %3, align 4
%11 = fcmp ole float %10, 2.400000e+01
br i1 %11, label %12, label %18
12: ; preds = %7
%13 = load float, ptr %3, align 4
%14 = fpext float %13 to double
%15 = load float, ptr %3, align 4
%16 = call double @calculaCargo(float noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %14, double noundef %16)
br label %20
18: ; preds = %7
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %20
20: ; preds = %18, %12
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
br label %4, !llvm.loop !6
23: ; preds = %4
%24 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf_s(ptr noundef, ptr noundef) #1
declare double @calculaCargo(float noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj4fej7w_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Pon el tiempo de estacionamiento: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"El coste total de %.2f h. estacionado es %.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"El coche no puede estar m\C3\A1s de 24h\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pause\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 float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store float 1.000000e+00, ptr %3, align 4
%4 = load float, ptr %3, align 4
%5 = fcmp une float %4, 0.000000e+00
br i1 %5, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %19
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %3)
%9 = load float, ptr %3, align 4
%10 = fcmp ole float %9, 2.400000e+01
br i1 %10, label %11, label %17
11: ; preds = %6
%12 = load float, ptr %3, align 4
%13 = fpext float %12 to double
%14 = load float, ptr %3, align 4
%15 = call double @calculaCargo(float noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13, double noundef %15)
br label %19
17: ; preds = %6
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %19
19: ; preds = %17, %11
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
%22 = load float, ptr %3, align 4
%23 = fcmp une float %22, 0.000000e+00
br i1 %23, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %0
%25 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf_s(ptr noundef, ptr noundef) #1
declare double @calculaCargo(float noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2_3zagvv.c'
source_filename = "/tmp/tmp2_3zagvv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 1, ptr %1, align 4
store i32 2, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @check(i32 noundef %3, i32 noundef %4)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @check(i32 noundef %7, i32 noundef %8)
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @check(i32 noundef %11, i32 noundef %12)
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @check(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/tmp2_3zagvv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 1, ptr %1, align 4
store i32 2, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @check(i32 noundef %3, i32 noundef %4)
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @check(i32 noundef %7, i32 noundef %8)
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @check(i32 noundef %11, i32 noundef %12)
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @check(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/tmp0hj_7kpw.c'
source_filename = "/tmp/tmp0hj_7kpw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WToDB(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @log10(double noundef %3) #2
%5 = fmul double 1.000000e+01, %4
ret double %5
}
; Function Attrs: nounwind
declare double @log10(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0hj_7kpw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WToDB(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @log10(double noundef %3) #2
%5 = fmul double 1.000000e+01, %4
ret double %5
}
; Function Attrs: nounwind
declare double @log10(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiv1nbf9d.c'
source_filename = "/tmp/tmpiv1nbf9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %33, %0
%5 = load i32, ptr %1, align 4
%6 = icmp sle i32 %5, 1
br i1 %6, label %7, label %36
7: ; preds = %4
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
%10 = srem i32 %9, 2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %32
12: ; preds = %7
%13 = load i32, ptr %1, align 4
%14 = sub nsw i32 0, %13
%15 = add nsw i32 %14, 3
%16 = sdiv i32 %15, 2
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %1, align 4
%18 = add nsw i32 %17, 9
%19 = sdiv i32 %18, 2
store i32 %19, ptr %3, align 4
%20 = call i32 @hash(i32 noundef 1)
%21 = load i32, ptr %1, align 4
%22 = call i32 @hash(i32 noundef %21)
%23 = load i32, ptr %1, align 4
%24 = sub nsw i32 0, %23
%25 = add nsw i32 %24, 3
%26 = sdiv i32 %25, 2
%27 = call i32 @hash(i32 noundef %26)
%28 = load i32, ptr %1, align 4
%29 = add nsw i32 %28, 9
%30 = sdiv i32 %29, 2
%31 = call i32 @hash(i32 noundef %30)
br label %32
32: ; preds = %12, %7
br label %33
33: ; preds = %32
%34 = load i32, ptr %1, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %1, align 4
br label %4, !llvm.loop !6
36: ; preds = %4
ret void
}
declare i32 @hash(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/tmpiv1nbf9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp sle i32 %4, 1
br i1 %5, label %.lr.ph, label %37
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %32
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
%9 = srem i32 %8, 2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %31
11: ; preds = %6
%12 = load i32, ptr %1, align 4
%13 = sub nsw i32 0, %12
%14 = add nsw i32 %13, 3
%15 = sdiv i32 %14, 2
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %1, align 4
%17 = add nsw i32 %16, 9
%18 = sdiv i32 %17, 2
store i32 %18, ptr %3, align 4
%19 = call i32 @hash(i32 noundef 1)
%20 = load i32, ptr %1, align 4
%21 = call i32 @hash(i32 noundef %20)
%22 = load i32, ptr %1, align 4
%23 = sub nsw i32 0, %22
%24 = add nsw i32 %23, 3
%25 = sdiv i32 %24, 2
%26 = call i32 @hash(i32 noundef %25)
%27 = load i32, ptr %1, align 4
%28 = add nsw i32 %27, 9
%29 = sdiv i32 %28, 2
%30 = call i32 @hash(i32 noundef %29)
br label %31
31: ; preds = %11, %6
br label %32
32: ; preds = %31
%33 = load i32, ptr %1, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %1, align 4
%35 = load i32, ptr %1, align 4
%36 = icmp sle i32 %35, 1
br i1 %36, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %37
37: ; preds = %._crit_edge, %0
ret void
}
declare i32 @hash(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/tmpfrcf5b1b.c'
source_filename = "/tmp/tmpfrcf5b1b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flexarray_append(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 8, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = call ptr @emalloc(i32 noundef 9)
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %5, align 4
%11 = sub nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds ptr, ptr %9, i64 %12
store ptr %8, ptr %13, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %14, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strcpy(ptr noundef %19, ptr noundef %20)
%22 = load ptr, ptr %3, align 8
ret ptr %22
}
declare ptr @emalloc(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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfrcf5b1b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flexarray_append(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 8, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = call ptr @emalloc(i32 noundef 9)
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %5, align 4
%11 = sub nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds ptr, ptr %9, i64 %12
store ptr %8, ptr %13, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %14, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strcpy(ptr noundef %19, ptr noundef %20)
%22 = load ptr, ptr %3, align 8
ret ptr %22
}
declare ptr @emalloc(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"}
|
; ModuleID = '/tmp/tmpykhzsofv.c'
source_filename = "/tmp/tmpykhzsofv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u8_strchr(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
%11 = load ptr, ptr %7, align 8
store i64 0, ptr %11, align 8
br label %12
12: ; preds = %28, %3
%13 = load ptr, ptr %5, align 8
%14 = load i64, ptr %8, align 8
%15 = getelementptr inbounds i8, ptr %13, i64 %14
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %18, label %33
18: ; preds = %12
%19 = load ptr, ptr %5, align 8
%20 = call i64 @u8_nextchar(ptr noundef %19, ptr noundef %8)
store i64 %20, ptr %10, align 8
%21 = load i64, ptr %10, align 8
%22 = load i64, ptr %6, align 8
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %28
24: ; preds = %18
%25 = load ptr, ptr %5, align 8
%26 = load i64, ptr %9, align 8
%27 = getelementptr inbounds i8, ptr %25, i64 %26
store ptr %27, ptr %4, align 8
br label %34
28: ; preds = %18
%29 = load i64, ptr %8, align 8
store i64 %29, ptr %9, align 8
%30 = load ptr, ptr %7, align 8
%31 = load i64, ptr %30, align 8
%32 = add i64 %31, 1
store i64 %32, ptr %30, align 8
br label %12, !llvm.loop !6
33: ; preds = %12
store ptr null, ptr %4, align 8
br label %34
34: ; preds = %33, %24
%35 = load ptr, ptr %4, align 8
ret ptr %35
}
declare i64 @u8_nextchar(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/tmpykhzsofv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u8_strchr(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
%11 = load ptr, ptr %7, align 8
store i64 0, ptr %11, align 8
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %8, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %.lr.ph, label %37
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %27
%18 = load ptr, ptr %5, align 8
%19 = call i64 @u8_nextchar(ptr noundef %18, ptr noundef %8)
store i64 %19, ptr %10, align 8
%20 = load i64, ptr %10, align 8
%21 = load i64, ptr %6, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %23, label %27
23: ; preds = %17
%24 = load ptr, ptr %5, align 8
%25 = load i64, ptr %9, align 8
%26 = getelementptr inbounds i8, ptr %24, i64 %25
store ptr %26, ptr %4, align 8
br label %38
27: ; preds = %17
%28 = load i64, ptr %8, align 8
store i64 %28, ptr %9, align 8
%29 = load ptr, ptr %7, align 8
%30 = load i64, ptr %29, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %29, align 8
%32 = load ptr, ptr %5, align 8
%33 = load i64, ptr %8, align 8
%34 = getelementptr inbounds i8, ptr %32, i64 %33
%35 = load i8, ptr %34, align 1
%36 = icmp ne i8 %35, 0
br i1 %36, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %37
37: ; preds = %._crit_edge, %3
store ptr null, ptr %4, align 8
br label %38
38: ; preds = %37, %23
%39 = load ptr, ptr %4, align 8
ret ptr %39
}
declare i64 @u8_nextchar(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/tmpqfj0l1dn.c'
source_filename = "/tmp/tmpqfj0l1dn.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @util_timeval_cmp(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 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%8 = load i64, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
%11 = load i64, ptr %10, align 8
%12 = icmp slt i64 %8, %11
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %42
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds %struct.timeval, ptr %15, i32 0, i32 0
%17 = load i64, ptr %16, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds %struct.timeval, ptr %18, i32 0, i32 0
%20 = load i64, ptr %19, align 8
%21 = icmp sgt i64 %17, %20
br i1 %21, label %22, label %23
22: ; preds = %14
store i32 1, ptr %3, align 4
br label %42
23: ; preds = %14
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds %struct.timeval, ptr %24, i32 0, i32 1
%26 = load i64, ptr %25, align 8
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds %struct.timeval, ptr %27, i32 0, i32 1
%29 = load i64, ptr %28, align 8
%30 = icmp slt i64 %26, %29
br i1 %30, label %31, label %32
31: ; preds = %23
store i32 -1, ptr %3, align 4
br label %42
32: ; preds = %23
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds %struct.timeval, ptr %33, i32 0, i32 1
%35 = load i64, ptr %34, align 8
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds %struct.timeval, ptr %36, i32 0, i32 1
%38 = load i64, ptr %37, align 8
%39 = icmp sgt i64 %35, %38
br i1 %39, label %40, label %41
40: ; preds = %32
store i32 1, ptr %3, align 4
br label %42
41: ; preds = %32
store i32 0, ptr %3, align 4
br label %42
42: ; preds = %41, %40, %31, %22, %13
%43 = load i32, ptr %3, align 4
ret i32 %43
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqfj0l1dn.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @util_timeval_cmp(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 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%8 = load i64, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
%11 = load i64, ptr %10, align 8
%12 = icmp slt i64 %8, %11
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %42
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds %struct.timeval, ptr %15, i32 0, i32 0
%17 = load i64, ptr %16, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds %struct.timeval, ptr %18, i32 0, i32 0
%20 = load i64, ptr %19, align 8
%21 = icmp sgt i64 %17, %20
br i1 %21, label %22, label %23
22: ; preds = %14
store i32 1, ptr %3, align 4
br label %42
23: ; preds = %14
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds %struct.timeval, ptr %24, i32 0, i32 1
%26 = load i64, ptr %25, align 8
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds %struct.timeval, ptr %27, i32 0, i32 1
%29 = load i64, ptr %28, align 8
%30 = icmp slt i64 %26, %29
br i1 %30, label %31, label %32
31: ; preds = %23
store i32 -1, ptr %3, align 4
br label %42
32: ; preds = %23
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds %struct.timeval, ptr %33, i32 0, i32 1
%35 = load i64, ptr %34, align 8
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds %struct.timeval, ptr %36, i32 0, i32 1
%38 = load i64, ptr %37, align 8
%39 = icmp sgt i64 %35, %38
br i1 %39, label %40, label %41
40: ; preds = %32
store i32 1, ptr %3, align 4
br label %42
41: ; preds = %32
store i32 0, ptr %3, align 4
br label %42
42: ; preds = %41, %40, %31, %22, %13
%43 = load i32, ptr %3, align 4
ret i32 %43
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9hqosz7x.c'
source_filename = "/tmp/tmp9hqosz7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"7^2=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"res=%d, res2=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @simple_square(i32 noundef 7)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %5)
store i32 0, ptr %3, align 4
%7 = call i32 @simple_add(i32 noundef 9, i32 noundef 7, ptr noundef %3)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %9)
ret i32 0
}
declare i32 @simple_square(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @simple_add(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9hqosz7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"7^2=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"res=%d, res2=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @simple_square(i32 noundef 7)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %5)
store i32 0, ptr %3, align 4
%7 = call i32 @simple_add(i32 noundef 9, i32 noundef 7, ptr noundef %3)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %9)
ret i32 0
}
declare i32 @simple_square(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @simple_add(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2dmlcdzc.c'
source_filename = "/tmp/tmp2dmlcdzc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"[ERROR] %s [e:%d]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_error(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [512 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @snprintf(ptr noundef %6, i32 noundef 512, ptr noundef @.str, ptr noundef %7, i32 noundef %8)
%10 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @log_event(ptr noundef %10)
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @log_event(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2dmlcdzc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"[ERROR] %s [e:%d]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_error(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [512 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @snprintf(ptr noundef %6, i32 noundef 512, ptr noundef @.str, ptr noundef %7, i32 noundef %8)
%10 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @log_event(ptr noundef %10)
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @log_event(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvlkrl9h_.c'
source_filename = "/tmp/tmpvlkrl9h_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_le32(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = and i32 %5, 255
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i32, ptr %7, i32 1
store ptr %8, ptr %3, align 8
store i32 %6, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = ashr i32 %9, 8
%11 = and i32 %10, 255
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i32, ptr %12, i32 1
store ptr %13, ptr %3, align 8
store i32 %11, ptr %12, align 4
%14 = load i32, ptr %4, align 4
%15 = ashr i32 %14, 16
%16 = and i32 %15, 255
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i32, ptr %17, i32 1
store ptr %18, ptr %3, align 8
store i32 %16, ptr %17, align 4
%19 = load i32, ptr %4, align 4
%20 = ashr i32 %19, 24
%21 = and i32 %20, 255
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i32, ptr %22, i32 1
store ptr %23, ptr %3, align 8
store i32 %21, ptr %22, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvlkrl9h_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_le32(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = and i32 %5, 255
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i32, ptr %7, i32 1
store ptr %8, ptr %3, align 8
store i32 %6, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = ashr i32 %9, 8
%11 = and i32 %10, 255
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i32, ptr %12, i32 1
store ptr %13, ptr %3, align 8
store i32 %11, ptr %12, align 4
%14 = load i32, ptr %4, align 4
%15 = ashr i32 %14, 16
%16 = and i32 %15, 255
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i32, ptr %17, i32 1
store ptr %18, ptr %3, align 8
store i32 %16, ptr %17, align 4
%19 = load i32, ptr %4, align 4
%20 = ashr i32 %19, 24
%21 = and i32 %20, 255
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i32, ptr %22, i32 1
store ptr %23, ptr %3, align 8
store i32 %21, ptr %22, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphv7qfhpy.c'
source_filename = "/tmp/tmphv7qfhpy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tag2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = ptrtoint ptr %3 to i64
%5 = or i64 %4, 2
ret i64 %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/tmphv7qfhpy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tag2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = ptrtoint ptr %3 to i64
%5 = or i64 %4, 2
ret i64 %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/tmpxfsz1gia.c'
source_filename = "/tmp/tmpxfsz1gia.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_isxdigit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @isxdigit(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %19
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i64 @isupper(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = icmp sge i32 %11, 65
%13 = zext i1 %12 to i32
%14 = call i32 @clang_analyzer_eval(i32 noundef %13)
%15 = load i32, ptr %2, align 4
%16 = icmp sle i32 %15, 70
%17 = zext i1 %16 to i32
%18 = call i32 @clang_analyzer_eval(i32 noundef %17)
br label %19
19: ; preds = %10, %6, %1
ret void
}
declare i64 @isxdigit(i32 noundef) #1
declare i64 @isupper(i32 noundef) #1
declare i32 @clang_analyzer_eval(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxfsz1gia.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_isxdigit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i64 @isxdigit(i32 noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %19
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i64 @isupper(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = icmp sge i32 %11, 65
%13 = zext i1 %12 to i32
%14 = call i32 @clang_analyzer_eval(i32 noundef %13)
%15 = load i32, ptr %2, align 4
%16 = icmp sle i32 %15, 70
%17 = zext i1 %16 to i32
%18 = call i32 @clang_analyzer_eval(i32 noundef %17)
br label %19
19: ; preds = %10, %6, %1
ret void
}
declare i64 @isxdigit(i32 noundef) #1
declare i64 @isupper(i32 noundef) #1
declare i32 @clang_analyzer_eval(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphlfty7mi.c'
source_filename = "/tmp/tmphlfty7mi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@XCB_ATOM_ATOM = dso_local global i32 0, align 4
@UINT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xcb_icccm_get_wm_protocols_unchecked(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr @XCB_ATOM_ATOM, align 4
%11 = load i32, ptr @UINT_MAX, align 4
%12 = call i32 @xcb_get_property_unchecked(ptr noundef %7, i32 noundef 0, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef 0, i32 noundef %11)
ret i32 %12
}
declare i32 @xcb_get_property_unchecked(ptr noundef, i32 noundef, i32 noundef, 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/tmphlfty7mi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@XCB_ATOM_ATOM = dso_local global i32 0, align 4
@UINT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xcb_icccm_get_wm_protocols_unchecked(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr @XCB_ATOM_ATOM, align 4
%11 = load i32, ptr @UINT_MAX, align 4
%12 = call i32 @xcb_get_property_unchecked(ptr noundef %7, i32 noundef 0, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef 0, i32 noundef %11)
ret i32 %12
}
declare i32 @xcb_get_property_unchecked(ptr noundef, i32 noundef, i32 noundef, 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/tmp_gqw6j2o.c'
source_filename = "/tmp/tmp_gqw6j2o.c"
target datalayout = "e-m:e-p270: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_gqw6j2o.c"
target datalayout = "e-m:e-p270: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/tmppxewn8o6.c'
source_filename = "/tmp/tmppxewn8o6.c"
target datalayout = "e-m:e-p270: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/tmppxewn8o6.c"
target datalayout = "e-m:e-p270: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/tmpku8ghyvx.c'
source_filename = "/tmp/tmpku8ghyvx.c"
target datalayout = "e-m:e-p270: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/tmpku8ghyvx.c"
target datalayout = "e-m:e-p270: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/tmpk696xnd6.c'
source_filename = "/tmp/tmpk696xnd6.c"
target datalayout = "e-m:e-p270: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/tmpk696xnd6.c"
target datalayout = "e-m:e-p270: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/tmpf4rudw38.c'
source_filename = "/tmp/tmpf4rudw38.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sif_platform_rescan_card(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 @rk29sdk_wifi_set_carddetect(i32 noundef %3)
ret void
}
declare i32 @rk29sdk_wifi_set_carddetect(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/tmpf4rudw38.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sif_platform_rescan_card(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 @rk29sdk_wifi_set_carddetect(i32 noundef %3)
ret void
}
declare i32 @rk29sdk_wifi_set_carddetect(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/tmpq7y672v5.c'
source_filename = "/tmp/tmpq7y672v5.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32, i32, i32 }
@.str = private unnamed_addr constant [10 x i8] c"restless\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @msleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.timespec, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 12, i1 false)
%5 = load i32, ptr %2, align 4
%6 = udiv i32 %5, 1000
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %4, align 4
%9 = mul nsw i32 %8, 1000
%10 = sub i32 %7, %9
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %4, align 4
%12 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 %11, ptr %12, align 4
%13 = load i32, ptr %2, align 4
%14 = zext i32 %13 to i64
%15 = mul nsw i64 %14, 1000000
%16 = trunc i64 %15 to i32
%17 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i32 %16, ptr %17, align 4
br label %18
18: ; preds = %21, %1
%19 = call i32 @nanosleep(ptr noundef %3, ptr noundef %3)
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 @printf(ptr noundef @.str)
br label %18, !llvm.loop !6
23: ; preds = %18
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @nanosleep(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq7y672v5.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32, i32, i32 }
@.str = private unnamed_addr constant [10 x i8] c"restless\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @msleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.timespec, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 12, i1 false)
%5 = load i32, ptr %2, align 4
%6 = udiv i32 %5, 1000
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %4, align 4
%9 = mul nsw i32 %8, 1000
%10 = sub i32 %7, %9
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %4, align 4
%12 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 %11, ptr %12, align 4
%13 = load i32, ptr %2, align 4
%14 = zext i32 %13 to i64
%15 = mul nsw i64 %14, 1000000
%16 = trunc i64 %15 to i32
%17 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i32 %16, ptr %17, align 4
%18 = call i32 @nanosleep(ptr noundef %3, ptr noundef %3)
%19 = icmp eq i32 %18, -1
br i1 %19, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %20
20: ; preds = %.lr.ph, %20
%21 = call i32 @printf(ptr noundef @.str)
%22 = call i32 @nanosleep(ptr noundef %3, ptr noundef %3)
%23 = icmp eq i32 %22, -1
br i1 %23, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %24
24: ; preds = %._crit_edge, %1
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @nanosleep(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqc8s27qa.c'
source_filename = "/tmp/tmpqc8s27qa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf %lf\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"invalid\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %0, %24
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%6 = load double, ptr %2, align 8
%7 = fcmp olt double %6, 0.000000e+00
br i1 %7, label %8, label %9
8: ; preds = %4
br label %25
9: ; preds = %4
%10 = load double, ptr %3, align 8
%11 = fcmp ogt double %10, 1.000000e+02
br i1 %11, label %15, label %12
12: ; preds = %9
%13 = load double, ptr %3, align 8
%14 = fcmp olt double %13, 0.000000e+00
br i1 %14, label %15, label %17
15: ; preds = %12, %9
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %24
17: ; preds = %12
%18 = load double, ptr %2, align 8
%19 = load double, ptr %3, align 8
%20 = fsub double 1.000000e+02, %19
%21 = fdiv double %20, 1.000000e+02
%22 = fmul double %18, %21
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %22)
br label %24
24: ; preds = %17, %15
br label %4
25: ; preds = %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqc8s27qa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf %lf\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"invalid\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load double, ptr %2, align 8
%6 = fcmp olt double %5, 0.000000e+00
br i1 %6, label %7, label %.lr.ph
.lr.ph: ; preds = %0
br label %8
._crit_edge: ; preds = %23
br label %7
7: ; preds = %._crit_edge, %0
br label %27
8: ; preds = %.lr.ph, %23
%9 = load double, ptr %3, align 8
%10 = fcmp ogt double %9, 1.000000e+02
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = load double, ptr %3, align 8
%13 = fcmp olt double %12, 0.000000e+00
br i1 %13, label %14, label %16
14: ; preds = %11, %8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %23
16: ; preds = %11
%17 = load double, ptr %2, align 8
%18 = load double, ptr %3, align 8
%19 = fsub double 1.000000e+02, %18
%20 = fdiv double %19, 1.000000e+02
%21 = fmul double %17, %20
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %21)
br label %23
23: ; preds = %16, %14
%24 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%25 = load double, ptr %2, align 8
%26 = fcmp olt double %25, 0.000000e+00
br i1 %26, label %._crit_edge, label %8
27: ; preds = %7
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn3e9mac9.c'
source_filename = "/tmp/tmpn3e9mac9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Hex2Bin(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [3 x i8], align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %25, %2
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sdiv i32 %10, 2
%12 = icmp slt i32 %8, %11
br i1 %12, label %13, label %28
13: ; preds = %7
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = mul nsw i32 %15, 2
%17 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%18 = call i32 @Substring(ptr noundef %14, i32 noundef %16, i32 noundef 2, ptr noundef %17)
%19 = call i64 @strToHex(i32 noundef %18)
%20 = trunc i64 %19 to i8
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 %20, ptr %24, align 1
br label %25
25: ; preds = %13
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
br label %7, !llvm.loop !6
28: ; preds = %7
%29 = load ptr, ptr %4, align 8
ret ptr %29
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strToHex(i32 noundef) #1
declare i32 @Substring(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn3e9mac9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Hex2Bin(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [3 x i8], align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = sdiv i32 %9, 2
%11 = icmp slt i32 %7, %10
br i1 %11, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %24
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = mul nsw i32 %14, 2
%16 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0
%17 = call i32 @Substring(ptr noundef %13, i32 noundef %15, i32 noundef 2, ptr noundef %16)
%18 = call i64 @strToHex(i32 noundef %17)
%19 = trunc i64 %18 to i8
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store i8 %19, ptr %23, align 1
br label %24
24: ; preds = %12
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = load ptr, ptr %3, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = sdiv i32 %29, 2
%31 = icmp slt i32 %27, %30
br i1 %31, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %32
32: ; preds = %._crit_edge, %2
%33 = load ptr, ptr %4, align 8
ret ptr %33
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strToHex(i32 noundef) #1
declare i32 @Substring(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6uu6m7ff.c'
source_filename = "/tmp/tmp6uu6m7ff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mapGenerator(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %6, align 4
%7 = call i32 @time(ptr noundef null)
%8 = call i32 @srand(i32 noundef %7)
br label %9
9: ; preds = %12, %1
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 30
br i1 %11, label %12, label %29
12: ; preds = %9
%13 = call i32 (...) @rand()
%14 = srem i32 %13, 7
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = call i32 (...) @rand()
%17 = srem i32 %16, 7
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
store i8 32, ptr %26, align 1
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
br label %9, !llvm.loop !6
29: ; preds = %9
%30 = call i32 (...) @rand()
%31 = srem i32 %30, 6
%32 = add nsw i32 %31, 2
store i32 %32, ptr %4, align 4
%33 = call i32 (...) @rand()
%34 = srem i32 %33, 6
%35 = add nsw i32 %34, 2
store i32 %35, ptr %5, align 4
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 4
%38 = load ptr, ptr %37, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 4
store i8 88, ptr %39, align 1
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 4
%42 = load ptr, ptr %41, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 5
store i8 32, ptr %43, align 1
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 5
%46 = load ptr, ptr %45, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 4
store i8 32, ptr %47, align 1
%48 = load ptr, ptr %3, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 3
%50 = load ptr, ptr %49, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 4
store i8 32, ptr %51, align 1
%52 = load ptr, ptr %3, align 8
%53 = getelementptr inbounds ptr, ptr %52, i64 4
%54 = load ptr, ptr %53, align 8
%55 = getelementptr inbounds i8, ptr %54, i64 3
store i8 32, ptr %55, align 1
%56 = load ptr, ptr %3, align 8
%57 = load i32, ptr %4, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i32, ptr %5, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store i8 42, ptr %63, align 1
%64 = load i32, ptr %2, align 4
ret i32 %64
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6uu6m7ff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mapGenerator(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %6, align 4
%7 = call i32 @time(ptr noundef null)
%8 = call i32 @srand(i32 noundef %7)
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %9, 30
br i1 %10, label %.lr.ph, label %30
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %11
%12 = call i32 (...) @rand()
%13 = srem i32 %12, 7
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
%15 = call i32 (...) @rand()
%16 = srem i32 %15, 7
%17 = add nsw i32 %16, 1
store i32 %17, ptr %5, align 4
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
store i8 32, ptr %25, align 1
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %28, 30
br i1 %29, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %30
30: ; preds = %._crit_edge, %1
%31 = call i32 (...) @rand()
%32 = srem i32 %31, 6
%33 = add nsw i32 %32, 2
store i32 %33, ptr %4, align 4
%34 = call i32 (...) @rand()
%35 = srem i32 %34, 6
%36 = add nsw i32 %35, 2
store i32 %36, ptr %5, align 4
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 4
%39 = load ptr, ptr %38, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 4
store i8 88, ptr %40, align 1
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 4
%43 = load ptr, ptr %42, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 5
store i8 32, ptr %44, align 1
%45 = load ptr, ptr %3, align 8
%46 = getelementptr inbounds ptr, ptr %45, i64 5
%47 = load ptr, ptr %46, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 4
store i8 32, ptr %48, align 1
%49 = load ptr, ptr %3, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 3
%51 = load ptr, ptr %50, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 4
store i8 32, ptr %52, align 1
%53 = load ptr, ptr %3, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 4
%55 = load ptr, ptr %54, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 3
store i8 32, ptr %56, align 1
%57 = load ptr, ptr %3, align 8
%58 = load i32, ptr %4, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = load i32, ptr %5, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
store i8 42, ptr %64, align 1
%65 = load i32, ptr %2, align 4
ret i32 %65
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6_ppv2p1.c'
source_filename = "/tmp/tmp6_ppv2p1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBDevEndpointStatusClear(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1074069504
%9 = zext i1 %8 to i32
%10 = call i32 @ASSERT(i32 noundef %9)
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %34, label %13
13: ; preds = %3
%14 = load i32, ptr %5, align 4
%15 = icmp eq i32 %14, 16
br i1 %15, label %34, label %16
16: ; preds = %13
%17 = load i32, ptr %5, align 4
%18 = icmp eq i32 %17, 32
br i1 %18, label %34, label %19
19: ; preds = %16
%20 = load i32, ptr %5, align 4
%21 = icmp eq i32 %20, 48
br i1 %21, label %34, label %22
22: ; preds = %19
%23 = load i32, ptr %5, align 4
%24 = icmp eq i32 %23, 64
br i1 %24, label %34, label %25
25: ; preds = %22
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 %26, 80
br i1 %27, label %34, label %28
28: ; preds = %25
%29 = load i32, ptr %5, align 4
%30 = icmp eq i32 %29, 96
br i1 %30, label %34, label %31
31: ; preds = %28
%32 = load i32, ptr %5, align 4
%33 = icmp eq i32 %32, 112
br label %34
34: ; preds = %31, %28, %25, %22, %19, %16, %13, %3
%35 = phi i1 [ true, %28 ], [ true, %25 ], [ true, %22 ], [ true, %19 ], [ true, %16 ], [ true, %13 ], [ true, %3 ], [ %33, %31 ]
%36 = zext i1 %35 to i32
%37 = call i32 @ASSERT(i32 noundef %36)
%38 = load i32, ptr %5, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %74
40: ; preds = %34
%41 = load i32, ptr %6, align 4
%42 = and i32 %41, 1
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %51
44: ; preds = %40
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 258
%47 = sext i32 %46 to i64
%48 = inttoptr i64 %47 to ptr
%49 = load volatile i32, ptr %48, align 4
%50 = or i32 %49, 64
store volatile i32 %50, ptr %48, align 4
br label %51
51: ; preds = %44, %40
%52 = load i32, ptr %6, align 4
%53 = and i32 %52, 16
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %51
%56 = load i32, ptr %4, align 4
%57 = add nsw i32 %56, 258
%58 = sext i32 %57 to i64
%59 = inttoptr i64 %58 to ptr
%60 = load volatile i32, ptr %59, align 4
%61 = or i32 %60, 128
store volatile i32 %61, ptr %59, align 4
br label %62
62: ; preds = %55, %51
%63 = load i32, ptr %6, align 4
%64 = and i32 %63, 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %73
66: ; preds = %62
%67 = load i32, ptr %4, align 4
%68 = add nsw i32 %67, 258
%69 = sext i32 %68 to i64
%70 = inttoptr i64 %69 to ptr
%71 = load volatile i32, ptr %70, align 4
%72 = and i32 %71, -5
store volatile i32 %72, ptr %70, align 4
br label %73
73: ; preds = %66, %62
br label %100
74: ; preds = %34
%75 = load i32, ptr %6, align 4
%76 = and i32 %75, 36
%77 = xor i32 %76, -1
%78 = load i32, ptr %4, align 4
%79 = add nsw i32 %78, 274
%80 = load i32, ptr %5, align 4
%81 = sub nsw i32 %80, 16
%82 = add nsw i32 %79, %81
%83 = sext i32 %82 to i64
%84 = inttoptr i64 %83 to ptr
%85 = load volatile i32, ptr %84, align 4
%86 = and i32 %85, %77
store volatile i32 %86, ptr %84, align 4
%87 = load i32, ptr %6, align 4
%88 = and i32 %87, 4980736
%89 = ashr i32 %88, 16
%90 = xor i32 %89, -1
%91 = load i32, ptr %4, align 4
%92 = add nsw i32 %91, 278
%93 = load i32, ptr %5, align 4
%94 = sub nsw i32 %93, 16
%95 = add nsw i32 %92, %94
%96 = sext i32 %95 to i64
%97 = inttoptr i64 %96 to ptr
%98 = load volatile i32, ptr %97, align 4
%99 = and i32 %98, %90
store volatile i32 %99, ptr %97, align 4
br label %100
100: ; preds = %74, %73
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6_ppv2p1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBDevEndpointStatusClear(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1074069504
%9 = zext i1 %8 to i32
%10 = call i32 @ASSERT(i32 noundef %9)
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %34, label %13
13: ; preds = %3
%14 = load i32, ptr %5, align 4
%15 = icmp eq i32 %14, 16
br i1 %15, label %34, label %16
16: ; preds = %13
%17 = load i32, ptr %5, align 4
%18 = icmp eq i32 %17, 32
br i1 %18, label %34, label %19
19: ; preds = %16
%20 = load i32, ptr %5, align 4
%21 = icmp eq i32 %20, 48
br i1 %21, label %34, label %22
22: ; preds = %19
%23 = load i32, ptr %5, align 4
%24 = icmp eq i32 %23, 64
br i1 %24, label %34, label %25
25: ; preds = %22
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 %26, 80
br i1 %27, label %34, label %28
28: ; preds = %25
%29 = load i32, ptr %5, align 4
%30 = icmp eq i32 %29, 96
br i1 %30, label %34, label %31
31: ; preds = %28
%32 = load i32, ptr %5, align 4
%33 = icmp eq i32 %32, 112
br label %34
34: ; preds = %31, %28, %25, %22, %19, %16, %13, %3
%35 = phi i1 [ true, %28 ], [ true, %25 ], [ true, %22 ], [ true, %19 ], [ true, %16 ], [ true, %13 ], [ true, %3 ], [ %33, %31 ]
%36 = zext i1 %35 to i32
%37 = call i32 @ASSERT(i32 noundef %36)
%38 = load i32, ptr %5, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %74
40: ; preds = %34
%41 = load i32, ptr %6, align 4
%42 = and i32 %41, 1
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %51
44: ; preds = %40
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 258
%47 = sext i32 %46 to i64
%48 = inttoptr i64 %47 to ptr
%49 = load volatile i32, ptr %48, align 4
%50 = or i32 %49, 64
store volatile i32 %50, ptr %48, align 4
br label %51
51: ; preds = %44, %40
%52 = load i32, ptr %6, align 4
%53 = and i32 %52, 16
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %51
%56 = load i32, ptr %4, align 4
%57 = add nsw i32 %56, 258
%58 = sext i32 %57 to i64
%59 = inttoptr i64 %58 to ptr
%60 = load volatile i32, ptr %59, align 4
%61 = or i32 %60, 128
store volatile i32 %61, ptr %59, align 4
br label %62
62: ; preds = %55, %51
%63 = load i32, ptr %6, align 4
%64 = and i32 %63, 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %73
66: ; preds = %62
%67 = load i32, ptr %4, align 4
%68 = add nsw i32 %67, 258
%69 = sext i32 %68 to i64
%70 = inttoptr i64 %69 to ptr
%71 = load volatile i32, ptr %70, align 4
%72 = and i32 %71, -5
store volatile i32 %72, ptr %70, align 4
br label %73
73: ; preds = %66, %62
br label %100
74: ; preds = %34
%75 = load i32, ptr %6, align 4
%76 = and i32 %75, 36
%77 = xor i32 %76, -1
%78 = load i32, ptr %4, align 4
%79 = add nsw i32 %78, 274
%80 = load i32, ptr %5, align 4
%81 = sub nsw i32 %80, 16
%82 = add nsw i32 %79, %81
%83 = sext i32 %82 to i64
%84 = inttoptr i64 %83 to ptr
%85 = load volatile i32, ptr %84, align 4
%86 = and i32 %85, %77
store volatile i32 %86, ptr %84, align 4
%87 = load i32, ptr %6, align 4
%88 = and i32 %87, 4980736
%89 = ashr i32 %88, 16
%90 = xor i32 %89, -1
%91 = load i32, ptr %4, align 4
%92 = add nsw i32 %91, 278
%93 = load i32, ptr %5, align 4
%94 = sub nsw i32 %93, 16
%95 = add nsw i32 %92, %94
%96 = sext i32 %95 to i64
%97 = inttoptr i64 %96 to ptr
%98 = load volatile i32, ptr %97, align 4
%99 = and i32 %98, %90
store volatile i32 %99, ptr %97, align 4
br label %100
100: ; preds = %74, %73
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn3ont360.c'
source_filename = "/tmp/tmpn3ont360.c"
target datalayout = "e-m:e-p270: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/tmpn3ont360.c"
target datalayout = "e-m:e-p270: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/tmp8s4hoqqq.c'
source_filename = "/tmp/tmp8s4hoqqq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sembuf = type { i32, i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mutex_wait(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sembuf, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = getelementptr inbounds %struct.sembuf, ptr %5, i32 0, i32 0
store i32 %6, ptr %7, align 8
%8 = getelementptr inbounds %struct.sembuf, ptr %5, i32 0, i32 1
store i32 -1, ptr %8, align 4
%9 = getelementptr inbounds %struct.sembuf, ptr %5, i32 0, i32 2
store i64 0, ptr %9, align 8
%10 = load i32, ptr %3, align 4
%11 = call i32 @semop(i32 noundef %10, ptr noundef %5, i32 noundef 1)
ret void
}
declare i32 @semop(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/tmp8s4hoqqq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sembuf = type { i32, i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mutex_wait(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sembuf, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = getelementptr inbounds %struct.sembuf, ptr %5, i32 0, i32 0
store i32 %6, ptr %7, align 8
%8 = getelementptr inbounds %struct.sembuf, ptr %5, i32 0, i32 1
store i32 -1, ptr %8, align 4
%9 = getelementptr inbounds %struct.sembuf, ptr %5, i32 0, i32 2
store i64 0, ptr %9, align 8
%10 = load i32, ptr %3, align 4
%11 = call i32 @semop(i32 noundef %10, ptr noundef %5, i32 noundef 1)
ret void
}
declare i32 @semop(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/tmpwr14qj79.c'
source_filename = "/tmp/tmpwr14qj79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculateNumericalDiffusionJaffre(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca ptr, align 8
%26 = alloca i64, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
store i32 %0, ptr %10, align 4
store i32 %1, ptr %11, align 4
store i32 %2, ptr %12, align 4
store double %3, ptr %13, align 8
store double %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%29 = load i32, ptr %11, align 4
%30 = zext i32 %29 to i64
%31 = call ptr @llvm.stacksave()
store ptr %31, ptr %25, align 8
%32 = alloca double, i64 %30, align 16
store i64 %30, ptr %26, align 8
store i32 0, ptr %19, align 4
br label %33
33: ; preds = %117, %9
%34 = load i32, ptr %19, align 4
%35 = load i32, ptr %10, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %120
37: ; preds = %33
%38 = load ptr, ptr %15, align 8
%39 = load i32, ptr %19, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %38, i64 %40
%42 = load double, ptr %41, align 8
store double %42, ptr %22, align 8
%43 = load double, ptr %22, align 8
%44 = load double, ptr %14, align 8
%45 = fsub double 2.000000e+00, %44
%46 = call double @pow(double noundef %43, double noundef %45) #4
store double %46, ptr %24, align 8
store i32 0, ptr %20, align 4
br label %47
47: ; preds = %75, %37
%48 = load i32, ptr %20, align 4
%49 = load i32, ptr %11, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %78
51: ; preds = %47
%52 = load double, ptr %13, align 8
%53 = load double, ptr %24, align 8
%54 = fmul double %52, %53
%55 = load ptr, ptr %16, align 8
%56 = load i32, ptr %19, align 4
%57 = load i32, ptr %11, align 4
%58 = mul nsw i32 %56, %57
%59 = load i32, ptr %20, align 4
%60 = add nsw i32 %58, %59
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %55, i64 %61
%63 = load double, ptr %62, align 8
%64 = call double @llvm.fabs.f64(double %63)
%65 = fmul double %54, %64
store double %65, ptr %23, align 8
%66 = load double, ptr %23, align 8
%67 = load ptr, ptr %18, align 8
%68 = load i32, ptr %19, align 4
%69 = load i32, ptr %11, align 4
%70 = mul nsw i32 %68, %69
%71 = load i32, ptr %20, align 4
%72 = add nsw i32 %70, %71
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %67, i64 %73
store double %66, ptr %74, align 8
br label %75
75: ; preds = %51
%76 = load i32, ptr %20, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %20, align 4
br label %47, !llvm.loop !6
78: ; preds = %47
store double 0.000000e+00, ptr %28, align 8
store i32 0, ptr %20, align 4
br label %79
79: ; preds = %95, %78
%80 = load i32, ptr %20, align 4
%81 = load i32, ptr %11, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %83, label %98
83: ; preds = %79
%84 = load double, ptr %28, align 8
%85 = load ptr, ptr %18, align 8
%86 = load i32, ptr %19, align 4
%87 = load i32, ptr %11, align 4
%88 = mul nsw i32 %86, %87
%89 = load i32, ptr %20, align 4
%90 = add nsw i32 %88, %89
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, ptr %85, i64 %91
%93 = load double, ptr %92, align 8
%94 = call double @llvm.maxnum.f64(double %84, double %93)
store double %94, ptr %28, align 8
br label %95
95: ; preds = %83
%96 = load i32, ptr %20, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %20, align 4
br label %79, !llvm.loop !8
98: ; preds = %79
store i32 0, ptr %20, align 4
br label %99
99: ; preds = %113, %98
%100 = load i32, ptr %20, align 4
%101 = load i32, ptr %11, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %103, label %116
103: ; preds = %99
%104 = load double, ptr %28, align 8
%105 = load ptr, ptr %18, align 8
%106 = load i32, ptr %19, align 4
%107 = load i32, ptr %11, align 4
%108 = mul nsw i32 %106, %107
%109 = load i32, ptr %20, align 4
%110 = add nsw i32 %108, %109
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double, ptr %105, i64 %111
store double %104, ptr %112, align 8
br label %113
113: ; preds = %103
%114 = load i32, ptr %20, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %20, align 4
br label %99, !llvm.loop !9
116: ; preds = %99
br label %117
117: ; preds = %116
%118 = load i32, ptr %19, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %19, align 4
br label %33, !llvm.loop !10
120: ; preds = %33
%121 = load ptr, ptr %25, align 8
call void @llvm.stackrestore(ptr %121)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.maxnum.f64(double, double) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwr14qj79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculateNumericalDiffusionJaffre(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca ptr, align 8
%26 = alloca i64, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
store i32 %0, ptr %10, align 4
store i32 %1, ptr %11, align 4
store i32 %2, ptr %12, align 4
store double %3, ptr %13, align 8
store double %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%29 = load i32, ptr %11, align 4
%30 = zext i32 %29 to i64
%31 = call ptr @llvm.stacksave()
store ptr %31, ptr %25, align 8
%32 = alloca double, i64 %30, align 16
store i64 %30, ptr %26, align 8
store i32 0, ptr %19, align 4
%33 = load i32, ptr %19, align 4
%34 = load i32, ptr %10, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph8, label %128
.lr.ph8: ; preds = %9
br label %36
36: ; preds = %.lr.ph8, %122
%37 = load ptr, ptr %15, align 8
%38 = load i32, ptr %19, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %37, i64 %39
%41 = load double, ptr %40, align 8
store double %41, ptr %22, align 8
%42 = load double, ptr %22, align 8
%43 = load double, ptr %14, align 8
%44 = fsub double 2.000000e+00, %43
%45 = call double @pow(double noundef %42, double noundef %44) #4
store double %45, ptr %24, align 8
store i32 0, ptr %20, align 4
%46 = load i32, ptr %20, align 4
%47 = load i32, ptr %11, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %.lr.ph, label %79
.lr.ph: ; preds = %36
br label %49
49: ; preds = %.lr.ph, %73
%50 = load double, ptr %13, align 8
%51 = load double, ptr %24, align 8
%52 = fmul double %50, %51
%53 = load ptr, ptr %16, align 8
%54 = load i32, ptr %19, align 4
%55 = load i32, ptr %11, align 4
%56 = mul nsw i32 %54, %55
%57 = load i32, ptr %20, align 4
%58 = add nsw i32 %56, %57
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %53, i64 %59
%61 = load double, ptr %60, align 8
%62 = call double @llvm.fabs.f64(double %61)
%63 = fmul double %52, %62
store double %63, ptr %23, align 8
%64 = load double, ptr %23, align 8
%65 = load ptr, ptr %18, align 8
%66 = load i32, ptr %19, align 4
%67 = load i32, ptr %11, align 4
%68 = mul nsw i32 %66, %67
%69 = load i32, ptr %20, align 4
%70 = add nsw i32 %68, %69
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %65, i64 %71
store double %64, ptr %72, align 8
br label %73
73: ; preds = %49
%74 = load i32, ptr %20, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %20, align 4
%76 = load i32, ptr %20, align 4
%77 = load i32, ptr %11, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %49, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %73
br label %79
79: ; preds = %._crit_edge, %36
store double 0.000000e+00, ptr %28, align 8
store i32 0, ptr %20, align 4
%80 = load i32, ptr %20, align 4
%81 = load i32, ptr %11, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %.lr.ph2, label %101
.lr.ph2: ; preds = %79
br label %83
83: ; preds = %.lr.ph2, %95
%84 = load double, ptr %28, align 8
%85 = load ptr, ptr %18, align 8
%86 = load i32, ptr %19, align 4
%87 = load i32, ptr %11, align 4
%88 = mul nsw i32 %86, %87
%89 = load i32, ptr %20, align 4
%90 = add nsw i32 %88, %89
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, ptr %85, i64 %91
%93 = load double, ptr %92, align 8
%94 = call double @llvm.maxnum.f64(double %84, double %93)
store double %94, ptr %28, align 8
br label %95
95: ; preds = %83
%96 = load i32, ptr %20, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %20, align 4
%98 = load i32, ptr %20, align 4
%99 = load i32, ptr %11, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %83, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %95
br label %101
101: ; preds = %._crit_edge3, %79
store i32 0, ptr %20, align 4
%102 = load i32, ptr %20, align 4
%103 = load i32, ptr %11, align 4
%104 = icmp slt i32 %102, %103
br i1 %104, label %.lr.ph5, label %121
.lr.ph5: ; preds = %101
br label %105
105: ; preds = %.lr.ph5, %115
%106 = load double, ptr %28, align 8
%107 = load ptr, ptr %18, align 8
%108 = load i32, ptr %19, align 4
%109 = load i32, ptr %11, align 4
%110 = mul nsw i32 %108, %109
%111 = load i32, ptr %20, align 4
%112 = add nsw i32 %110, %111
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds double, ptr %107, i64 %113
store double %106, ptr %114, align 8
br label %115
115: ; preds = %105
%116 = load i32, ptr %20, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %20, align 4
%118 = load i32, ptr %20, align 4
%119 = load i32, ptr %11, align 4
%120 = icmp slt i32 %118, %119
br i1 %120, label %105, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %115
br label %121
121: ; preds = %._crit_edge6, %101
br label %122
122: ; preds = %121
%123 = load i32, ptr %19, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %19, align 4
%125 = load i32, ptr %19, align 4
%126 = load i32, ptr %10, align 4
%127 = icmp slt i32 %125, %126
br i1 %127, label %36, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %122
br label %128
128: ; preds = %._crit_edge9, %9
%129 = load ptr, ptr %25, align 8
call void @llvm.stackrestore(ptr %129)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.maxnum.f64(double, double) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp8w10zvv4.c'
source_filename = "/tmp/tmp8w10zvv4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %0
%3 = call i32 @w1(i32 noundef 0)
br label %4
4: ; preds = %2
%5 = call i32 @w2(i32 noundef 0)
br label %6
6: ; preds = %4
%7 = call i32 @w3(i32 noundef 0)
br label %8
8: ; preds = %6
%9 = call i32 @r1(i32 noundef 0)
br label %10
10: ; preds = %8
%11 = call i32 @r2(i32 noundef 0)
br label %12
12: ; preds = %10
%13 = call i32 @r3(i32 noundef 0)
br label %14
14: ; preds = %12
%15 = call i32 @r4(i32 noundef 0)
br label %16
16: ; preds = %14
%17 = call i32 @r5(i32 noundef 0)
br label %18
18: ; preds = %16
%19 = call i32 @r6(i32 noundef 0)
br label %20
20: ; preds = %18
%21 = call i32 @r7(i32 noundef 0)
br label %22
22: ; preds = %20
%23 = call i32 @r8(i32 noundef 0)
br label %24
24: ; preds = %22
%25 = call i32 @r9(i32 noundef 0)
br label %26
26: ; preds = %24
%27 = call i32 @r10(i32 noundef 0)
br label %28
28: ; preds = %26
%29 = call i32 @r11(i32 noundef 0)
br label %30
30: ; preds = %28
%31 = call i32 @r12(i32 noundef 0)
br label %32
32: ; preds = %30
%33 = call i32 @r13(i32 noundef 0)
br label %34
34: ; preds = %32
%35 = call i32 @r14(i32 noundef 0)
br label %36
36: ; preds = %34
%37 = call i32 @r15(i32 noundef 0)
ret i32 0
}
declare i32 @w1(i32 noundef) #1
declare i32 @w2(i32 noundef) #1
declare i32 @w3(i32 noundef) #1
declare i32 @r1(i32 noundef) #1
declare i32 @r2(i32 noundef) #1
declare i32 @r3(i32 noundef) #1
declare i32 @r4(i32 noundef) #1
declare i32 @r5(i32 noundef) #1
declare i32 @r6(i32 noundef) #1
declare i32 @r7(i32 noundef) #1
declare i32 @r8(i32 noundef) #1
declare i32 @r9(i32 noundef) #1
declare i32 @r10(i32 noundef) #1
declare i32 @r11(i32 noundef) #1
declare i32 @r12(i32 noundef) #1
declare i32 @r13(i32 noundef) #1
declare i32 @r14(i32 noundef) #1
declare i32 @r15(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/tmp8w10zvv4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %0
%3 = call i32 @w1(i32 noundef 0)
br label %4
4: ; preds = %2
%5 = call i32 @w2(i32 noundef 0)
br label %6
6: ; preds = %4
%7 = call i32 @w3(i32 noundef 0)
br label %8
8: ; preds = %6
%9 = call i32 @r1(i32 noundef 0)
br label %10
10: ; preds = %8
%11 = call i32 @r2(i32 noundef 0)
br label %12
12: ; preds = %10
%13 = call i32 @r3(i32 noundef 0)
br label %14
14: ; preds = %12
%15 = call i32 @r4(i32 noundef 0)
br label %16
16: ; preds = %14
%17 = call i32 @r5(i32 noundef 0)
br label %18
18: ; preds = %16
%19 = call i32 @r6(i32 noundef 0)
br label %20
20: ; preds = %18
%21 = call i32 @r7(i32 noundef 0)
br label %22
22: ; preds = %20
%23 = call i32 @r8(i32 noundef 0)
br label %24
24: ; preds = %22
%25 = call i32 @r9(i32 noundef 0)
br label %26
26: ; preds = %24
%27 = call i32 @r10(i32 noundef 0)
br label %28
28: ; preds = %26
%29 = call i32 @r11(i32 noundef 0)
br label %30
30: ; preds = %28
%31 = call i32 @r12(i32 noundef 0)
br label %32
32: ; preds = %30
%33 = call i32 @r13(i32 noundef 0)
br label %34
34: ; preds = %32
%35 = call i32 @r14(i32 noundef 0)
br label %36
36: ; preds = %34
%37 = call i32 @r15(i32 noundef 0)
ret i32 0
}
declare i32 @w1(i32 noundef) #1
declare i32 @w2(i32 noundef) #1
declare i32 @w3(i32 noundef) #1
declare i32 @r1(i32 noundef) #1
declare i32 @r2(i32 noundef) #1
declare i32 @r3(i32 noundef) #1
declare i32 @r4(i32 noundef) #1
declare i32 @r5(i32 noundef) #1
declare i32 @r6(i32 noundef) #1
declare i32 @r7(i32 noundef) #1
declare i32 @r8(i32 noundef) #1
declare i32 @r9(i32 noundef) #1
declare i32 @r10(i32 noundef) #1
declare i32 @r11(i32 noundef) #1
declare i32 @r12(i32 noundef) #1
declare i32 @r13(i32 noundef) #1
declare i32 @r14(i32 noundef) #1
declare i32 @r15(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/tmpe4b929q9.c'
source_filename = "/tmp/tmpe4b929q9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_delete(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i8 %2, ptr %6, align 1
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %37, %3
%10 = load i32, ptr %8, align 4
%11 = load ptr, ptr %4, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = icmp slt i32 %10, %12
br i1 %13, label %14, label %40
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load i8, ptr %6, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %20, %22
br i1 %23, label %24, label %36
24: ; preds = %14
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
store i8 %29, ptr %33, align 1
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
br label %36
36: ; preds = %24, %14
br label %37
37: ; preds = %36
%38 = load i32, ptr %8, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %8, align 4
br label %9, !llvm.loop !6
40: ; preds = %9
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe4b929q9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_delete(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i8 %2, ptr %6, align 1
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = icmp slt i32 %9, %11
br i1 %12, label %.lr.ph, label %43
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %36
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %8, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load i8, ptr %6, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %19, %21
br i1 %22, label %23, label %35
23: ; preds = %13
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 %28, ptr %32, align 1
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
br label %35
35: ; preds = %23, %13
br label %36
36: ; preds = %35
%37 = load i32, ptr %8, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = load ptr, ptr %4, align 8
%41 = call i32 @strlen(ptr noundef %40)
%42 = icmp slt i32 %39, %41
br i1 %42, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %43
43: ; preds = %._crit_edge, %3
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7qjef5by.c'
source_filename = "/tmp/tmp7qjef5by.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32, i64 }
@.str = private unnamed_addr constant [11 x i8] c"LD_PRELOAD\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"--called-as-nocheckpoint\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"--called-as-nocheckpoint-with-user-LD_PRELOAD\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"USER_STRING\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"%2d \00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.timespec, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call ptr @getenv(ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %30
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str.1)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %30
20: ; preds = %14
%21 = load ptr, ptr %6, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %29
23: ; preds = %20
%24 = load ptr, ptr %6, align 8
%25 = call i64 @strlen(ptr noundef %24)
%26 = icmp sgt i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %23
%28 = call i32 (...) @kill_parent()
br label %29
29: ; preds = %27, %23, %20
store i32 0, ptr %3, align 4
br label %82
30: ; preds = %14, %2
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
%33 = load ptr, ptr %32, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %51
35: ; preds = %30
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = call i64 @strcmp(ptr noundef %38, ptr noundef @.str.2)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %51
41: ; preds = %35
%42 = load ptr, ptr %6, align 8
%43 = icmp eq ptr %42, null
br i1 %43, label %48, label %44
44: ; preds = %41
%45 = load ptr, ptr %6, align 8
%46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.3)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %44, %41
%49 = call i32 (...) @kill_parent()
br label %50
50: ; preds = %48, %44
store i32 0, ptr %3, align 4
br label %82
51: ; preds = %35, %30
%52 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
store i64 0, ptr %52, align 8
%53 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0
store i32 100000000, ptr %53, align 8
store i32 0, ptr %8, align 4
br label %54
54: ; preds = %51, %81
%55 = call i32 @unsetenv(ptr noundef @.str)
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 0
%58 = load ptr, ptr %57, align 8
%59 = call i32 @call_self_nocheckpoint(ptr noundef %58)
%60 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.4, i32 noundef 1)
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 0
%63 = load ptr, ptr %62, align 8
%64 = call i32 @call_self_nocheckpoint(ptr noundef %63)
%65 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.3, i32 noundef 1)
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds ptr, ptr %66, i64 0
%68 = load ptr, ptr %67, align 8
%69 = call i32 @call_self_nocheckpoint(ptr noundef %68)
%70 = call i32 @nanosleep(ptr noundef %7, ptr noundef null)
%71 = load i32, ptr %8, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %8, align 4
%73 = srem i32 %72, 20
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %81
75: ; preds = %54
%76 = load i32, ptr %8, align 4
%77 = sdiv i32 %76, 20
%78 = call i32 @printf(ptr noundef @.str.5, i32 noundef %77)
%79 = load i32, ptr @stdout, align 4
%80 = call i32 @fflush(i32 noundef %79)
br label %81
81: ; preds = %75, %54
br label %54
82: ; preds = %50, %29
%83 = load i32, ptr %3, align 4
ret i32 %83
}
declare ptr @getenv(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @kill_parent(...) #1
declare i32 @unsetenv(ptr noundef) #1
declare i32 @call_self_nocheckpoint(ptr noundef) #1
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @nanosleep(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7qjef5by.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32, i64 }
@.str = private unnamed_addr constant [11 x i8] c"LD_PRELOAD\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"--called-as-nocheckpoint\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"--called-as-nocheckpoint-with-user-LD_PRELOAD\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"USER_STRING\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"%2d \00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.timespec, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call ptr @getenv(ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %30
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str.1)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %30
20: ; preds = %14
%21 = load ptr, ptr %6, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %29
23: ; preds = %20
%24 = load ptr, ptr %6, align 8
%25 = call i64 @strlen(ptr noundef %24)
%26 = icmp sgt i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %23
%28 = call i32 (...) @kill_parent()
br label %29
29: ; preds = %27, %23, %20
store i32 0, ptr %3, align 4
br label %82
30: ; preds = %14, %2
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
%33 = load ptr, ptr %32, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %51
35: ; preds = %30
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = call i64 @strcmp(ptr noundef %38, ptr noundef @.str.2)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %51
41: ; preds = %35
%42 = load ptr, ptr %6, align 8
%43 = icmp eq ptr %42, null
br i1 %43, label %48, label %44
44: ; preds = %41
%45 = load ptr, ptr %6, align 8
%46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.3)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %44, %41
%49 = call i32 (...) @kill_parent()
br label %50
50: ; preds = %48, %44
store i32 0, ptr %3, align 4
br label %82
51: ; preds = %35, %30
%52 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
store i64 0, ptr %52, align 8
%53 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0
store i32 100000000, ptr %53, align 8
store i32 0, ptr %8, align 4
br label %54
54: ; preds = %81, %51
%55 = call i32 @unsetenv(ptr noundef @.str)
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 0
%58 = load ptr, ptr %57, align 8
%59 = call i32 @call_self_nocheckpoint(ptr noundef %58)
%60 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.4, i32 noundef 1)
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 0
%63 = load ptr, ptr %62, align 8
%64 = call i32 @call_self_nocheckpoint(ptr noundef %63)
%65 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.3, i32 noundef 1)
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds ptr, ptr %66, i64 0
%68 = load ptr, ptr %67, align 8
%69 = call i32 @call_self_nocheckpoint(ptr noundef %68)
%70 = call i32 @nanosleep(ptr noundef %7, ptr noundef null)
%71 = load i32, ptr %8, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %8, align 4
%73 = srem i32 %72, 20
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %81
75: ; preds = %54
%76 = load i32, ptr %8, align 4
%77 = sdiv i32 %76, 20
%78 = call i32 @printf(ptr noundef @.str.5, i32 noundef %77)
%79 = load i32, ptr @stdout, align 4
%80 = call i32 @fflush(i32 noundef %79)
br label %81
81: ; preds = %75, %54
br label %54
82: ; preds = %50, %29
%83 = load i32, ptr %3, align 4
ret i32 %83
}
declare ptr @getenv(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @kill_parent(...) #1
declare i32 @unsetenv(ptr noundef) #1
declare i32 @call_self_nocheckpoint(ptr noundef) #1
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @nanosleep(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 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"}
|
; ModuleID = '/tmp/tmpp7nm8722.c'
source_filename = "/tmp/tmpp7nm8722.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test1 - PASS\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"test1 - FAIL\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"test2 - PASS\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"test2 - FAIL\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 i64 (...) @test_block_size1()
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 @printf(ptr noundef @.str)
br label %8
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str.1)
br label %8
8: ; preds = %6, %4
%9 = call i64 (...) @test_block_size2()
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(ptr noundef @.str.2)
br label %15
13: ; preds = %8
%14 = call i32 @printf(ptr noundef @.str.3)
br label %15
15: ; preds = %13, %11
ret i32 0
}
declare i64 @test_block_size1(...) #1
declare i32 @printf(ptr noundef) #1
declare i64 @test_block_size2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp7nm8722.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test1 - PASS\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"test1 - FAIL\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"test2 - PASS\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"test2 - FAIL\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 i64 (...) @test_block_size1()
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 @printf(ptr noundef @.str)
br label %8
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str.1)
br label %8
8: ; preds = %6, %4
%9 = call i64 (...) @test_block_size2()
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(ptr noundef @.str.2)
br label %15
13: ; preds = %8
%14 = call i32 @printf(ptr noundef @.str.3)
br label %15
15: ; preds = %13, %11
ret i32 0
}
declare i64 @test_block_size1(...) #1
declare i32 @printf(ptr noundef) #1
declare i64 @test_block_size2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmp9n3a1y.c'
source_filename = "/tmp/tmpmp9n3a1y.c"
target datalayout = "e-m:e-p270: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/tmpmp9n3a1y.c"
target datalayout = "e-m:e-p270: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/tmpgm9u1i78.c'
source_filename = "/tmp/tmpgm9u1i78.c"
target datalayout = "e-m:e-p270: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 ptr null, 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/tmpgm9u1i78.c"
target datalayout = "e-m:e-p270: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 ptr null, 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/tmpmr9hat3a.c'
source_filename = "/tmp/tmpmr9hat3a.c"
target datalayout = "e-m:e-p270: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/tmpmr9hat3a.c"
target datalayout = "e-m:e-p270: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/tmpjml0phl3.c'
source_filename = "/tmp/tmpjml0phl3.c"
target datalayout = "e-m:e-p270: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/tmpjml0phl3.c"
target datalayout = "e-m:e-p270: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/tmp2be_tr0s.c'
source_filename = "/tmp/tmp2be_tr0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %22, %0
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 4000000
br i1 %8, label %9, label %23
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %10, %11
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %3, align 4
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %5, align 4
%16 = srem i32 %15, 2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %9
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %19, %20
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %18, %9
br label %6, !llvm.loop !6
23: ; preds = %6
%24 = load i32, ptr %4, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2be_tr0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 4000000
br i1 %7, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %21
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %3, align 4
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %5, align 4
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = srem i32 %14, 2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %8
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %18, %19
store i32 %20, ptr %4, align 4
br label %21
21: ; preds = %17, %8
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %22, 4000000
br i1 %23, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %24
24: ; preds = %._crit_edge, %0
%25 = load i32, ptr %4, align 4
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %25)
%27 = load i32, ptr %1, align 4
ret i32 %27
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5dhtw2j1.c'
source_filename = "/tmp/tmp5dhtw2j1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@KVM_GET_REGS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Can't GET_REGS from VCPU\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getRegs(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @KVM_GET_REGS, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @ioctl(i32 noundef %6, i32 noundef %7, ptr noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
ret void
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
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/tmp5dhtw2j1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@KVM_GET_REGS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Can't GET_REGS from VCPU\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getRegs(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr @KVM_GET_REGS, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 @ioctl(i32 noundef %6, i32 noundef %7, ptr noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @printf(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
ret void
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
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/tmpa4q7jtw_.c'
source_filename = "/tmp/tmpa4q7jtw_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wmemcchr(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %10, align 8
br label %12
12: ; preds = %31, %4
%13 = load ptr, ptr %10, align 8
%14 = load i64, ptr %13, align 8
%15 = load i64, ptr %7, align 8
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %19
17: ; preds = %12
%18 = load ptr, ptr %10, align 8
store ptr %18, ptr %5, align 8
br label %32
19: ; preds = %12
%20 = load ptr, ptr %10, align 8
%21 = getelementptr inbounds i64, ptr %20, i32 1
store ptr %21, ptr %10, align 8
%22 = load i64, ptr %20, align 8
%23 = load i64, ptr %8, align 8
%24 = icmp eq i64 %22, %23
br i1 %24, label %29, label %25
25: ; preds = %19
%26 = load i64, ptr %9, align 8
%27 = add i64 %26, -1
store i64 %27, ptr %9, align 8
%28 = icmp ne i64 %26, 0
br i1 %28, label %30, label %29
29: ; preds = %25, %19
store ptr null, ptr %5, align 8
br label %32
30: ; preds = %25
br label %31
31: ; preds = %30
br label %12
32: ; preds = %29, %17
%33 = load ptr, ptr %5, align 8
ret ptr %33
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa4q7jtw_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wmemcchr(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %10, align 8
%12 = load ptr, ptr %10, align 8
%13 = load i64, ptr %12, align 8
%14 = load i64, ptr %7, align 8
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %.lr.ph
.lr.ph: ; preds = %4
br label %18
._crit_edge: ; preds = %30
br label %16
16: ; preds = %._crit_edge, %4
%17 = load ptr, ptr %10, align 8
store ptr %17, ptr %5, align 8
br label %35
18: ; preds = %.lr.ph, %30
%19 = load ptr, ptr %10, align 8
%20 = getelementptr inbounds i64, ptr %19, i32 1
store ptr %20, ptr %10, align 8
%21 = load i64, ptr %19, align 8
%22 = load i64, ptr %8, align 8
%23 = icmp eq i64 %21, %22
br i1 %23, label %28, label %24
24: ; preds = %18
%25 = load i64, ptr %9, align 8
%26 = add i64 %25, -1
store i64 %26, ptr %9, align 8
%27 = icmp ne i64 %25, 0
br i1 %27, label %29, label %28
28: ; preds = %24, %18
store ptr null, ptr %5, align 8
br label %35
29: ; preds = %24
br label %30
30: ; preds = %29
%31 = load ptr, ptr %10, align 8
%32 = load i64, ptr %31, align 8
%33 = load i64, ptr %7, align 8
%34 = icmp eq i64 %32, %33
br i1 %34, label %._crit_edge, label %18
35: ; preds = %28, %16
%36 = load ptr, ptr %5, align 8
ret ptr %36
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5bybfayb.c'
source_filename = "/tmp/tmp5bybfayb.c"
target datalayout = "e-m:e-p270: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/tmp5bybfayb.c"
target datalayout = "e-m:e-p270: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/tmpr9njwhg1.c'
source_filename = "/tmp/tmpr9njwhg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @p_fnmatch(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 ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %8, align 8
br label %13
13: ; preds = %267, %3
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %5, align 8
%16 = load i8, ptr %14, align 1
store i8 %16, ptr %10, align 1
%17 = sext i8 %16 to i32
switch i32 %17, label %244 [
i32 0, label %18
i32 63, label %35
i32 42, label %78
i32 91, label %176
i32 92, label %229
]
18: ; preds = %13
%19 = load i32, ptr %7, align 4
%20 = and i32 %19, 8
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %28
22: ; preds = %18
%23 = load ptr, ptr %6, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 47
br i1 %26, label %27, label %28
27: ; preds = %22
store i32 0, ptr %4, align 4
br label %268
28: ; preds = %22, %18
%29 = load ptr, ptr %6, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 0
%33 = zext i1 %32 to i64
%34 = select i1 %32, i32 0, i32 1
store i32 %34, ptr %4, align 4
br label %268
35: ; preds = %13
%36 = load ptr, ptr %6, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %35
store i32 1, ptr %4, align 4
br label %268
41: ; preds = %35
%42 = load ptr, ptr %6, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 47
br i1 %45, label %46, label %51
46: ; preds = %41
%47 = load i32, ptr %7, align 4
%48 = and i32 %47, 2
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %46
store i32 1, ptr %4, align 4
br label %268
51: ; preds = %46, %41
%52 = load ptr, ptr %6, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 46
br i1 %55, label %56, label %75
56: ; preds = %51
%57 = load i32, ptr %7, align 4
%58 = and i32 %57, 4
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %75
60: ; preds = %56
%61 = load ptr, ptr %6, align 8
%62 = load ptr, ptr %8, align 8
%63 = icmp eq ptr %61, %62
br i1 %63, label %74, label %64
64: ; preds = %60
%65 = load i32, ptr %7, align 4
%66 = and i32 %65, 2
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %75
68: ; preds = %64
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 -1
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 47
br i1 %73, label %74, label %75
74: ; preds = %68, %60
store i32 1, ptr %4, align 4
br label %268
75: ; preds = %68, %64, %56, %51
%76 = load ptr, ptr %6, align 8
%77 = getelementptr inbounds i8, ptr %76, i32 1
store ptr %77, ptr %6, align 8
br label %267
78: ; preds = %13
%79 = load ptr, ptr %5, align 8
%80 = load i8, ptr %79, align 1
store i8 %80, ptr %10, align 1
br label %81
81: ; preds = %85, %78
%82 = load i8, ptr %10, align 1
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 42
br i1 %84, label %85, label %89
85: ; preds = %81
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds i8, ptr %86, i32 1
store ptr %87, ptr %5, align 8
%88 = load i8, ptr %87, align 1
store i8 %88, ptr %10, align 1
br label %81, !llvm.loop !6
89: ; preds = %81
%90 = load ptr, ptr %6, align 8
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 46
br i1 %93, label %94, label %113
94: ; preds = %89
%95 = load i32, ptr %7, align 4
%96 = and i32 %95, 4
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %113
98: ; preds = %94
%99 = load ptr, ptr %6, align 8
%100 = load ptr, ptr %8, align 8
%101 = icmp eq ptr %99, %100
br i1 %101, label %112, label %102
102: ; preds = %98
%103 = load i32, ptr %7, align 4
%104 = and i32 %103, 2
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %113
106: ; preds = %102
%107 = load ptr, ptr %6, align 8
%108 = getelementptr inbounds i8, ptr %107, i64 -1
%109 = load i8, ptr %108, align 1
%110 = sext i8 %109 to i32
%111 = icmp eq i32 %110, 47
br i1 %111, label %112, label %113
112: ; preds = %106, %98
store i32 1, ptr %4, align 4
br label %268
113: ; preds = %106, %102, %94, %89
%114 = load i8, ptr %10, align 1
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %115, 0
br i1 %116, label %117, label %134
117: ; preds = %113
%118 = load i32, ptr %7, align 4
%119 = and i32 %118, 2
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %133
121: ; preds = %117
%122 = load i32, ptr %7, align 4
%123 = and i32 %122, 8
%124 = icmp ne i32 %123, 0
br i1 %124, label %129, label %125
125: ; preds = %121
%126 = load ptr, ptr %6, align 8
%127 = call ptr @strchr(ptr noundef %126, i8 noundef signext 47)
%128 = icmp eq ptr %127, null
br label %129
129: ; preds = %125, %121
%130 = phi i1 [ true, %121 ], [ %128, %125 ]
%131 = zext i1 %130 to i64
%132 = select i1 %130, i32 0, i32 1
store i32 %132, ptr %4, align 4
br label %268
133: ; preds = %117
store i32 0, ptr %4, align 4
br label %268
134: ; preds = %113
%135 = load i8, ptr %10, align 1
%136 = sext i8 %135 to i32
%137 = icmp eq i32 %136, 47
br i1 %137, label %138, label %148
138: ; preds = %134
%139 = load i32, ptr %7, align 4
%140 = and i32 %139, 2
%141 = icmp ne i32 %140, 0
br i1 %141, label %142, label %148
142: ; preds = %138
%143 = load ptr, ptr %6, align 8
%144 = call ptr @strchr(ptr noundef %143, i8 noundef signext 47)
store ptr %144, ptr %6, align 8
%145 = icmp eq ptr %144, null
br i1 %145, label %146, label %147
146: ; preds = %142
store i32 1, ptr %4, align 4
br label %268
147: ; preds = %142
br label %267
148: ; preds = %138, %134
br label %149
149: ; preds = %148
br label %150
150: ; preds = %172, %149
%151 = load ptr, ptr %6, align 8
%152 = load i8, ptr %151, align 1
store i8 %152, ptr %11, align 1
%153 = sext i8 %152 to i32
%154 = icmp ne i32 %153, 0
br i1 %154, label %155, label %175
155: ; preds = %150
%156 = load ptr, ptr %5, align 8
%157 = load ptr, ptr %6, align 8
%158 = load i32, ptr %7, align 4
%159 = and i32 %158, -5
%160 = call i32 @p_fnmatch(ptr noundef %156, ptr noundef %157, i32 noundef %159)
%161 = icmp ne i32 %160, 0
br i1 %161, label %163, label %162
162: ; preds = %155
store i32 0, ptr %4, align 4
br label %268
163: ; preds = %155
%164 = load i8, ptr %11, align 1
%165 = sext i8 %164 to i32
%166 = icmp eq i32 %165, 47
br i1 %166, label %167, label %172
167: ; preds = %163
%168 = load i32, ptr %7, align 4
%169 = and i32 %168, 2
%170 = icmp ne i32 %169, 0
br i1 %170, label %171, label %172
171: ; preds = %167
br label %175
172: ; preds = %167, %163
%173 = load ptr, ptr %6, align 8
%174 = getelementptr inbounds i8, ptr %173, i32 1
store ptr %174, ptr %6, align 8
br label %150, !llvm.loop !8
175: ; preds = %171, %150
store i32 1, ptr %4, align 4
br label %268
176: ; preds = %13
%177 = load ptr, ptr %6, align 8
%178 = load i8, ptr %177, align 1
%179 = sext i8 %178 to i32
%180 = icmp eq i32 %179, 0
br i1 %180, label %181, label %182
181: ; preds = %176
store i32 1, ptr %4, align 4
br label %268
182: ; preds = %176
%183 = load ptr, ptr %6, align 8
%184 = load i8, ptr %183, align 1
%185 = sext i8 %184 to i32
%186 = icmp eq i32 %185, 47
br i1 %186, label %187, label %192
187: ; preds = %182
%188 = load i32, ptr %7, align 4
%189 = and i32 %188, 2
%190 = icmp ne i32 %189, 0
br i1 %190, label %191, label %192
191: ; preds = %187
store i32 1, ptr %4, align 4
br label %268
192: ; preds = %187, %182
%193 = load ptr, ptr %6, align 8
%194 = load i8, ptr %193, align 1
%195 = sext i8 %194 to i32
%196 = icmp eq i32 %195, 46
br i1 %196, label %197, label %216
197: ; preds = %192
%198 = load i32, ptr %7, align 4
%199 = and i32 %198, 4
%200 = icmp ne i32 %199, 0
br i1 %200, label %201, label %216
201: ; preds = %197
%202 = load ptr, ptr %6, align 8
%203 = load ptr, ptr %8, align 8
%204 = icmp eq ptr %202, %203
br i1 %204, label %215, label %205
205: ; preds = %201
%206 = load i32, ptr %7, align 4
%207 = and i32 %206, 2
%208 = icmp ne i32 %207, 0
br i1 %208, label %209, label %216
209: ; preds = %205
%210 = load ptr, ptr %6, align 8
%211 = getelementptr inbounds i8, ptr %210, i64 -1
%212 = load i8, ptr %211, align 1
%213 = sext i8 %212 to i32
%214 = icmp eq i32 %213, 47
br i1 %214, label %215, label %216
215: ; preds = %209, %201
store i32 1, ptr %4, align 4
br label %268
216: ; preds = %209, %205, %197, %192
%217 = load ptr, ptr %5, align 8
%218 = load ptr, ptr %6, align 8
%219 = load i8, ptr %218, align 1
%220 = load i32, ptr %7, align 4
%221 = call i32 @rangematch(ptr noundef %217, i8 noundef signext %219, i32 noundef %220, ptr noundef %9)
switch i32 %221, label %226 [
i32 -1, label %222
i32 1, label %223
i32 0, label %225
]
222: ; preds = %216
br label %245
223: ; preds = %216
%224 = load ptr, ptr %9, align 8
store ptr %224, ptr %5, align 8
br label %226
225: ; preds = %216
store i32 1, ptr %4, align 4
br label %268
226: ; preds = %216, %223
%227 = load ptr, ptr %6, align 8
%228 = getelementptr inbounds i8, ptr %227, i32 1
store ptr %228, ptr %6, align 8
br label %267
229: ; preds = %13
%230 = load i32, ptr %7, align 4
%231 = and i32 %230, 1
%232 = icmp ne i32 %231, 0
br i1 %232, label %243, label %233
233: ; preds = %229
%234 = load ptr, ptr %5, align 8
%235 = getelementptr inbounds i8, ptr %234, i32 1
store ptr %235, ptr %5, align 8
%236 = load i8, ptr %234, align 1
store i8 %236, ptr %10, align 1
%237 = sext i8 %236 to i32
%238 = icmp eq i32 %237, 0
br i1 %238, label %239, label %242
239: ; preds = %233
store i8 92, ptr %10, align 1
%240 = load ptr, ptr %5, align 8
%241 = getelementptr inbounds i8, ptr %240, i32 -1
store ptr %241, ptr %5, align 8
br label %242
242: ; preds = %239, %233
br label %243
243: ; preds = %242, %229
br label %244
244: ; preds = %13, %243
br label %245
245: ; preds = %244, %222
%246 = load i8, ptr %10, align 1
%247 = sext i8 %246 to i32
%248 = load ptr, ptr %6, align 8
%249 = load i8, ptr %248, align 1
%250 = sext i8 %249 to i32
%251 = icmp ne i32 %247, %250
br i1 %251, label %252, label %264
252: ; preds = %245
%253 = load i32, ptr %7, align 4
%254 = and i32 %253, 16
%255 = icmp ne i32 %254, 0
br i1 %255, label %256, label %263
256: ; preds = %252
%257 = load i8, ptr %10, align 1
%258 = call i32 @tolower(i8 noundef zeroext %257)
%259 = load ptr, ptr %6, align 8
%260 = load i8, ptr %259, align 1
%261 = call i32 @tolower(i8 noundef zeroext %260)
%262 = icmp eq i32 %258, %261
br i1 %262, label %264, label %263
263: ; preds = %256, %252
store i32 1, ptr %4, align 4
br label %268
264: ; preds = %256, %245
%265 = load ptr, ptr %6, align 8
%266 = getelementptr inbounds i8, ptr %265, i32 1
store ptr %266, ptr %6, align 8
br label %267
267: ; preds = %264, %226, %147, %75
br label %13
268: ; preds = %263, %225, %215, %191, %181, %175, %162, %146, %133, %129, %112, %74, %50, %40, %28, %27
%269 = load i32, ptr %4, align 4
ret i32 %269
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @rangematch(ptr noundef, i8 noundef signext, i32 noundef, ptr noundef) #1
declare i32 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr9njwhg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @p_fnmatch(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 ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %8, align 8
br label %13
13: ; preds = %272, %3
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %5, align 8
%16 = load i8, ptr %14, align 1
store i8 %16, ptr %10, align 1
%17 = sext i8 %16 to i32
switch i32 %17, label %249 [
i32 0, label %18
i32 63, label %35
i32 42, label %78
i32 91, label %181
i32 92, label %234
]
18: ; preds = %13
%19 = load i32, ptr %7, align 4
%20 = and i32 %19, 8
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %28
22: ; preds = %18
%23 = load ptr, ptr %6, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 47
br i1 %26, label %27, label %28
27: ; preds = %22
store i32 0, ptr %4, align 4
br label %273
28: ; preds = %22, %18
%29 = load ptr, ptr %6, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 0
%33 = zext i1 %32 to i64
%34 = select i1 %32, i32 0, i32 1
store i32 %34, ptr %4, align 4
br label %273
35: ; preds = %13
%36 = load ptr, ptr %6, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %35
store i32 1, ptr %4, align 4
br label %273
41: ; preds = %35
%42 = load ptr, ptr %6, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 47
br i1 %45, label %46, label %51
46: ; preds = %41
%47 = load i32, ptr %7, align 4
%48 = and i32 %47, 2
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %46
store i32 1, ptr %4, align 4
br label %273
51: ; preds = %46, %41
%52 = load ptr, ptr %6, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 46
br i1 %55, label %56, label %75
56: ; preds = %51
%57 = load i32, ptr %7, align 4
%58 = and i32 %57, 4
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %75
60: ; preds = %56
%61 = load ptr, ptr %6, align 8
%62 = load ptr, ptr %8, align 8
%63 = icmp eq ptr %61, %62
br i1 %63, label %74, label %64
64: ; preds = %60
%65 = load i32, ptr %7, align 4
%66 = and i32 %65, 2
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %75
68: ; preds = %64
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 -1
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 47
br i1 %73, label %74, label %75
74: ; preds = %68, %60
store i32 1, ptr %4, align 4
br label %273
75: ; preds = %68, %64, %56, %51
%76 = load ptr, ptr %6, align 8
%77 = getelementptr inbounds i8, ptr %76, i32 1
store ptr %77, ptr %6, align 8
br label %272
78: ; preds = %13
%79 = load ptr, ptr %5, align 8
%80 = load i8, ptr %79, align 1
store i8 %80, ptr %10, align 1
%81 = load i8, ptr %10, align 1
%82 = sext i8 %81 to i32
%83 = icmp eq i32 %82, 42
br i1 %83, label %.lr.ph, label %91
.lr.ph: ; preds = %78
br label %84
84: ; preds = %.lr.ph, %84
%85 = load ptr, ptr %5, align 8
%86 = getelementptr inbounds i8, ptr %85, i32 1
store ptr %86, ptr %5, align 8
%87 = load i8, ptr %86, align 1
store i8 %87, ptr %10, align 1
%88 = load i8, ptr %10, align 1
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %89, 42
br i1 %90, label %84, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %84
br label %91
91: ; preds = %._crit_edge, %78
%92 = load ptr, ptr %6, align 8
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 46
br i1 %95, label %96, label %115
96: ; preds = %91
%97 = load i32, ptr %7, align 4
%98 = and i32 %97, 4
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %115
100: ; preds = %96
%101 = load ptr, ptr %6, align 8
%102 = load ptr, ptr %8, align 8
%103 = icmp eq ptr %101, %102
br i1 %103, label %114, label %104
104: ; preds = %100
%105 = load i32, ptr %7, align 4
%106 = and i32 %105, 2
%107 = icmp ne i32 %106, 0
br i1 %107, label %108, label %115
108: ; preds = %104
%109 = load ptr, ptr %6, align 8
%110 = getelementptr inbounds i8, ptr %109, i64 -1
%111 = load i8, ptr %110, align 1
%112 = sext i8 %111 to i32
%113 = icmp eq i32 %112, 47
br i1 %113, label %114, label %115
114: ; preds = %108, %100
store i32 1, ptr %4, align 4
br label %273
115: ; preds = %108, %104, %96, %91
%116 = load i8, ptr %10, align 1
%117 = sext i8 %116 to i32
%118 = icmp eq i32 %117, 0
br i1 %118, label %119, label %136
119: ; preds = %115
%120 = load i32, ptr %7, align 4
%121 = and i32 %120, 2
%122 = icmp ne i32 %121, 0
br i1 %122, label %123, label %135
123: ; preds = %119
%124 = load i32, ptr %7, align 4
%125 = and i32 %124, 8
%126 = icmp ne i32 %125, 0
br i1 %126, label %131, label %127
127: ; preds = %123
%128 = load ptr, ptr %6, align 8
%129 = call ptr @strchr(ptr noundef %128, i8 noundef signext 47)
%130 = icmp eq ptr %129, null
br label %131
131: ; preds = %127, %123
%132 = phi i1 [ true, %123 ], [ %130, %127 ]
%133 = zext i1 %132 to i64
%134 = select i1 %132, i32 0, i32 1
store i32 %134, ptr %4, align 4
br label %273
135: ; preds = %119
store i32 0, ptr %4, align 4
br label %273
136: ; preds = %115
%137 = load i8, ptr %10, align 1
%138 = sext i8 %137 to i32
%139 = icmp eq i32 %138, 47
br i1 %139, label %140, label %150
140: ; preds = %136
%141 = load i32, ptr %7, align 4
%142 = and i32 %141, 2
%143 = icmp ne i32 %142, 0
br i1 %143, label %144, label %150
144: ; preds = %140
%145 = load ptr, ptr %6, align 8
%146 = call ptr @strchr(ptr noundef %145, i8 noundef signext 47)
store ptr %146, ptr %6, align 8
%147 = icmp eq ptr %146, null
br i1 %147, label %148, label %149
148: ; preds = %144
store i32 1, ptr %4, align 4
br label %273
149: ; preds = %144
br label %272
150: ; preds = %140, %136
br label %151
151: ; preds = %150
%152 = load ptr, ptr %6, align 8
%153 = load i8, ptr %152, align 1
store i8 %153, ptr %11, align 1
%154 = sext i8 %153 to i32
%155 = icmp ne i32 %154, 0
br i1 %155, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %151
br label %156
156: ; preds = %.lr.ph2, %173
%157 = load ptr, ptr %5, align 8
%158 = load ptr, ptr %6, align 8
%159 = load i32, ptr %7, align 4
%160 = and i32 %159, -5
%161 = call i32 @p_fnmatch(ptr noundef %157, ptr noundef %158, i32 noundef %160)
%162 = icmp ne i32 %161, 0
br i1 %162, label %164, label %163
163: ; preds = %156
store i32 0, ptr %4, align 4
br label %273
164: ; preds = %156
%165 = load i8, ptr %11, align 1
%166 = sext i8 %165 to i32
%167 = icmp eq i32 %166, 47
br i1 %167, label %168, label %173
168: ; preds = %164
%169 = load i32, ptr %7, align 4
%170 = and i32 %169, 2
%171 = icmp ne i32 %170, 0
br i1 %171, label %172, label %173
172: ; preds = %168
br label %180
173: ; preds = %168, %164
%174 = load ptr, ptr %6, align 8
%175 = getelementptr inbounds i8, ptr %174, i32 1
store ptr %175, ptr %6, align 8
%176 = load ptr, ptr %6, align 8
%177 = load i8, ptr %176, align 1
store i8 %177, ptr %11, align 1
%178 = sext i8 %177 to i32
%179 = icmp ne i32 %178, 0
br i1 %179, label %156, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %173
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %151
br label %180
180: ; preds = %.loopexit, %172
store i32 1, ptr %4, align 4
br label %273
181: ; preds = %13
%182 = load ptr, ptr %6, align 8
%183 = load i8, ptr %182, align 1
%184 = sext i8 %183 to i32
%185 = icmp eq i32 %184, 0
br i1 %185, label %186, label %187
186: ; preds = %181
store i32 1, ptr %4, align 4
br label %273
187: ; preds = %181
%188 = load ptr, ptr %6, align 8
%189 = load i8, ptr %188, align 1
%190 = sext i8 %189 to i32
%191 = icmp eq i32 %190, 47
br i1 %191, label %192, label %197
192: ; preds = %187
%193 = load i32, ptr %7, align 4
%194 = and i32 %193, 2
%195 = icmp ne i32 %194, 0
br i1 %195, label %196, label %197
196: ; preds = %192
store i32 1, ptr %4, align 4
br label %273
197: ; preds = %192, %187
%198 = load ptr, ptr %6, align 8
%199 = load i8, ptr %198, align 1
%200 = sext i8 %199 to i32
%201 = icmp eq i32 %200, 46
br i1 %201, label %202, label %221
202: ; preds = %197
%203 = load i32, ptr %7, align 4
%204 = and i32 %203, 4
%205 = icmp ne i32 %204, 0
br i1 %205, label %206, label %221
206: ; preds = %202
%207 = load ptr, ptr %6, align 8
%208 = load ptr, ptr %8, align 8
%209 = icmp eq ptr %207, %208
br i1 %209, label %220, label %210
210: ; preds = %206
%211 = load i32, ptr %7, align 4
%212 = and i32 %211, 2
%213 = icmp ne i32 %212, 0
br i1 %213, label %214, label %221
214: ; preds = %210
%215 = load ptr, ptr %6, align 8
%216 = getelementptr inbounds i8, ptr %215, i64 -1
%217 = load i8, ptr %216, align 1
%218 = sext i8 %217 to i32
%219 = icmp eq i32 %218, 47
br i1 %219, label %220, label %221
220: ; preds = %214, %206
store i32 1, ptr %4, align 4
br label %273
221: ; preds = %214, %210, %202, %197
%222 = load ptr, ptr %5, align 8
%223 = load ptr, ptr %6, align 8
%224 = load i8, ptr %223, align 1
%225 = load i32, ptr %7, align 4
%226 = call i32 @rangematch(ptr noundef %222, i8 noundef signext %224, i32 noundef %225, ptr noundef %9)
switch i32 %226, label %231 [
i32 -1, label %227
i32 1, label %228
i32 0, label %230
]
227: ; preds = %221
br label %250
228: ; preds = %221
%229 = load ptr, ptr %9, align 8
store ptr %229, ptr %5, align 8
br label %231
230: ; preds = %221
store i32 1, ptr %4, align 4
br label %273
231: ; preds = %228, %221
%232 = load ptr, ptr %6, align 8
%233 = getelementptr inbounds i8, ptr %232, i32 1
store ptr %233, ptr %6, align 8
br label %272
234: ; preds = %13
%235 = load i32, ptr %7, align 4
%236 = and i32 %235, 1
%237 = icmp ne i32 %236, 0
br i1 %237, label %248, label %238
238: ; preds = %234
%239 = load ptr, ptr %5, align 8
%240 = getelementptr inbounds i8, ptr %239, i32 1
store ptr %240, ptr %5, align 8
%241 = load i8, ptr %239, align 1
store i8 %241, ptr %10, align 1
%242 = sext i8 %241 to i32
%243 = icmp eq i32 %242, 0
br i1 %243, label %244, label %247
244: ; preds = %238
store i8 92, ptr %10, align 1
%245 = load ptr, ptr %5, align 8
%246 = getelementptr inbounds i8, ptr %245, i32 -1
store ptr %246, ptr %5, align 8
br label %247
247: ; preds = %244, %238
br label %248
248: ; preds = %247, %234
br label %249
249: ; preds = %248, %13
br label %250
250: ; preds = %249, %227
%251 = load i8, ptr %10, align 1
%252 = sext i8 %251 to i32
%253 = load ptr, ptr %6, align 8
%254 = load i8, ptr %253, align 1
%255 = sext i8 %254 to i32
%256 = icmp ne i32 %252, %255
br i1 %256, label %257, label %269
257: ; preds = %250
%258 = load i32, ptr %7, align 4
%259 = and i32 %258, 16
%260 = icmp ne i32 %259, 0
br i1 %260, label %261, label %268
261: ; preds = %257
%262 = load i8, ptr %10, align 1
%263 = call i32 @tolower(i8 noundef zeroext %262)
%264 = load ptr, ptr %6, align 8
%265 = load i8, ptr %264, align 1
%266 = call i32 @tolower(i8 noundef zeroext %265)
%267 = icmp eq i32 %263, %266
br i1 %267, label %269, label %268
268: ; preds = %261, %257
store i32 1, ptr %4, align 4
br label %273
269: ; preds = %261, %250
%270 = load ptr, ptr %6, align 8
%271 = getelementptr inbounds i8, ptr %270, i32 1
store ptr %271, ptr %6, align 8
br label %272
272: ; preds = %269, %231, %149, %75
br label %13
273: ; preds = %268, %230, %220, %196, %186, %180, %163, %148, %135, %131, %114, %74, %50, %40, %28, %27
%274 = load i32, ptr %4, align 4
ret i32 %274
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @rangematch(ptr noundef, i8 noundef signext, i32 noundef, ptr noundef) #1
declare i32 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpmbhd5t16.c'
source_filename = "/tmp/tmpmbhd5t16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = 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/tmpmbhd5t16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = 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/tmpn6aeyvwj.c'
source_filename = "/tmp/tmpn6aeyvwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @php_url_decode(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %6, align 8
br label %9
9: ; preds = %57, %2
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %4, align 4
%12 = icmp ne i32 %10, 0
br i1 %12, label %13, label %62
13: ; preds = %9
%14 = load ptr, ptr %6, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 43
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = load ptr, ptr %5, align 8
store i8 32, ptr %19, align 1
br label %57
20: ; preds = %13
%21 = load ptr, ptr %6, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 37
br i1 %24, label %25, label %52
25: ; preds = %20
%26 = load i32, ptr %4, align 4
%27 = icmp sge i32 %26, 2
br i1 %27, label %28, label %52
28: ; preds = %25
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = call i64 @isxdigit(i32 noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %52
35: ; preds = %28
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i8, ptr %36, i64 2
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = call i64 @isxdigit(i32 noundef %39)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %52
42: ; preds = %35
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 1
%45 = call i64 @php_htoi(ptr noundef %44)
%46 = trunc i64 %45 to i8
%47 = load ptr, ptr %5, align 8
store i8 %46, ptr %47, align 1
%48 = load ptr, ptr %6, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 2
store ptr %49, ptr %6, align 8
%50 = load i32, ptr %4, align 4
%51 = sub nsw i32 %50, 2
store i32 %51, ptr %4, align 4
br label %56
52: ; preds = %35, %28, %25, %20
%53 = load ptr, ptr %6, align 8
%54 = load i8, ptr %53, align 1
%55 = load ptr, ptr %5, align 8
store i8 %54, ptr %55, align 1
br label %56
56: ; preds = %52, %42
br label %57
57: ; preds = %56, %18
%58 = load ptr, ptr %6, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 1
store ptr %59, ptr %6, align 8
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %5, align 8
br label %9, !llvm.loop !6
62: ; preds = %9
%63 = load ptr, ptr %5, align 8
store i8 48, ptr %63, align 1
%64 = load ptr, ptr %5, align 8
%65 = load ptr, ptr %3, align 8
%66 = ptrtoint ptr %64 to i64
%67 = ptrtoint ptr %65 to i64
%68 = sub i64 %66, %67
%69 = trunc i64 %68 to i32
ret i32 %69
}
declare i64 @isxdigit(i32 noundef) #1
declare i64 @php_htoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpn6aeyvwj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @php_url_decode(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %6, align 8
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %4, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %.lr.ph, label %64
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %56
%13 = load ptr, ptr %6, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 43
br i1 %16, label %17, label %19
17: ; preds = %12
%18 = load ptr, ptr %5, align 8
store i8 32, ptr %18, align 1
br label %56
19: ; preds = %12
%20 = load ptr, ptr %6, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 37
br i1 %23, label %24, label %51
24: ; preds = %19
%25 = load i32, ptr %4, align 4
%26 = icmp sge i32 %25, 2
br i1 %26, label %27, label %51
27: ; preds = %24
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 1
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = call i64 @isxdigit(i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %51
34: ; preds = %27
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 2
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = call i64 @isxdigit(i32 noundef %38)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %51
41: ; preds = %34
%42 = load ptr, ptr %6, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 1
%44 = call i64 @php_htoi(ptr noundef %43)
%45 = trunc i64 %44 to i8
%46 = load ptr, ptr %5, align 8
store i8 %45, ptr %46, align 1
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 2
store ptr %48, ptr %6, align 8
%49 = load i32, ptr %4, align 4
%50 = sub nsw i32 %49, 2
store i32 %50, ptr %4, align 4
br label %55
51: ; preds = %34, %27, %24, %19
%52 = load ptr, ptr %6, align 8
%53 = load i8, ptr %52, align 1
%54 = load ptr, ptr %5, align 8
store i8 %53, ptr %54, align 1
br label %55
55: ; preds = %51, %41
br label %56
56: ; preds = %55, %17
%57 = load ptr, ptr %6, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %6, align 8
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %5, align 8
%61 = load i32, ptr %4, align 4
%62 = add nsw i32 %61, -1
store i32 %62, ptr %4, align 4
%63 = icmp ne i32 %61, 0
br i1 %63, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %64
64: ; preds = %._crit_edge, %2
%65 = load ptr, ptr %5, align 8
store i8 48, ptr %65, align 1
%66 = load ptr, ptr %5, align 8
%67 = load ptr, ptr %3, align 8
%68 = ptrtoint ptr %66 to i64
%69 = ptrtoint ptr %67 to i64
%70 = sub i64 %68, %69
%71 = trunc i64 %70 to i32
ret i32 %71
}
declare i64 @isxdigit(i32 noundef) #1
declare i64 @php_htoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpukmk3z2s.c'
source_filename = "/tmp/tmpukmk3z2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_SYNC = dso_local global i32 0, align 4
@O_DSYNC = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aio_fsync(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 %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr @O_SYNC, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %16
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr @O_DSYNC, align 4
%12 = icmp ne i32 %10, %11
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load i32, ptr @EINVAL, align 4
%15 = call i32 @__set_errno(i32 noundef %14)
store i32 -1, ptr %3, align 4
br label %19
16: ; preds = %9, %2
%17 = load i32, ptr @ENOSYS, align 4
%18 = call i32 @__set_errno(i32 noundef %17)
store i32 -1, ptr %3, align 4
br label %19
19: ; preds = %16, %13
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @__set_errno(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpukmk3z2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_SYNC = dso_local global i32 0, align 4
@O_DSYNC = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aio_fsync(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 %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr @O_SYNC, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %16
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr @O_DSYNC, align 4
%12 = icmp ne i32 %10, %11
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load i32, ptr @EINVAL, align 4
%15 = call i32 @__set_errno(i32 noundef %14)
store i32 -1, ptr %3, align 4
br label %19
16: ; preds = %9, %2
%17 = load i32, ptr @ENOSYS, align 4
%18 = call i32 @__set_errno(i32 noundef %17)
store i32 -1, ptr %3, align 4
br label %19
19: ; preds = %16, %13
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @__set_errno(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpicuu77qh.c'
source_filename = "/tmp/tmpicuu77qh.c"
target datalayout = "e-m:e-p270: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, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i64 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"opening socket\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"no such host\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"connecting\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"connect\C3\A9 au serveur %s, joueur %d/%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @openConnection(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 ptr, align 8
%10 = alloca %struct.sockaddr_in, align 4
%11 = alloca [3 x i32], align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%13 = load i32, ptr @AF_INET, align 4
%14 = load i32, ptr @SOCK_STREAM, align 4
%15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0)
store i32 %15, ptr %12, align 4
%16 = load i32, ptr %12, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %4
%19 = call i32 @perror(ptr noundef @.str)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %4
%22 = load ptr, ptr %5, align 8
%23 = call ptr @gethostbyname(ptr noundef %22)
store ptr %23, ptr %9, align 8
%24 = load ptr, ptr %9, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %21
%27 = call i32 @perror(ptr noundef @.str.1)
%28 = call i32 @exit(i32 noundef 1) #3
unreachable
29: ; preds = %21
%30 = load i32, ptr @AF_INET, align 4
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
store i32 %30, ptr %31, align 4
%32 = load ptr, ptr %9, align 8
%33 = getelementptr inbounds %struct.hostent, ptr %32, i32 0, i32 1
%34 = load i64, ptr %33, align 8
%35 = inttoptr i64 %34 to ptr
%36 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
%37 = getelementptr inbounds %struct.TYPE_2__, ptr %36, i32 0, i32 0
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds %struct.hostent, ptr %38, i32 0, i32 0
%40 = load i32, ptr %39, align 8
%41 = call i32 @bcopy(ptr noundef %35, ptr noundef %37, i32 noundef %40)
%42 = call i32 @htons(i32 noundef 2048)
%43 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
store i32 %42, ptr %43, align 4
%44 = load i32, ptr %12, align 4
%45 = call i64 @connect(i32 noundef %44, ptr noundef %10, i32 noundef 12)
%46 = icmp slt i64 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %29
%48 = call i32 @perror(ptr noundef @.str.2)
%49 = call i32 @exit(i32 noundef 1) #3
unreachable
50: ; preds = %29
%51 = load i32, ptr %12, align 4
%52 = call i32 @read(i32 noundef %51, ptr noundef %11, i32 noundef 12)
%53 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 1
%54 = load i32, ptr %53, align 4
%55 = load ptr, ptr %6, align 8
store i32 %54, ptr %55, align 4
%56 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 0
%57 = load i32, ptr %56, align 4
%58 = load ptr, ptr %7, align 8
store i32 %57, ptr %58, align 4
%59 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 2
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %8, align 8
store i32 %60, ptr %61, align 4
%62 = load ptr, ptr %5, align 8
%63 = load ptr, ptr %6, align 8
%64 = load i32, ptr %63, align 4
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %65, align 4
%67 = call i32 @printf(ptr noundef @.str.3, ptr noundef %62, i32 noundef %64, i32 noundef %66)
%68 = load i32, ptr %12, align 4
ret i32 %68
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpicuu77qh.c"
target datalayout = "e-m:e-p270: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, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i64 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"opening socket\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"no such host\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"connecting\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"connect\C3\A9 au serveur %s, joueur %d/%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @openConnection(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 ptr, align 8
%10 = alloca %struct.sockaddr_in, align 4
%11 = alloca [3 x i32], align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%13 = load i32, ptr @AF_INET, align 4
%14 = load i32, ptr @SOCK_STREAM, align 4
%15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0)
store i32 %15, ptr %12, align 4
%16 = load i32, ptr %12, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %4
%19 = call i32 @perror(ptr noundef @.str)
%20 = call i32 @exit(i32 noundef 1) #3
unreachable
21: ; preds = %4
%22 = load ptr, ptr %5, align 8
%23 = call ptr @gethostbyname(ptr noundef %22)
store ptr %23, ptr %9, align 8
%24 = load ptr, ptr %9, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %29
26: ; preds = %21
%27 = call i32 @perror(ptr noundef @.str.1)
%28 = call i32 @exit(i32 noundef 1) #3
unreachable
29: ; preds = %21
%30 = load i32, ptr @AF_INET, align 4
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
store i32 %30, ptr %31, align 4
%32 = load ptr, ptr %9, align 8
%33 = getelementptr inbounds %struct.hostent, ptr %32, i32 0, i32 1
%34 = load i64, ptr %33, align 8
%35 = inttoptr i64 %34 to ptr
%36 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
%37 = getelementptr inbounds %struct.TYPE_2__, ptr %36, i32 0, i32 0
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds %struct.hostent, ptr %38, i32 0, i32 0
%40 = load i32, ptr %39, align 8
%41 = call i32 @bcopy(ptr noundef %35, ptr noundef %37, i32 noundef %40)
%42 = call i32 @htons(i32 noundef 2048)
%43 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
store i32 %42, ptr %43, align 4
%44 = load i32, ptr %12, align 4
%45 = call i64 @connect(i32 noundef %44, ptr noundef %10, i32 noundef 12)
%46 = icmp slt i64 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %29
%48 = call i32 @perror(ptr noundef @.str.2)
%49 = call i32 @exit(i32 noundef 1) #3
unreachable
50: ; preds = %29
%51 = load i32, ptr %12, align 4
%52 = call i32 @read(i32 noundef %51, ptr noundef %11, i32 noundef 12)
%53 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 1
%54 = load i32, ptr %53, align 4
%55 = load ptr, ptr %6, align 8
store i32 %54, ptr %55, align 4
%56 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 0
%57 = load i32, ptr %56, align 4
%58 = load ptr, ptr %7, align 8
store i32 %57, ptr %58, align 4
%59 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 2
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %8, align 8
store i32 %60, ptr %61, align 4
%62 = load ptr, ptr %5, align 8
%63 = load ptr, ptr %6, align 8
%64 = load i32, ptr %63, align 4
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %65, align 4
%67 = call i32 @printf(ptr noundef @.str.3, ptr noundef %62, i32 noundef %64, i32 noundef %66)
%68 = load i32, ptr %12, align 4
ret i32 %68
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp69apyw3l.c'
source_filename = "/tmp/tmp69apyw3l.c"
target datalayout = "e-m:e-p270: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 [50 x i8] c"usage:\09\09iLCD\09\09[-n arrayName] [-v] [-h] file_name\0A\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"options:\09-v:\09\09sets vertical byte orientation (default)\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"\09\09-h:\09\09sets horizontal byte orientation\0A\00", align 1
@.str.3 = private unnamed_addr constant [53 x i8] c"\09\09-n:arrayName\09sets the name of the generated array\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 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
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/tmp69apyw3l.c"
target datalayout = "e-m:e-p270: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 [50 x i8] c"usage:\09\09iLCD\09\09[-n arrayName] [-v] [-h] file_name\0A\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"options:\09-v:\09\09sets vertical byte orientation (default)\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"\09\09-h:\09\09sets horizontal byte orientation\0A\00", align 1
@.str.3 = private unnamed_addr constant [53 x i8] c"\09\09-n:arrayName\09sets the name of the generated array\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 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
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/tmpzmqt2vuh.c'
source_filename = "/tmp/tmpzmqt2vuh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flu_escape(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call ptr @flu_n_escape(ptr noundef %3, i32 noundef %5)
ret ptr %6
}
declare ptr @flu_n_escape(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/tmpzmqt2vuh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flu_escape(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call ptr @flu_n_escape(ptr noundef %3, i32 noundef %5)
ret ptr %6
}
declare ptr @flu_n_escape(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxxlr90n_.c'
source_filename = "/tmp/tmpxxlr90n_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %7
7: ; preds = %31, %0
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
switch i32 %9, label %30 [
i32 0, label %10
i32 1, label %14
i32 2, label %20
]
10: ; preds = %7
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3)
%12 = load i32, ptr %3, align 4
%13 = call i32 @init(i32 noundef %12)
br label %30
14: ; preds = %7
%15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = call i32 @update(i32 noundef %16, i32 noundef %17, i32 noundef %18)
br label %30
20: ; preds = %7
%21 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = call i32 @sum(i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25)
%27 = call i32 @printf(ptr noundef @.str.3, i32 noundef %26)
%28 = load i32, ptr @stdout, align 4
%29 = call i32 @fflush(i32 noundef %28)
br label %30
30: ; preds = %7, %20, %14, %10
br label %31
31: ; preds = %30
%32 = load i32, ptr %2, align 4
%33 = icmp ne i32 %32, 3
br i1 %33, label %7, label %34, !llvm.loop !6
34: ; preds = %31
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @init(i32 noundef) #1
declare i32 @update(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sum(i32 noundef, i32 noundef, i32 noundef, i32 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/tmpxxlr90n_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %7
7: ; preds = %31, %0
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
switch i32 %9, label %30 [
i32 0, label %10
i32 1, label %14
i32 2, label %20
]
10: ; preds = %7
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3)
%12 = load i32, ptr %3, align 4
%13 = call i32 @init(i32 noundef %12)
br label %30
14: ; preds = %7
%15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = call i32 @update(i32 noundef %16, i32 noundef %17, i32 noundef %18)
br label %30
20: ; preds = %7
%21 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = call i32 @sum(i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25)
%27 = call i32 @printf(ptr noundef @.str.3, i32 noundef %26)
%28 = load i32, ptr @stdout, align 4
%29 = call i32 @fflush(i32 noundef %28)
br label %30
30: ; preds = %20, %14, %10, %7
br label %31
31: ; preds = %30
%32 = load i32, ptr %2, align 4
%33 = icmp ne i32 %32, 3
br i1 %33, label %7, label %34, !llvm.loop !6
34: ; preds = %31
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @init(i32 noundef) #1
declare i32 @update(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sum(i32 noundef, i32 noundef, i32 noundef, i32 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/tmpl7ibdsw_.c'
source_filename = "/tmp/tmpl7ibdsw_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"set terminal png\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"set output 'energy.png'\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"set title \22Integral Values as a Function of Distance\22\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"set logscale x 2\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"set logscale y 10\00", align 1
@.str.5 = private unnamed_addr constant [144 x i8] c"plot 'data.temp' u 1:2 title 'VEGAS' w l, 'data.temp' u 1:3 title 'Handmade Integrator' w l, 'data.temp' u 1:4 title 'Dipole Approximation' w l\00", align 1
@__const.pfun.commandsForGnuplot = private unnamed_addr constant [6 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16
@.str.6 = private unnamed_addr constant [10 x i8] c"data.temp\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"gnuplot -persistent\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"%lf %lf %lf %lf\0A\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"%s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pfun(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca [6 x ptr], align 16
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.pfun.commandsForGnuplot, i64 48, i1 false)
%16 = call ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.7)
store ptr %16, ptr %12, align 8
%17 = call ptr @popen(ptr noundef @.str.8, ptr noundef @.str.7)
store ptr %17, ptr %13, align 8
store i32 0, ptr %15, align 4
br label %18
18: ; preds = %45, %5
%19 = load i32, ptr %15, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %48
22: ; preds = %18
%23 = load ptr, ptr %12, align 8
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %15, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
%28 = load double, ptr %27, align 8
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %15, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
%33 = load double, ptr %32, align 8
%34 = load ptr, ptr %8, align 8
%35 = load i32, ptr %15, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double, ptr %34, i64 %36
%38 = load double, ptr %37, align 8
%39 = load ptr, ptr %9, align 8
%40 = load i32, ptr %15, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %39, i64 %41
%43 = load double, ptr %42, align 8
%44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.9, double noundef %28, double noundef %33, double noundef %38, double noundef %43)
br label %45
45: ; preds = %22
%46 = load i32, ptr %15, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %15, align 4
br label %18, !llvm.loop !6
48: ; preds = %18
store i32 0, ptr %14, align 4
br label %49
49: ; preds = %59, %48
%50 = load i32, ptr %14, align 4
%51 = icmp slt i32 %50, 6
br i1 %51, label %52, label %62
52: ; preds = %49
%53 = load ptr, ptr %13, align 8
%54 = load i32, ptr %14, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [6 x ptr], ptr %11, i64 0, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.10, ptr noundef %57)
br label %59
59: ; preds = %52
%60 = load i32, ptr %14, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %14, align 4
br label %49, !llvm.loop !8
62: ; preds = %49
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare ptr @popen(ptr noundef, ptr noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl7ibdsw_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"set terminal png\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"set output 'energy.png'\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"set title \22Integral Values as a Function of Distance\22\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"set logscale x 2\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"set logscale y 10\00", align 1
@.str.5 = private unnamed_addr constant [144 x i8] c"plot 'data.temp' u 1:2 title 'VEGAS' w l, 'data.temp' u 1:3 title 'Handmade Integrator' w l, 'data.temp' u 1:4 title 'Dipole Approximation' w l\00", align 1
@__const.pfun.commandsForGnuplot = private unnamed_addr constant [6 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 16
@.str.6 = private unnamed_addr constant [10 x i8] c"data.temp\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"gnuplot -persistent\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"%lf %lf %lf %lf\0A\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"%s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pfun(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca [6 x ptr], align 16
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.pfun.commandsForGnuplot, i64 48, i1 false)
%16 = call ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.7)
store ptr %16, ptr %12, align 8
%17 = call ptr @popen(ptr noundef @.str.8, ptr noundef @.str.7)
store ptr %17, ptr %13, align 8
store i32 0, ptr %15, align 4
%18 = load i32, ptr %15, align 4
%19 = load i32, ptr %10, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %50
.lr.ph: ; preds = %5
br label %21
21: ; preds = %.lr.ph, %44
%22 = load ptr, ptr %12, align 8
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %15, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %15, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, ptr %28, i64 %30
%32 = load double, ptr %31, align 8
%33 = load ptr, ptr %8, align 8
%34 = load i32, ptr %15, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %33, i64 %35
%37 = load double, ptr %36, align 8
%38 = load ptr, ptr %9, align 8
%39 = load i32, ptr %15, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %38, i64 %40
%42 = load double, ptr %41, align 8
%43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef @.str.9, double noundef %27, double noundef %32, double noundef %37, double noundef %42)
br label %44
44: ; preds = %21
%45 = load i32, ptr %15, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %15, align 4
%47 = load i32, ptr %15, align 4
%48 = load i32, ptr %10, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %5
store i32 0, ptr %14, align 4
%51 = load i32, ptr %14, align 4
%52 = icmp slt i32 %51, 6
br i1 %52, label %.lr.ph2, label %65
.lr.ph2: ; preds = %50
br label %53
53: ; preds = %.lr.ph2, %60
%54 = load ptr, ptr %13, align 8
%55 = load i32, ptr %14, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [6 x ptr], ptr %11, i64 0, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.10, ptr noundef %58)
br label %60
60: ; preds = %53
%61 = load i32, ptr %14, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %14, align 4
%63 = load i32, ptr %14, align 4
%64 = icmp slt i32 %63, 6
br i1 %64, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %60
br label %65
65: ; preds = %._crit_edge3, %50
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare ptr @popen(ptr noundef, ptr noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpf3vwsjyt.c'
source_filename = "/tmp/tmpf3vwsjyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XEvent_xdestroywindow_serial(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_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
ret i64 %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/tmpf3vwsjyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XEvent_xdestroywindow_serial(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_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
ret i64 %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/tmp9f1ew1q0.c'
source_filename = "/tmp/tmp9f1ew1q0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @f(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @sin(float noundef %3)
%5 = call float @sqrt(i32 noundef %4)
ret float %5
}
declare float @sqrt(i32 noundef) #1
declare i32 @sin(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9f1ew1q0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @f(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @sin(float noundef %3)
%5 = call float @sqrt(i32 noundef %4)
ret float %5
}
declare float @sqrt(i32 noundef) #1
declare i32 @sin(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuv1wq07v.c'
source_filename = "/tmp/tmpuv1wq07v.c"
target datalayout = "e-m:e-p270: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/tmpuv1wq07v.c"
target datalayout = "e-m:e-p270: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/tmprqx7fph1.c'
source_filename = "/tmp/tmprqx7fph1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[cb,%s] (%s L:%d I:%u) %s\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"[cb,%s] (%s L:%d) %s. I=%p\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"[cb,%s] (%s L:%d) %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pcbc_log_formatter(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca [1024 x i8], align 16
%22 = alloca i32, align 4
store ptr %0, ptr %11, align 8
store i32 %1, ptr %12, align 4
store ptr %2, ptr %13, align 8
store ptr %3, ptr %14, align 8
store i32 %4, ptr %15, align 4
store i32 %5, ptr %16, align 4
store ptr %6, ptr %17, align 8
store i32 %7, ptr %18, align 4
store ptr %8, ptr %19, align 8
store i32 %9, ptr %20, align 4
call void @llvm.memset.p0.i64(ptr align 16 %21, i8 0, i64 1024, i1 false)
%23 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 0
%24 = load ptr, ptr %19, align 8
%25 = load i32, ptr %20, align 4
%26 = call i32 @vsnprintf(ptr noundef %23, i32 noundef 1024, ptr noundef %24, i32 noundef %25)
%27 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 1023
store i8 0, ptr %27, align 1
store i32 0, ptr %22, align 4
br label %28
28: ; preds = %50, %10
%29 = load i32, ptr %22, align 4
%30 = icmp slt i32 %29, 1024
br i1 %30, label %31, label %53
31: ; preds = %28
%32 = load i32, ptr %22, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 10
br i1 %37, label %45, label %38
38: ; preds = %31
%39 = load i32, ptr %22, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 13
br i1 %44, label %45, label %49
45: ; preds = %38, %31
%46 = load i32, ptr %22, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 %47
store i8 32, ptr %48, align 1
br label %49
49: ; preds = %45, %38
br label %50
50: ; preds = %49
%51 = load i32, ptr %22, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %22, align 4
br label %28, !llvm.loop !6
53: ; preds = %28
%54 = load i32, ptr %18, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %65
56: ; preds = %53
%57 = load ptr, ptr %11, align 8
%58 = load i32, ptr %12, align 4
%59 = load ptr, ptr %13, align 8
%60 = load ptr, ptr %14, align 8
%61 = load i32, ptr %15, align 4
%62 = load i32, ptr %16, align 4
%63 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 0
%64 = call i32 (ptr, i32, ptr, ptr, ptr, i32, ...) @snprintf(ptr noundef %57, i32 noundef %58, ptr noundef @.str, ptr noundef %59, ptr noundef %60, i32 noundef %61, i32 noundef %62, ptr noundef %63)
br label %86
65: ; preds = %53
%66 = load ptr, ptr %17, align 8
%67 = icmp ne ptr %66, null
br i1 %67, label %68, label %77
68: ; preds = %65
%69 = load ptr, ptr %11, align 8
%70 = load i32, ptr %12, align 4
%71 = load ptr, ptr %13, align 8
%72 = load ptr, ptr %14, align 8
%73 = load i32, ptr %15, align 4
%74 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 0
%75 = load ptr, ptr %17, align 8
%76 = call i32 (ptr, i32, ptr, ptr, ptr, i32, ...) @snprintf(ptr noundef %69, i32 noundef %70, ptr noundef @.str.1, ptr noundef %71, ptr noundef %72, i32 noundef %73, ptr noundef %74, ptr noundef %75)
br label %85
77: ; preds = %65
%78 = load ptr, ptr %11, align 8
%79 = load i32, ptr %12, align 4
%80 = load ptr, ptr %13, align 8
%81 = load ptr, ptr %14, align 8
%82 = load i32, ptr %15, align 4
%83 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 0
%84 = call i32 (ptr, i32, ptr, ptr, ptr, i32, ...) @snprintf(ptr noundef %78, i32 noundef %79, ptr noundef @.str.2, ptr noundef %80, ptr noundef %81, i32 noundef %82, ptr noundef %83)
br label %85
85: ; preds = %77, %68
br label %86
86: ; preds = %85, %56
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprqx7fph1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[cb,%s] (%s L:%d I:%u) %s\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"[cb,%s] (%s L:%d) %s. I=%p\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"[cb,%s] (%s L:%d) %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pcbc_log_formatter(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca [1024 x i8], align 16
%22 = alloca i32, align 4
store ptr %0, ptr %11, align 8
store i32 %1, ptr %12, align 4
store ptr %2, ptr %13, align 8
store ptr %3, ptr %14, align 8
store i32 %4, ptr %15, align 4
store i32 %5, ptr %16, align 4
store ptr %6, ptr %17, align 8
store i32 %7, ptr %18, align 4
store ptr %8, ptr %19, align 8
store i32 %9, ptr %20, align 4
call void @llvm.memset.p0.i64(ptr align 16 %21, i8 0, i64 1024, i1 false)
%23 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 0
%24 = load ptr, ptr %19, align 8
%25 = load i32, ptr %20, align 4
%26 = call i32 @vsnprintf(ptr noundef %23, i32 noundef 1024, ptr noundef %24, i32 noundef %25)
%27 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 1023
store i8 0, ptr %27, align 1
store i32 0, ptr %22, align 4
%28 = load i32, ptr %22, align 4
%29 = icmp slt i32 %28, 1024
br i1 %29, label %.lr.ph, label %54
.lr.ph: ; preds = %10
br label %30
30: ; preds = %.lr.ph, %49
%31 = load i32, ptr %22, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 10
br i1 %36, label %44, label %37
37: ; preds = %30
%38 = load i32, ptr %22, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 13
br i1 %43, label %44, label %48
44: ; preds = %37, %30
%45 = load i32, ptr %22, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 %46
store i8 32, ptr %47, align 1
br label %48
48: ; preds = %44, %37
br label %49
49: ; preds = %48
%50 = load i32, ptr %22, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %22, align 4
%52 = load i32, ptr %22, align 4
%53 = icmp slt i32 %52, 1024
br i1 %53, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %54
54: ; preds = %._crit_edge, %10
%55 = load i32, ptr %18, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %66
57: ; preds = %54
%58 = load ptr, ptr %11, align 8
%59 = load i32, ptr %12, align 4
%60 = load ptr, ptr %13, align 8
%61 = load ptr, ptr %14, align 8
%62 = load i32, ptr %15, align 4
%63 = load i32, ptr %16, align 4
%64 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 0
%65 = call i32 (ptr, i32, ptr, ptr, ptr, i32, ...) @snprintf(ptr noundef %58, i32 noundef %59, ptr noundef @.str, ptr noundef %60, ptr noundef %61, i32 noundef %62, i32 noundef %63, ptr noundef %64)
br label %87
66: ; preds = %54
%67 = load ptr, ptr %17, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %69, label %78
69: ; preds = %66
%70 = load ptr, ptr %11, align 8
%71 = load i32, ptr %12, align 4
%72 = load ptr, ptr %13, align 8
%73 = load ptr, ptr %14, align 8
%74 = load i32, ptr %15, align 4
%75 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 0
%76 = load ptr, ptr %17, align 8
%77 = call i32 (ptr, i32, ptr, ptr, ptr, i32, ...) @snprintf(ptr noundef %70, i32 noundef %71, ptr noundef @.str.1, ptr noundef %72, ptr noundef %73, i32 noundef %74, ptr noundef %75, ptr noundef %76)
br label %86
78: ; preds = %66
%79 = load ptr, ptr %11, align 8
%80 = load i32, ptr %12, align 4
%81 = load ptr, ptr %13, align 8
%82 = load ptr, ptr %14, align 8
%83 = load i32, ptr %15, align 4
%84 = getelementptr inbounds [1024 x i8], ptr %21, i64 0, i64 0
%85 = call i32 (ptr, i32, ptr, ptr, ptr, i32, ...) @snprintf(ptr noundef %79, i32 noundef %80, ptr noundef @.str.2, ptr noundef %81, ptr noundef %82, i32 noundef %83, ptr noundef %84)
br label %86
86: ; preds = %78, %69
br label %87
87: ; preds = %86, %57
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3v3aa_3n.c'
source_filename = "/tmp/tmp3v3aa_3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isalpha should be 1 for p\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0x70() #0 {
%1 = call i32 @isalpha(i32 noundef 112) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 565, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isalpha(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3v3aa_3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isalpha should be 1 for p\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0x70() #0 {
%1 = call i32 @isalpha(i32 noundef 112) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 565, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isalpha(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.