llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmprspjzo5m.c'
source_filename = "/tmp/tmprspjzo5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CEC_MSG_GIVE_OSD_NAME = dso_local global i32 0, align 4
@CEC_MSG_SET_OSD_NAME = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprspjzo5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CEC_MSG_GIVE_OSD_NAME = dso_local global i32 0, align 4
@CEC_MSG_SET_OSD_NAME = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpokbbj8_q.c'
source_filename = "/tmp/tmpokbbj8_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @extractfname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %4, i64 %7
%9 = getelementptr inbounds i8, ptr %8, i64 -1
store ptr %9, ptr %3, align 8
br label %10
10: ; preds = %22, %1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp uge ptr %11, %12
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 47
br label %20
20: ; preds = %14, %10
%21 = phi i1 [ false, %10 ], [ %19, %14 ]
br i1 %21, label %22, label %25
22: ; preds = %20
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 -1
store ptr %24, ptr %3, align 8
br label %10, !llvm.loop !6
25: ; preds = %20
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 1
ret ptr %27
}
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/tmpokbbj8_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @extractfname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %4, i64 %7
%9 = getelementptr inbounds i8, ptr %8, i64 -1
store ptr %9, ptr %3, align 8
br label %10
10: ; preds = %22, %1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp uge ptr %11, %12
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 47
br label %20
20: ; preds = %14, %10
%21 = phi i1 [ false, %10 ], [ %19, %14 ]
br i1 %21, label %22, label %25
22: ; preds = %20
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 -1
store ptr %24, ptr %3, align 8
br label %10, !llvm.loop !6
25: ; preds = %20
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 1
ret ptr %27
}
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/tmpgm60_wyt.c'
source_filename = "/tmp/tmpgm60_wyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@printVar.ib = internal global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"ia = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"ib = %d\0A\00", align 1
@printVar.chb = internal global i8 0, align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"cha = %c, %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"chb = %c, %d\0A\00", align 1
@printVar.strb = internal global [2 x i8] zeroinitializer, align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"stra = %s, %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"strb = %s, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printVar() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [2 x i8], align 1
%4 = load i32, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr @printVar.ib, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = load i8, ptr %2, align 1
%11 = sext i8 %10 to i32
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9, i32 noundef %11)
%13 = load i8, ptr @printVar.chb, align 1
%14 = sext i8 %13 to i32
%15 = load i8, ptr @printVar.chb, align 1
%16 = sext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14, i32 noundef %16)
%18 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%19 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%20 = call i32 @strlen(ptr noundef %19)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %18, i32 noundef %20)
%22 = call i32 @strlen(ptr noundef @printVar.strb)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @printVar.strb, i32 noundef %22)
ret void
}
declare i32 @printf(ptr 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/tmpgm60_wyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@printVar.ib = internal global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"ia = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"ib = %d\0A\00", align 1
@printVar.chb = internal global i8 0, align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"cha = %c, %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"chb = %c, %d\0A\00", align 1
@printVar.strb = internal global [2 x i8] zeroinitializer, align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"stra = %s, %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"strb = %s, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printVar() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [2 x i8], align 1
%4 = load i32, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr @printVar.ib, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = load i8, ptr %2, align 1
%11 = sext i8 %10 to i32
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9, i32 noundef %11)
%13 = load i8, ptr @printVar.chb, align 1
%14 = sext i8 %13 to i32
%15 = load i8, ptr @printVar.chb, align 1
%16 = sext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14, i32 noundef %16)
%18 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%19 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
%20 = call i32 @strlen(ptr noundef %19)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %18, i32 noundef %20)
%22 = call i32 @strlen(ptr noundef @printVar.strb)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @printVar.strb, i32 noundef %22)
ret void
}
declare i32 @printf(ptr 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/tmpju2k6n9v.c'
source_filename = "/tmp/tmpju2k6n9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRENDPATH_set() #0 {
%1 = call ptr @U_EMR_CORE5_set(i32 noundef 60)
ret ptr %1
}
declare ptr @U_EMR_CORE5_set(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpju2k6n9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRENDPATH_set() #0 {
%1 = call ptr @U_EMR_CORE5_set(i32 noundef 60)
ret ptr %1
}
declare ptr @U_EMR_CORE5_set(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptowq3tay.c'
source_filename = "/tmp/tmptowq3tay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"ATUAL: 4\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @menu4(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 @exibeMenuAnt(i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @exibeMenuAnt(i32 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/tmptowq3tay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"ATUAL: 4\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @menu4(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 @exibeMenuAnt(i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @exibeMenuAnt(i32 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/tmp6qqbq45k.c'
source_filename = "/tmp/tmp6qqbq45k.c"
target datalayout = "e-m:e-p270: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 [63 x i8] c" evalb [-dh][-c n][-e n][-p param_file] gold-file test-file \0A\00", align 1
@.str.1 = private unnamed_addr constant [59 x i8] c" \0A\00", align 1
@.str.2 = private unnamed_addr constant [59 x i8] c" Evaluate bracketing in test-file against gold-file. \0A\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c" Return recall, precision, tag accuracy. \0A\00", align 1
@.str.4 = private unnamed_addr constant [59 x i8] c" <option> \0A\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c" -d debug mode \0A\00", align 1
@.str.6 = private unnamed_addr constant [59 x i8] c" -c n cut-off length forstatistics (def.=40)\0A\00", align 1
@.str.7 = private unnamed_addr constant [59 x i8] c" -e n number of error to kill (default=10) \0A\00", align 1
@.str.8 = private unnamed_addr constant [59 x i8] c" -p param_file parameter file \0A\00", align 1
@.str.9 = private unnamed_addr constant [59 x i8] c" -h help \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)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.1)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.4)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.5)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.6)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.7)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.8)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.9)
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/tmp6qqbq45k.c"
target datalayout = "e-m:e-p270: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 [63 x i8] c" evalb [-dh][-c n][-e n][-p param_file] gold-file test-file \0A\00", align 1
@.str.1 = private unnamed_addr constant [59 x i8] c" \0A\00", align 1
@.str.2 = private unnamed_addr constant [59 x i8] c" Evaluate bracketing in test-file against gold-file. \0A\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c" Return recall, precision, tag accuracy. \0A\00", align 1
@.str.4 = private unnamed_addr constant [59 x i8] c" <option> \0A\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c" -d debug mode \0A\00", align 1
@.str.6 = private unnamed_addr constant [59 x i8] c" -c n cut-off length forstatistics (def.=40)\0A\00", align 1
@.str.7 = private unnamed_addr constant [59 x i8] c" -e n number of error to kill (default=10) \0A\00", align 1
@.str.8 = private unnamed_addr constant [59 x i8] c" -p param_file parameter file \0A\00", align 1
@.str.9 = private unnamed_addr constant [59 x i8] c" -h help \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)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.1)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.4)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.5)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.6)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.7)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.8)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str.9)
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/tmp769lybxj.c'
source_filename = "/tmp/tmp769lybxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @varithimm_229_uint32_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %30, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %33
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i64, ptr %11, i64 %13
%15 = load i64, ptr %14, align 8
%16 = icmp sgt i64 %15, 229
br i1 %16, label %17, label %23
17: ; preds = %10
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i64, ptr %18, i64 %20
%22 = load i64, ptr %21, align 8
br label %24
23: ; preds = %10
br label %24
24: ; preds = %23, %17
%25 = phi i64 [ %22, %17 ], [ 229, %23 ]
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i64, ptr %26, i64 %28
store i64 %25, ptr %29, align 8
br label %30
30: ; preds = %24
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
br label %6, !llvm.loop !6
33: ; preds = %6
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp769lybxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @varithimm_229_uint32_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %35
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %29
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i64, ptr %10, i64 %12
%14 = load i64, ptr %13, align 8
%15 = icmp sgt i64 %14, 229
br i1 %15, label %16, label %22
16: ; preds = %9
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i64, ptr %17, i64 %19
%21 = load i64, ptr %20, align 8
br label %23
22: ; preds = %9
br label %23
23: ; preds = %22, %16
%24 = phi i64 [ %21, %16 ], [ 229, %22 ]
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i64, ptr %25, i64 %27
store i64 %24, ptr %28, align 8
br label %29
29: ; preds = %23
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %2
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0yq5jsgc.c'
source_filename = "/tmp/tmp0yq5jsgc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"yellow mold\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"DMG 105\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"%d: n/a hp (destroyed by sunlight, fire)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yellowmold(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @nicename(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %15, %1
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp ult i32 %7, %8
br i1 %9, label %10, label %18
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
%13 = call i32 @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = call i32 @putchar(i8 noundef signext 10)
br label %15
15: ; preds = %10
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %6, !llvm.loop !6
18: ; preds = %6
%19 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @nicename(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #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/tmp0yq5jsgc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"yellow mold\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"DMG 105\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"%d: n/a hp (destroyed by sunlight, fire)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yellowmold(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @nicename(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp ult i32 %6, %7
br i1 %8, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %14
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
%12 = call i32 @printf(ptr noundef @.str.2, i32 noundef %11)
%13 = call i32 @putchar(i8 noundef signext 10)
br label %14
14: ; preds = %9
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp ult i32 %17, %18
br i1 %19, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %20
20: ; preds = %._crit_edge, %1
%21 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @nicename(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #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/tmpaz6lrqwq.c'
source_filename = "/tmp/tmpaz6lrqwq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binary_search(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i64, ptr %6, align 8
%12 = sub i64 %11, 1
%13 = trunc i64 %12 to i32
store i32 %13, ptr %9, align 4
br label %14
14: ; preds = %48, %3
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %9, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %49
18: ; preds = %14
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %8, align 4
%22 = sub nsw i32 %20, %21
%23 = sdiv i32 %22, 2
%24 = add nsw i32 %19, %23
store i32 %24, ptr %10, align 4
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp eq i32 %29, %30
br i1 %31, label %32, label %34
32: ; preds = %18
%33 = load i32, ptr %10, align 4
store i32 %33, ptr %4, align 4
br label %50
34: ; preds = %18
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %45
42: ; preds = %34
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %8, align 4
br label %48
45: ; preds = %34
%46 = load i32, ptr %10, align 4
%47 = sub nsw i32 %46, 1
store i32 %47, ptr %9, align 4
br label %48
48: ; preds = %45, %42
br label %14, !llvm.loop !6
49: ; preds = %14
store i32 -1, ptr %4, align 4
br label %50
50: ; preds = %49, %32
%51 = load i32, ptr %4, align 4
ret i32 %51
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpaz6lrqwq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binary_search(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i64, ptr %6, align 8
%12 = sub i64 %11, 1
%13 = trunc i64 %12 to i32
store i32 %13, ptr %9, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %.lr.ph, label %51
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %47
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %8, align 4
%21 = sub nsw i32 %19, %20
%22 = sdiv i32 %21, 2
%23 = add nsw i32 %18, %22
store i32 %23, ptr %10, align 4
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %10, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp eq i32 %28, %29
br i1 %30, label %31, label %33
31: ; preds = %17
%32 = load i32, ptr %10, align 4
store i32 %32, ptr %4, align 4
br label %52
33: ; preds = %17
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %44
41: ; preds = %33
%42 = load i32, ptr %10, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
br label %47
44: ; preds = %33
%45 = load i32, ptr %10, align 4
%46 = sub nsw i32 %45, 1
store i32 %46, ptr %9, align 4
br label %47
47: ; preds = %44, %41
%48 = load i32, ptr %8, align 4
%49 = load i32, ptr %9, align 4
%50 = icmp sle i32 %48, %49
br i1 %50, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %51
51: ; preds = %._crit_edge, %3
store i32 -1, ptr %4, align 4
br label %52
52: ; preds = %51, %31
%53 = load i32, ptr %4, align 4
ret i32 %53
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp792k5636.c'
source_filename = "/tmp/tmp792k5636.c"
target datalayout = "e-m:e-p270: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.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @library_load, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define internal void @library_load() #0 {
%1 = call i32 (...) @updater_load()
ret void
}
declare i32 @updater_load(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp792k5636.c"
target datalayout = "e-m:e-p270: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.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @library_load, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define internal void @library_load() #0 {
%1 = call i32 (...) @updater_load()
ret void
}
declare i32 @updater_load(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4o3351i4.c'
source_filename = "/tmp/tmp4o3351i4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @ent_num()
ret i32 0
}
declare i32 @ent_num(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4o3351i4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @ent_num()
ret i32 0
}
declare i32 @ent_num(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcppxcs7k.c'
source_filename = "/tmp/tmpcppxcs7k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"</pre>\0A</div>\0A</body>\0A</html>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_html_end(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 @fputs(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @fputs(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/tmpcppxcs7k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"</pre>\0A</div>\0A</body>\0A</html>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_html_end(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 @fputs(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @fputs(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/tmp4aoy6cgw.c'
source_filename = "/tmp/tmp4aoy6cgw.c"
target datalayout = "e-m:e-p270: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/tmp4aoy6cgw.c"
target datalayout = "e-m:e-p270: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/tmpfju4596x.c'
source_filename = "/tmp/tmpfju4596x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bounce_f_io(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = load float, ptr %6, align 4
%10 = call float @bounce_io(float noundef %7, float noundef %8, float noundef %9)
ret float %10
}
declare float @bounce_io(float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfju4596x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bounce_f_io(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = load float, ptr %6, align 4
%10 = call float @bounce_io(float noundef %7, float noundef %8, float noundef %9)
ret float %10
}
declare float @bounce_io(float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph78jx96j.c'
source_filename = "/tmp/tmph78jx96j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gas_acc(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) #0 {
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
store ptr %0, ptr %14, align 8
store ptr %1, ptr %15, align 8
store ptr %2, ptr %16, align 8
store ptr %3, ptr %17, align 8
store ptr %4, ptr %18, align 8
store ptr %5, ptr %19, align 8
store ptr %6, ptr %20, align 8
store ptr %7, ptr %21, align 8
store ptr %8, ptr %22, align 8
store ptr %9, ptr %23, align 8
store ptr %10, ptr %24, align 8
store ptr %11, ptr %25, align 8
store ptr %12, ptr %26, align 8
store i32 0, ptr %27, align 4
br label %34
34: ; preds = %241, %13
%35 = load i32, ptr %27, align 4
%36 = load ptr, ptr %14, align 8
%37 = load i32, ptr %36, align 4
%38 = icmp slt i32 %35, %37
br i1 %38, label %39, label %244
39: ; preds = %34
%40 = load ptr, ptr %15, align 8
%41 = load i32, ptr %27, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load i32, ptr %43, align 4
%45 = icmp eq i32 %44, 1
br i1 %45, label %53, label %46
46: ; preds = %39
%47 = load ptr, ptr %15, align 8
%48 = load i32, ptr %27, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = icmp eq i32 %51, 2
br i1 %52, label %53, label %240
53: ; preds = %46, %39
%54 = load ptr, ptr %16, align 8
%55 = load double, ptr %54, align 8
%56 = fdiv double %55, 1.000000e-03
%57 = fmul double 3.000000e+01, %56
%58 = load ptr, ptr %17, align 8
%59 = load i32, ptr %27, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
%62 = load double, ptr %61, align 8
%63 = call double @pow(double noundef %62, double noundef 5.000000e-01) #3
%64 = fmul double %57, %63
%65 = load ptr, ptr %18, align 8
%66 = load double, ptr %65, align 8
%67 = fdiv double %66, 3.839000e+33
%68 = call double @pow(double noundef %67, double noundef 2.500000e-01) #3
%69 = fmul double %64, %68
%70 = fmul double %69, 5.972580e+27
store double %70, ptr %28, align 8
%71 = load ptr, ptr %17, align 8
%72 = load i32, ptr %27, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %71, i64 %73
%75 = load double, ptr %74, align 8
%76 = call double @pow(double noundef %75, double noundef 7.500000e-01) #3
%77 = fmul double 9.500000e+02, %76
%78 = load ptr, ptr %18, align 8
%79 = load double, ptr %78, align 8
%80 = fdiv double %79, 3.839000e+33
%81 = call double @pow(double noundef %80, double noundef 3.750000e-01) #3
%82 = fmul double %77, %81
%83 = load ptr, ptr %19, align 8
%84 = load double, ptr %83, align 8
%85 = fdiv double %84, 1.988400e+33
%86 = call double @pow(double noundef %85, double noundef -5.000000e-01) #3
%87 = fmul double %82, %86
%88 = fmul double %87, 5.972580e+27
store double %88, ptr %29, align 8
%89 = load ptr, ptr %20, align 8
%90 = load double, ptr %89, align 8
%91 = call double @pow(double noundef 1.000000e+01, double noundef %90) #3
%92 = load ptr, ptr %21, align 8
%93 = load i32, ptr %27, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double, ptr %92, i64 %94
%96 = load double, ptr %95, align 8
%97 = fdiv double %96, 5.972580e+27
%98 = load ptr, ptr %22, align 8
%99 = load double, ptr %98, align 8
%100 = fneg double %99
%101 = call double @pow(double noundef %97, double noundef %100) #3
%102 = fmul double %91, %101
store double %102, ptr %30, align 8
%103 = load ptr, ptr %23, align 8
%104 = load double, ptr %103, align 8
%105 = fmul double 3.000000e-09, %104
%106 = load ptr, ptr %16, align 8
%107 = load double, ptr %106, align 8
%108 = fdiv double %107, 1.000000e-03
%109 = fmul double %105, %108
%110 = load ptr, ptr %19, align 8
%111 = load double, ptr %110, align 8
%112 = fmul double %109, %111
store double %112, ptr %31, align 8
%113 = load ptr, ptr %21, align 8
%114 = load i32, ptr %27, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds double, ptr %113, i64 %115
%117 = load double, ptr %116, align 8
%118 = load double, ptr %30, align 8
%119 = fdiv double %117, %118
%120 = load double, ptr %31, align 8
%121 = fcmp olt double %119, %120
br i1 %121, label %122, label %130
122: ; preds = %53
%123 = load ptr, ptr %21, align 8
%124 = load i32, ptr %27, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds double, ptr %123, i64 %125
%127 = load double, ptr %126, align 8
%128 = load double, ptr %30, align 8
%129 = fdiv double %127, %128
store double %129, ptr %32, align 8
br label %132
130: ; preds = %53
%131 = load double, ptr %31, align 8
store double %131, ptr %32, align 8
br label %132
132: ; preds = %130, %122
%133 = load ptr, ptr %21, align 8
%134 = load i32, ptr %27, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds double, ptr %133, i64 %135
%137 = load double, ptr %136, align 8
%138 = load double, ptr %28, align 8
%139 = fcmp olt double %137, %138
br i1 %139, label %140, label %141
140: ; preds = %132
store double 1.000000e+00, ptr %33, align 8
br label %167
141: ; preds = %132
%142 = load ptr, ptr %21, align 8
%143 = load i32, ptr %27, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds double, ptr %142, i64 %144
%146 = load double, ptr %145, align 8
%147 = load double, ptr %29, align 8
%148 = fcmp ogt double %146, %147
br i1 %148, label %149, label %150
149: ; preds = %141
store double 0.000000e+00, ptr %33, align 8
br label %166
150: ; preds = %141
%151 = load ptr, ptr %21, align 8
%152 = load i32, ptr %27, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds double, ptr %151, i64 %153
%155 = load double, ptr %154, align 8
%156 = call double @log10(double noundef %155) #3
%157 = load double, ptr %28, align 8
%158 = call double @log10(double noundef %157) #3
%159 = fsub double %156, %158
%160 = load double, ptr %29, align 8
%161 = call double @log10(double noundef %160) #3
%162 = load double, ptr %28, align 8
%163 = call double @log10(double noundef %162) #3
%164 = fsub double %161, %163
%165 = fdiv double %159, %164
store double %165, ptr %33, align 8
br label %166
166: ; preds = %150, %149
br label %167
167: ; preds = %166, %140
%168 = load ptr, ptr %25, align 8
%169 = load double, ptr %168, align 8
%170 = load double, ptr %33, align 8
%171 = fmul double %169, %170
%172 = load double, ptr %32, align 8
%173 = load ptr, ptr %24, align 8
%174 = load i32, ptr %27, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds double, ptr %173, i64 %175
%177 = load double, ptr %176, align 8
%178 = call double @llvm.fmuladd.f64(double %171, double %172, double %177)
store double %178, ptr %176, align 8
%179 = load ptr, ptr %26, align 8
%180 = load i32, ptr %27, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds double, ptr %179, i64 %181
%183 = load double, ptr %182, align 8
%184 = load ptr, ptr %24, align 8
%185 = load i32, ptr %27, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds double, ptr %184, i64 %186
%188 = load double, ptr %187, align 8
%189 = fadd double %183, %188
%190 = load ptr, ptr %21, align 8
%191 = load i32, ptr %27, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds double, ptr %190, i64 %192
store double %189, ptr %193, align 8
%194 = load ptr, ptr %21, align 8
%195 = load i32, ptr %27, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds double, ptr %194, i64 %196
%198 = load double, ptr %197, align 8
%199 = load double, ptr %28, align 8
%200 = fcmp ogt double %198, %199
br i1 %200, label %201, label %206
201: ; preds = %167
%202 = load ptr, ptr %15, align 8
%203 = load i32, ptr %27, align 4
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds i32, ptr %202, i64 %204
store i32 2, ptr %205, align 4
br label %206
206: ; preds = %201, %167
%207 = load ptr, ptr %21, align 8
%208 = load i32, ptr %27, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds double, ptr %207, i64 %209
%211 = load double, ptr %210, align 8
%212 = load double, ptr %29, align 8
%213 = fcmp ogt double %211, %212
br i1 %213, label %214, label %239
214: ; preds = %206
%215 = load double, ptr %29, align 8
%216 = load ptr, ptr %21, align 8
%217 = load i32, ptr %27, align 4
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds double, ptr %216, i64 %218
store double %215, ptr %219, align 8
%220 = load ptr, ptr %21, align 8
%221 = load i32, ptr %27, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds double, ptr %220, i64 %222
%224 = load double, ptr %223, align 8
%225 = load ptr, ptr %26, align 8
%226 = load i32, ptr %27, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds double, ptr %225, i64 %227
%229 = load double, ptr %228, align 8
%230 = fsub double %224, %229
%231 = load ptr, ptr %24, align 8
%232 = load i32, ptr %27, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds double, ptr %231, i64 %233
store double %230, ptr %234, align 8
%235 = load ptr, ptr %15, align 8
%236 = load i32, ptr %27, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds i32, ptr %235, i64 %237
store i32 3, ptr %238, align 4
br label %239
239: ; preds = %214, %206
br label %240
240: ; preds = %239, %46
br label %241
241: ; preds = %240
%242 = load i32, ptr %27, align 4
%243 = add nsw i32 %242, 1
store i32 %243, ptr %27, align 4
br label %34, !llvm.loop !6
244: ; preds = %34
ret void
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @log10(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph78jx96j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gas_acc(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) #0 {
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
%32 = alloca double, align 8
%33 = alloca double, align 8
store ptr %0, ptr %14, align 8
store ptr %1, ptr %15, align 8
store ptr %2, ptr %16, align 8
store ptr %3, ptr %17, align 8
store ptr %4, ptr %18, align 8
store ptr %5, ptr %19, align 8
store ptr %6, ptr %20, align 8
store ptr %7, ptr %21, align 8
store ptr %8, ptr %22, align 8
store ptr %9, ptr %23, align 8
store ptr %10, ptr %24, align 8
store ptr %11, ptr %25, align 8
store ptr %12, ptr %26, align 8
store i32 0, ptr %27, align 4
%34 = load i32, ptr %27, align 4
%35 = load ptr, ptr %14, align 8
%36 = load i32, ptr %35, align 4
%37 = icmp slt i32 %34, %36
br i1 %37, label %.lr.ph, label %247
.lr.ph: ; preds = %13
br label %38
38: ; preds = %.lr.ph, %240
%39 = load ptr, ptr %15, align 8
%40 = load i32, ptr %27, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = load i32, ptr %42, align 4
%44 = icmp eq i32 %43, 1
br i1 %44, label %52, label %45
45: ; preds = %38
%46 = load ptr, ptr %15, align 8
%47 = load i32, ptr %27, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4
%51 = icmp eq i32 %50, 2
br i1 %51, label %52, label %239
52: ; preds = %45, %38
%53 = load ptr, ptr %16, align 8
%54 = load double, ptr %53, align 8
%55 = fdiv double %54, 1.000000e-03
%56 = fmul double 3.000000e+01, %55
%57 = load ptr, ptr %17, align 8
%58 = load i32, ptr %27, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %57, i64 %59
%61 = load double, ptr %60, align 8
%62 = call double @pow(double noundef %61, double noundef 5.000000e-01) #3
%63 = fmul double %56, %62
%64 = load ptr, ptr %18, align 8
%65 = load double, ptr %64, align 8
%66 = fdiv double %65, 3.839000e+33
%67 = call double @pow(double noundef %66, double noundef 2.500000e-01) #3
%68 = fmul double %63, %67
%69 = fmul double %68, 5.972580e+27
store double %69, ptr %28, align 8
%70 = load ptr, ptr %17, align 8
%71 = load i32, ptr %27, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %70, i64 %72
%74 = load double, ptr %73, align 8
%75 = call double @pow(double noundef %74, double noundef 7.500000e-01) #3
%76 = fmul double 9.500000e+02, %75
%77 = load ptr, ptr %18, align 8
%78 = load double, ptr %77, align 8
%79 = fdiv double %78, 3.839000e+33
%80 = call double @pow(double noundef %79, double noundef 3.750000e-01) #3
%81 = fmul double %76, %80
%82 = load ptr, ptr %19, align 8
%83 = load double, ptr %82, align 8
%84 = fdiv double %83, 1.988400e+33
%85 = call double @pow(double noundef %84, double noundef -5.000000e-01) #3
%86 = fmul double %81, %85
%87 = fmul double %86, 5.972580e+27
store double %87, ptr %29, align 8
%88 = load ptr, ptr %20, align 8
%89 = load double, ptr %88, align 8
%90 = call double @pow(double noundef 1.000000e+01, double noundef %89) #3
%91 = load ptr, ptr %21, align 8
%92 = load i32, ptr %27, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, ptr %91, i64 %93
%95 = load double, ptr %94, align 8
%96 = fdiv double %95, 5.972580e+27
%97 = load ptr, ptr %22, align 8
%98 = load double, ptr %97, align 8
%99 = fneg double %98
%100 = call double @pow(double noundef %96, double noundef %99) #3
%101 = fmul double %90, %100
store double %101, ptr %30, align 8
%102 = load ptr, ptr %23, align 8
%103 = load double, ptr %102, align 8
%104 = fmul double 3.000000e-09, %103
%105 = load ptr, ptr %16, align 8
%106 = load double, ptr %105, align 8
%107 = fdiv double %106, 1.000000e-03
%108 = fmul double %104, %107
%109 = load ptr, ptr %19, align 8
%110 = load double, ptr %109, align 8
%111 = fmul double %108, %110
store double %111, ptr %31, align 8
%112 = load ptr, ptr %21, align 8
%113 = load i32, ptr %27, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %112, i64 %114
%116 = load double, ptr %115, align 8
%117 = load double, ptr %30, align 8
%118 = fdiv double %116, %117
%119 = load double, ptr %31, align 8
%120 = fcmp olt double %118, %119
br i1 %120, label %121, label %129
121: ; preds = %52
%122 = load ptr, ptr %21, align 8
%123 = load i32, ptr %27, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds double, ptr %122, i64 %124
%126 = load double, ptr %125, align 8
%127 = load double, ptr %30, align 8
%128 = fdiv double %126, %127
store double %128, ptr %32, align 8
br label %131
129: ; preds = %52
%130 = load double, ptr %31, align 8
store double %130, ptr %32, align 8
br label %131
131: ; preds = %129, %121
%132 = load ptr, ptr %21, align 8
%133 = load i32, ptr %27, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds double, ptr %132, i64 %134
%136 = load double, ptr %135, align 8
%137 = load double, ptr %28, align 8
%138 = fcmp olt double %136, %137
br i1 %138, label %139, label %140
139: ; preds = %131
store double 1.000000e+00, ptr %33, align 8
br label %166
140: ; preds = %131
%141 = load ptr, ptr %21, align 8
%142 = load i32, ptr %27, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds double, ptr %141, i64 %143
%145 = load double, ptr %144, align 8
%146 = load double, ptr %29, align 8
%147 = fcmp ogt double %145, %146
br i1 %147, label %148, label %149
148: ; preds = %140
store double 0.000000e+00, ptr %33, align 8
br label %165
149: ; preds = %140
%150 = load ptr, ptr %21, align 8
%151 = load i32, ptr %27, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds double, ptr %150, i64 %152
%154 = load double, ptr %153, align 8
%155 = call double @log10(double noundef %154) #3
%156 = load double, ptr %28, align 8
%157 = call double @log10(double noundef %156) #3
%158 = fsub double %155, %157
%159 = load double, ptr %29, align 8
%160 = call double @log10(double noundef %159) #3
%161 = load double, ptr %28, align 8
%162 = call double @log10(double noundef %161) #3
%163 = fsub double %160, %162
%164 = fdiv double %158, %163
store double %164, ptr %33, align 8
br label %165
165: ; preds = %149, %148
br label %166
166: ; preds = %165, %139
%167 = load ptr, ptr %25, align 8
%168 = load double, ptr %167, align 8
%169 = load double, ptr %33, align 8
%170 = fmul double %168, %169
%171 = load double, ptr %32, align 8
%172 = load ptr, ptr %24, align 8
%173 = load i32, ptr %27, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds double, ptr %172, i64 %174
%176 = load double, ptr %175, align 8
%177 = call double @llvm.fmuladd.f64(double %170, double %171, double %176)
store double %177, ptr %175, align 8
%178 = load ptr, ptr %26, align 8
%179 = load i32, ptr %27, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds double, ptr %178, i64 %180
%182 = load double, ptr %181, align 8
%183 = load ptr, ptr %24, align 8
%184 = load i32, ptr %27, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds double, ptr %183, i64 %185
%187 = load double, ptr %186, align 8
%188 = fadd double %182, %187
%189 = load ptr, ptr %21, align 8
%190 = load i32, ptr %27, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds double, ptr %189, i64 %191
store double %188, ptr %192, align 8
%193 = load ptr, ptr %21, align 8
%194 = load i32, ptr %27, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds double, ptr %193, i64 %195
%197 = load double, ptr %196, align 8
%198 = load double, ptr %28, align 8
%199 = fcmp ogt double %197, %198
br i1 %199, label %200, label %205
200: ; preds = %166
%201 = load ptr, ptr %15, align 8
%202 = load i32, ptr %27, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds i32, ptr %201, i64 %203
store i32 2, ptr %204, align 4
br label %205
205: ; preds = %200, %166
%206 = load ptr, ptr %21, align 8
%207 = load i32, ptr %27, align 4
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds double, ptr %206, i64 %208
%210 = load double, ptr %209, align 8
%211 = load double, ptr %29, align 8
%212 = fcmp ogt double %210, %211
br i1 %212, label %213, label %238
213: ; preds = %205
%214 = load double, ptr %29, align 8
%215 = load ptr, ptr %21, align 8
%216 = load i32, ptr %27, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds double, ptr %215, i64 %217
store double %214, ptr %218, align 8
%219 = load ptr, ptr %21, align 8
%220 = load i32, ptr %27, align 4
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds double, ptr %219, i64 %221
%223 = load double, ptr %222, align 8
%224 = load ptr, ptr %26, align 8
%225 = load i32, ptr %27, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds double, ptr %224, i64 %226
%228 = load double, ptr %227, align 8
%229 = fsub double %223, %228
%230 = load ptr, ptr %24, align 8
%231 = load i32, ptr %27, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds double, ptr %230, i64 %232
store double %229, ptr %233, align 8
%234 = load ptr, ptr %15, align 8
%235 = load i32, ptr %27, align 4
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds i32, ptr %234, i64 %236
store i32 3, ptr %237, align 4
br label %238
238: ; preds = %213, %205
br label %239
239: ; preds = %238, %45
br label %240
240: ; preds = %239
%241 = load i32, ptr %27, align 4
%242 = add nsw i32 %241, 1
store i32 %242, ptr %27, align 4
%243 = load i32, ptr %27, align 4
%244 = load ptr, ptr %14, align 8
%245 = load i32, ptr %244, align 4
%246 = icmp slt i32 %243, %245
br i1 %246, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %240
br label %247
247: ; preds = %._crit_edge, %13
ret void
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @log10(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpka60nn3v.c'
source_filename = "/tmp/tmpka60nn3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%.3lf km/l\0A\00", align 1
@.str.3 = 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 double, align 8
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%5 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = sitofp i32 %6 to double
%8 = load double, ptr %3, align 8
%9 = fdiv double %7, %8
%10 = fptosi double %9 to i32
%11 = call i32 @printf(ptr noundef @.str.2, i32 noundef %10)
%12 = call i32 @system(ptr noundef @.str.3)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpka60nn3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%.3lf km/l\0A\00", align 1
@.str.3 = 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 double, align 8
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%5 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = sitofp i32 %6 to double
%8 = load double, ptr %3, align 8
%9 = fdiv double %7, %8
%10 = fptosi double %9 to i32
%11 = call i32 @printf(ptr noundef @.str.2, i32 noundef %10)
%12 = call i32 @system(ptr noundef @.str.3)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphqztm5r0.c'
source_filename = "/tmp/tmphqztm5r0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"giovanna\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"giovanni\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"Not found\00", align 1
@EXIT_SUCCESS = 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 ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @lookup_addr(ptr noundef @.str)
store ptr %4, ptr %2, align 8
%5 = call ptr @lookup_addr(ptr noundef @.str.1)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %13
8: ; preds = %0
%9 = load ptr, ptr %2, align 8
%10 = call i32 @printf(ptr noundef @.str.2, ptr noundef %9)
%11 = call ptr @lookup_mail(ptr noundef @.str)
%12 = call i32 @printf(ptr noundef @.str.2, ptr noundef %11)
br label %15
13: ; preds = %0
%14 = call i32 @puts(ptr noundef @.str.3)
br label %15
15: ; preds = %13, %8
%16 = load ptr, ptr %3, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = call i32 @puts(ptr noundef @.str.3)
br label %20
20: ; preds = %18, %15
%21 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %21
}
declare ptr @lookup_addr(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @lookup_mail(ptr noundef) #1
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/tmphqztm5r0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"giovanna\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"giovanni\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"Not found\00", align 1
@EXIT_SUCCESS = 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 ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @lookup_addr(ptr noundef @.str)
store ptr %4, ptr %2, align 8
%5 = call ptr @lookup_addr(ptr noundef @.str.1)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %13
8: ; preds = %0
%9 = load ptr, ptr %2, align 8
%10 = call i32 @printf(ptr noundef @.str.2, ptr noundef %9)
%11 = call ptr @lookup_mail(ptr noundef @.str)
%12 = call i32 @printf(ptr noundef @.str.2, ptr noundef %11)
br label %15
13: ; preds = %0
%14 = call i32 @puts(ptr noundef @.str.3)
br label %15
15: ; preds = %13, %8
%16 = load ptr, ptr %3, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = call i32 @puts(ptr noundef @.str.3)
br label %20
20: ; preds = %18, %15
%21 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %21
}
declare ptr @lookup_addr(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @lookup_mail(ptr noundef) #1
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/tmpmnx1mpm4.c'
source_filename = "/tmp/tmpmnx1mpm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @path_extname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store ptr null, ptr %2, align 8
br label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call ptr @strrchr(ptr noundef %8, i8 noundef signext 46)
store ptr %9, ptr %2, align 8
br label %10
10: ; preds = %7, %6
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmnx1mpm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @path_extname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store ptr null, ptr %2, align 8
br label %10
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call ptr @strrchr(ptr noundef %8, i8 noundef signext 46)
store ptr %9, ptr %2, align 8
br label %10
10: ; preds = %7, %6
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpszznqb47.c'
source_filename = "/tmp/tmpszznqb47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"implementation pending\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fsm_bimachine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
ret ptr %4
}
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/tmpszznqb47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"implementation pending\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fsm_bimachine(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
ret ptr %4
}
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/tmp3b6f7q41.c'
source_filename = "/tmp/tmp3b6f7q41.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"3x^5 + 2x^4 - 5x^3 - x^2 + 7x - 6\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Enter a value for x: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Polynomial: %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = call double @calc_polynomial(i32 noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare double @calc_polynomial(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/tmp3b6f7q41.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"3x^5 + 2x^4 - 5x^3 - x^2 + 7x - 6\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Enter a value for x: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Polynomial: %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = call double @calc_polynomial(i32 noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare double @calc_polynomial(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/tmpxo7bxb53.c'
source_filename = "/tmp/tmpxo7bxb53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UI_F_UI_DUP_INPUT_STRING = dso_local global i32 0, align 4
@ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4
@UIT_PROMPT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @UI_dup_input_string(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store ptr null, ptr %14, align 8
%15 = load ptr, ptr %9, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %27
17: ; preds = %6
%18 = load ptr, ptr %9, align 8
%19 = call ptr @strdup(ptr noundef %18)
store ptr %19, ptr %14, align 8
%20 = load ptr, ptr %14, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = load i32, ptr @UI_F_UI_DUP_INPUT_STRING, align 4
%24 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4
%25 = call i32 @UIerr(i32 noundef %23, i32 noundef %24)
store i32 0, ptr %7, align 4
br label %36
26: ; preds = %17
br label %27
27: ; preds = %26, %6
%28 = load ptr, ptr %8, align 8
%29 = load ptr, ptr %14, align 8
%30 = load i32, ptr @UIT_PROMPT, align 4
%31 = load i32, ptr %10, align 4
%32 = load ptr, ptr %11, align 8
%33 = load i32, ptr %12, align 4
%34 = load i32, ptr %13, align 4
%35 = call i32 @general_allocate_string(ptr noundef %28, ptr noundef %29, i32 noundef 1, i32 noundef %30, i32 noundef %31, ptr noundef %32, i32 noundef %33, i32 noundef %34, ptr noundef null)
store i32 %35, ptr %7, align 4
br label %36
36: ; preds = %27, %22
%37 = load i32, ptr %7, align 4
ret i32 %37
}
declare ptr @strdup(ptr noundef) #1
declare i32 @UIerr(i32 noundef, i32 noundef) #1
declare i32 @general_allocate_string(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxo7bxb53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UI_F_UI_DUP_INPUT_STRING = dso_local global i32 0, align 4
@ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4
@UIT_PROMPT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @UI_dup_input_string(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store ptr null, ptr %14, align 8
%15 = load ptr, ptr %9, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %27
17: ; preds = %6
%18 = load ptr, ptr %9, align 8
%19 = call ptr @strdup(ptr noundef %18)
store ptr %19, ptr %14, align 8
%20 = load ptr, ptr %14, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = load i32, ptr @UI_F_UI_DUP_INPUT_STRING, align 4
%24 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4
%25 = call i32 @UIerr(i32 noundef %23, i32 noundef %24)
store i32 0, ptr %7, align 4
br label %36
26: ; preds = %17
br label %27
27: ; preds = %26, %6
%28 = load ptr, ptr %8, align 8
%29 = load ptr, ptr %14, align 8
%30 = load i32, ptr @UIT_PROMPT, align 4
%31 = load i32, ptr %10, align 4
%32 = load ptr, ptr %11, align 8
%33 = load i32, ptr %12, align 4
%34 = load i32, ptr %13, align 4
%35 = call i32 @general_allocate_string(ptr noundef %28, ptr noundef %29, i32 noundef 1, i32 noundef %30, i32 noundef %31, ptr noundef %32, i32 noundef %33, i32 noundef %34, ptr noundef null)
store i32 %35, ptr %7, align 4
br label %36
36: ; preds = %27, %22
%37 = load i32, ptr %7, align 4
ret i32 %37
}
declare ptr @strdup(ptr noundef) #1
declare i32 @UIerr(i32 noundef, i32 noundef) #1
declare i32 @general_allocate_string(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, 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"}
|
; ModuleID = '/tmp/tmpflp7rpu7.c'
source_filename = "/tmp/tmpflp7rpu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numdivis(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = sitofp i32 %6 to float
%8 = call i32 @sqrt(float noundef %7)
%9 = call i32 @round(i32 noundef %8)
store i32 %9, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %10
10: ; preds = %32, %1
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %35
14: ; preds = %10
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %5, align 4
%17 = srem i32 %15, %16
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %27
19: ; preds = %14
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = mul nsw i32 %20, %21
%23 = load i32, ptr %2, align 4
%24 = icmp eq i32 %22, %23
%25 = zext i1 %24 to i64
%26 = select i1 %24, i32 1, i32 2
br label %28
27: ; preds = %14
br label %28
28: ; preds = %27, %19
%29 = phi i32 [ %26, %19 ], [ 0, %27 ]
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, %29
store i32 %31, ptr %3, align 4
br label %32
32: ; preds = %28
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %10, !llvm.loop !6
35: ; preds = %10
%36 = load i32, ptr %3, align 4
ret i32 %36
}
declare i32 @round(i32 noundef) #1
declare i32 @sqrt(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpflp7rpu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numdivis(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = sitofp i32 %6 to float
%8 = call i32 @sqrt(float noundef %7)
%9 = call i32 @round(i32 noundef %8)
store i32 %9, ptr %4, align 4
store i32 1, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %.lr.ph, label %37
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %31
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %5, align 4
%16 = srem i32 %14, %15
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %26
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = mul nsw i32 %19, %20
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %21, %22
%24 = zext i1 %23 to i64
%25 = select i1 %23, i32 1, i32 2
br label %27
26: ; preds = %13
br label %27
27: ; preds = %26, %18
%28 = phi i32 [ %25, %18 ], [ 0, %26 ]
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, %28
store i32 %30, ptr %3, align 4
br label %31
31: ; preds = %27
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %1
%38 = load i32, ptr %3, align 4
ret i32 %38
}
declare i32 @round(i32 noundef) #1
declare i32 @sqrt(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"}
|
; ModuleID = '/tmp/tmpzen7jy96.c'
source_filename = "/tmp/tmpzen7jy96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Blowfish tests: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"SUCCEEDED\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"FAILED\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 (...) @blowfish_test()
%3 = icmp ne i64 %2, 0
%4 = zext i1 %3 to i64
%5 = select i1 %3, ptr @.str.1, ptr @.str.2
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @blowfish_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzen7jy96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Blowfish tests: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"SUCCEEDED\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"FAILED\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 (...) @blowfish_test()
%3 = icmp ne i64 %2, 0
%4 = zext i1 %3 to i64
%5 = select i1 %3, ptr @.str.1, ptr @.str.2
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @blowfish_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5uc5kif5.c'
source_filename = "/tmp/tmp5uc5kif5.c"
target datalayout = "e-m:e-p270: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/tmp5uc5kif5.c"
target datalayout = "e-m:e-p270: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/tmpg_gelpuc.c'
source_filename = "/tmp/tmpg_gelpuc.c"
target datalayout = "e-m:e-p270: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/tmpg_gelpuc.c"
target datalayout = "e-m:e-p270: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/tmpfu03rbpd.c'
source_filename = "/tmp/tmpfu03rbpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%20.1lf\0A\00", align 1
@EXIT_SUCCESS = 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 [6 x double], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 48, i1 false)
%3 = getelementptr inbounds [6 x double], ptr %2, i32 0, i32 0
store double 4.050000e+01, ptr %3, align 16
%4 = getelementptr inbounds [6 x double], ptr %2, i32 0, i32 1
store double 2.670000e+01, ptr %4, align 8
%5 = getelementptr inbounds [6 x double], ptr %2, i32 0, i32 2
store double 2.190000e+01, ptr %5, align 16
%6 = getelementptr inbounds [6 x double], ptr %2, i32 0, i32 3
store double 1.500000e+00, ptr %6, align 8
%7 = getelementptr inbounds [6 x double], ptr %2, i32 0, i32 4
store double -4.050000e+01, ptr %7, align 16
%8 = getelementptr inbounds [6 x double], ptr %2, i32 0, i32 5
store double -2.340000e+01, ptr %8, align 8
%9 = getelementptr inbounds [6 x double], ptr %2, i64 0, i64 0
%10 = call i32 @sum(ptr noundef %9, i32 noundef 6)
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
%12 = getelementptr inbounds [6 x double], ptr %2, i64 0, i64 0
%13 = call i32 @sum(ptr noundef %12, i32 noundef 2)
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
%15 = getelementptr inbounds [6 x double], ptr %2, i64 0, i64 0
%16 = call i32 @sum(ptr noundef %15, i32 noundef 0)
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
%18 = getelementptr inbounds [6 x double], ptr %2, i64 0, i64 0
%19 = call i32 @sum(ptr noundef %18, i32 noundef 3)
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
%21 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %21
}
; 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 @printf(ptr noundef, i32 noundef) #2
declare i32 @sum(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfu03rbpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%20.1lf\0A\00", align 1
@EXIT_SUCCESS = 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 [6 x double], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 48, i1 false)
%3 = getelementptr inbounds [6 x double], ptr %2, i32 0, i32 0
store double 4.050000e+01, ptr %3, align 16
%4 = getelementptr inbounds [6 x double], ptr %2, i32 0, i32 1
store double 2.670000e+01, ptr %4, align 8
%5 = getelementptr inbounds [6 x double], ptr %2, i32 0, i32 2
store double 2.190000e+01, ptr %5, align 16
%6 = getelementptr inbounds [6 x double], ptr %2, i32 0, i32 3
store double 1.500000e+00, ptr %6, align 8
%7 = getelementptr inbounds [6 x double], ptr %2, i32 0, i32 4
store double -4.050000e+01, ptr %7, align 16
%8 = getelementptr inbounds [6 x double], ptr %2, i32 0, i32 5
store double -2.340000e+01, ptr %8, align 8
%9 = getelementptr inbounds [6 x double], ptr %2, i64 0, i64 0
%10 = call i32 @sum(ptr noundef %9, i32 noundef 6)
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
%12 = getelementptr inbounds [6 x double], ptr %2, i64 0, i64 0
%13 = call i32 @sum(ptr noundef %12, i32 noundef 2)
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
%15 = getelementptr inbounds [6 x double], ptr %2, i64 0, i64 0
%16 = call i32 @sum(ptr noundef %15, i32 noundef 0)
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
%18 = getelementptr inbounds [6 x double], ptr %2, i64 0, i64 0
%19 = call i32 @sum(ptr noundef %18, i32 noundef 3)
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
%21 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %21
}
; 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 @printf(ptr noundef, i32 noundef) #2
declare i32 @sum(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"}
|
; ModuleID = '/tmp/tmpvhcz8acb.c'
source_filename = "/tmp/tmpvhcz8acb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 100, ptr %6, align 4
%7 = call i32 (...) @state_init()
br label %8
8: ; preds = %11, %2
%9 = load i32, ptr %6, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %8
%12 = call i32 @state_input_a(i32 noundef 42)
%13 = call i32 @state_input_b(i32 noundef 14400)
%14 = call i32 @state_input_c(float noundef 0x400921FA00000000)
%15 = call i32 (...) @state_exec()
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 %16, 1
store i32 %17, ptr %6, align 4
br label %8, !llvm.loop !6
18: ; preds = %8
ret i32 0
}
declare i32 @state_init(...) #1
declare i32 @state_input_a(i32 noundef) #1
declare i32 @state_input_b(i32 noundef) #1
declare i32 @state_input_c(float noundef) #1
declare i32 @state_exec(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpvhcz8acb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 100, ptr %6, align 4
%7 = call i32 (...) @state_init()
%8 = load i32, ptr %6, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %.lr.ph, label %19
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %10
%11 = call i32 @state_input_a(i32 noundef 42)
%12 = call i32 @state_input_b(i32 noundef 14400)
%13 = call i32 @state_input_c(float noundef 0x400921FA00000000)
%14 = call i32 (...) @state_exec()
%15 = load i32, ptr %6, align 4
%16 = sub nsw i32 %15, 1
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp sgt i32 %17, 0
br i1 %18, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %19
19: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @state_init(...) #1
declare i32 @state_input_a(i32 noundef) #1
declare i32 @state_input_b(i32 noundef) #1
declare i32 @state_input_c(float noundef) #1
declare i32 @state_exec(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmprco9jwpj.c'
source_filename = "/tmp/tmprco9jwpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Address returned: 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"Address of getlogin: 0x%x\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"User: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [512 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call ptr (...) @getlogin()
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = ptrtoint ptr %9 to i32
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef ptrtoint (ptr @getlogin to i32))
%13 = load ptr, ptr %6, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %13)
%15 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %15)
ret i32 0
}
declare ptr @getlogin(...) #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/tmprco9jwpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Address returned: 0x%x\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"Address of getlogin: 0x%x\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"User: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [512 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call ptr (...) @getlogin()
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = ptrtoint ptr %9 to i32
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef ptrtoint (ptr @getlogin to i32))
%13 = load ptr, ptr %6, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %13)
%15 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %15)
ret i32 0
}
declare ptr @getlogin(...) #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/tmpu6uywz2u.c'
source_filename = "/tmp/tmpu6uywz2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"You only have one argument. You suck.\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Here is your arguments:\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [41 x i8] c"You have too many arguments. You suck.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %38
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 1
br i1 %13, label %14, label %35
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 4
br i1 %16, label %17, label %35
17: ; preds = %14
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
br label %19
19: ; preds = %30, %17
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %33
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28)
br label %30
30: ; preds = %23
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
br label %19, !llvm.loop !6
33: ; preds = %19
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %37
35: ; preds = %14, %11
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %37
37: ; preds = %35, %33
br label %38
38: ; preds = %37, %9
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu6uywz2u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"You only have one argument. You suck.\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Here is your arguments:\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [41 x i8] c"You have too many arguments. You suck.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %40
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 1
br i1 %13, label %14, label %37
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 4
br i1 %16, label %17, label %37
17: ; preds = %14
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %35
.lr.ph: ; preds = %17
br label %22
22: ; preds = %.lr.ph, %29
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27)
br label %29
29: ; preds = %22
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %17
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %39
37: ; preds = %14, %11
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %39
39: ; preds = %37, %35
br label %40
40: ; preds = %39, %9
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"}
|
; ModuleID = '/tmp/tmpdjs065ws.c'
source_filename = "/tmp/tmpdjs065ws.c"
target datalayout = "e-m:e-p270: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/tmpdjs065ws.c"
target datalayout = "e-m:e-p270: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/tmp2rdolwor.c'
source_filename = "/tmp/tmp2rdolwor.c"
target datalayout = "e-m:e-p270: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/tmp2rdolwor.c"
target datalayout = "e-m:e-p270: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/tmpwbiqroco.c'
source_filename = "/tmp/tmpwbiqroco.c"
target datalayout = "e-m:e-p270: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/tmpwbiqroco.c"
target datalayout = "e-m:e-p270: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/tmp4z9pkw6t.c'
source_filename = "/tmp/tmp4z9pkw6t.c"
target datalayout = "e-m:e-p270: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.load_4fsk_config_rx.radio_config = private unnamed_addr constant [363 x i8] c"\07\02\01\00\01\C9\C3\80\08\13\14\02! '\0B\00\06\11\00\02\00R\00\05\11\00\01\03p\08\11\01\04\00\07\18\01\08\08\11\02\04\00\00\00\00\00\0D\11\10\09\00\08\14\00\0F1\00\00\00\00\09\11\11\05\00\09\B4+\00\00\0B\11\12\07\00\84\000\FF\FF\00\22\10\11\12\0C\08\00\00\0000\00|\14\8A\00\00\00\10\11\12\0C\14\00\00\00\00\00\00\00\00\00\00\00\00\10\11\12\0C \00\00\00\00\00\00\00\00\00\00\00\00\0D\11\12\09,\00\00\00\00\00\00\00\00\00\10\11 \0C\00\04\00\07LK@\01\C9\C3\80\00D\05\11 \01\0CD\0C\11 \08\18\04\00\08\03\80\00\000\0D\11 \09\22\00<\08\88\89\06f\02\02\0B\11 \07,\00#\8F\FF\01|\A0\05\11 \015\E2\0D\11 \098\22\07\07\00\02\15U\00'\0D\11 \09B\A4\03\D6\03\02\14\01\F0\FF\05\11 \01L\00\05\11 \01N@\05\11 \01Q\0A\10\11!\0C\00\FF\BA\0FQ\CF\A9\C9\FC\1B\1E\0F\01\10\11!\0C\0C\FC\FD\15\FF\00\0F\FF\BA\0FQ\CF\A9\10\11!\0C\18\C9\FC\1B\1E\0F\01\FC\FD\15\FF\00\0F\05\11\22\01\03]\0B\11#\07\00\01\05\0B\05\02\00\03\10\110\0C\00\00\00\00\00\00\00\00\00\00\00\00\00\0C\11@\08\008\0D\DD\DDDD \FE\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @load_4fsk_config_rx(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [363 x i8], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.load_4fsk_config_rx.radio_config, i64 363, i1 false)
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds [363 x i8], ptr %3, i64 0, i64 0
%7 = call i32 @SI4463_cfg_load(ptr noundef %5, ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
ret i32 %8
}
; 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 @SI4463_cfg_load(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4z9pkw6t.c"
target datalayout = "e-m:e-p270: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.load_4fsk_config_rx.radio_config = private unnamed_addr constant [363 x i8] c"\07\02\01\00\01\C9\C3\80\08\13\14\02! '\0B\00\06\11\00\02\00R\00\05\11\00\01\03p\08\11\01\04\00\07\18\01\08\08\11\02\04\00\00\00\00\00\0D\11\10\09\00\08\14\00\0F1\00\00\00\00\09\11\11\05\00\09\B4+\00\00\0B\11\12\07\00\84\000\FF\FF\00\22\10\11\12\0C\08\00\00\0000\00|\14\8A\00\00\00\10\11\12\0C\14\00\00\00\00\00\00\00\00\00\00\00\00\10\11\12\0C \00\00\00\00\00\00\00\00\00\00\00\00\0D\11\12\09,\00\00\00\00\00\00\00\00\00\10\11 \0C\00\04\00\07LK@\01\C9\C3\80\00D\05\11 \01\0CD\0C\11 \08\18\04\00\08\03\80\00\000\0D\11 \09\22\00<\08\88\89\06f\02\02\0B\11 \07,\00#\8F\FF\01|\A0\05\11 \015\E2\0D\11 \098\22\07\07\00\02\15U\00'\0D\11 \09B\A4\03\D6\03\02\14\01\F0\FF\05\11 \01L\00\05\11 \01N@\05\11 \01Q\0A\10\11!\0C\00\FF\BA\0FQ\CF\A9\C9\FC\1B\1E\0F\01\10\11!\0C\0C\FC\FD\15\FF\00\0F\FF\BA\0FQ\CF\A9\10\11!\0C\18\C9\FC\1B\1E\0F\01\FC\FD\15\FF\00\0F\05\11\22\01\03]\0B\11#\07\00\01\05\0B\05\02\00\03\10\110\0C\00\00\00\00\00\00\00\00\00\00\00\00\00\0C\11@\08\008\0D\DD\DDDD \FE\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @load_4fsk_config_rx(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [363 x i8], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.load_4fsk_config_rx.radio_config, i64 363, i1 false)
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds [363 x i8], ptr %3, i64 0, i64 0
%7 = call i32 @SI4463_cfg_load(ptr noundef %5, ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
ret i32 %8
}
; 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 @SI4463_cfg_load(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"}
|
; ModuleID = '/tmp/tmpy3qy004a.c'
source_filename = "/tmp/tmpy3qy004a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @azo_put_val(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [11 x i8], align 1
%5 = alloca i8, align 1
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %38, %1
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 8
br i1 %8, label %9, label %41
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = mul nsw i32 4, %11
%13 = sub nsw i32 28, %12
%14 = lshr i32 %10, %13
%15 = and i32 %14, 15
%16 = trunc i32 %15 to i8
store i8 %16, ptr %5, align 1
%17 = load i8, ptr %5, align 1
%18 = sext i8 %17 to i32
%19 = icmp sle i32 %18, 9
br i1 %19, label %20, label %28
20: ; preds = %9
%21 = load i8, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = add nsw i32 %22, 48
%24 = trunc i32 %23 to i8
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [11 x i8], ptr %4, i64 0, i64 %26
store i8 %24, ptr %27, align 1
br label %37
28: ; preds = %9
%29 = load i8, ptr %5, align 1
%30 = sext i8 %29 to i32
%31 = add nsw i32 %30, 65
%32 = sub nsw i32 %31, 10
%33 = trunc i32 %32 to i8
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [11 x i8], ptr %4, i64 0, i64 %35
store i8 %33, ptr %36, align 1
br label %37
37: ; preds = %28, %20
br label %38
38: ; preds = %37
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
br label %6, !llvm.loop !6
41: ; preds = %6
%42 = getelementptr inbounds [11 x i8], ptr %4, i64 0, i64 8
store i8 13, ptr %42, align 1
%43 = getelementptr inbounds [11 x i8], ptr %4, i64 0, i64 9
store i8 10, ptr %43, align 1
%44 = getelementptr inbounds [11 x i8], ptr %4, i64 0, i64 10
store i8 0, ptr %44, align 1
%45 = getelementptr inbounds [11 x i8], ptr %4, i64 0, i64 0
%46 = call i32 @azo_put_str(ptr noundef %45)
ret void
}
declare i32 @azo_put_str(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpy3qy004a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @azo_put_val(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [11 x i8], align 1
%5 = alloca i8, align 1
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 8
br i1 %7, label %.lr.ph, label %42
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %37
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = mul nsw i32 4, %10
%12 = sub nsw i32 28, %11
%13 = lshr i32 %9, %12
%14 = and i32 %13, 15
%15 = trunc i32 %14 to i8
store i8 %15, ptr %5, align 1
%16 = load i8, ptr %5, align 1
%17 = sext i8 %16 to i32
%18 = icmp sle i32 %17, 9
br i1 %18, label %19, label %27
19: ; preds = %8
%20 = load i8, ptr %5, align 1
%21 = sext i8 %20 to i32
%22 = add nsw i32 %21, 48
%23 = trunc i32 %22 to i8
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [11 x i8], ptr %4, i64 0, i64 %25
store i8 %23, ptr %26, align 1
br label %36
27: ; preds = %8
%28 = load i8, ptr %5, align 1
%29 = sext i8 %28 to i32
%30 = add nsw i32 %29, 65
%31 = sub nsw i32 %30, 10
%32 = trunc i32 %31 to i8
%33 = load i32, ptr %3, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [11 x i8], ptr %4, i64 0, i64 %34
store i8 %32, ptr %35, align 1
br label %36
36: ; preds = %27, %19
br label %37
37: ; preds = %36
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp slt i32 %40, 8
br i1 %41, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %42
42: ; preds = %._crit_edge, %1
%43 = getelementptr inbounds [11 x i8], ptr %4, i64 0, i64 8
store i8 13, ptr %43, align 1
%44 = getelementptr inbounds [11 x i8], ptr %4, i64 0, i64 9
store i8 10, ptr %44, align 1
%45 = getelementptr inbounds [11 x i8], ptr %4, i64 0, i64 10
store i8 0, ptr %45, align 1
%46 = getelementptr inbounds [11 x i8], ptr %4, i64 0, i64 0
%47 = call i32 @azo_put_str(ptr noundef %46)
ret void
}
declare i32 @azo_put_str(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp018x8rjj.c'
source_filename = "/tmp/tmp018x8rjj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Wrong key shortcut\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Wrong parameters\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @consoleCmdRmap(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
%7 = 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
%8 = load ptr, ptr %4, align 8
%9 = call i32 @hidCodeFromString(ptr noundef %8)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %3
%13 = call i32 @scriptThrowException(ptr noundef @.str)
br label %35
14: ; preds = %3
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 1
br i1 %16, label %24, label %17
17: ; preds = %14
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 1
br i1 %19, label %24, label %20
20: ; preds = %17
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp eq i32 %21, %22
br i1 %23, label %24, label %26
24: ; preds = %20, %17, %14
%25 = call i32 @scriptThrowException(ptr noundef @.str.1)
br label %35
26: ; preds = %20
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %5, align 4
%29 = sub nsw i32 %28, 1
%30 = load i32, ptr %6, align 4
%31 = sub nsw i32 %30, 1
%32 = call i32 @animCreateRot(i32 noundef %29, i32 noundef %31)
%33 = call i32 @hidMapRot(i32 noundef %27, i32 noundef %32)
%34 = call i32 @animDestroyRot(i32 noundef %33)
br label %35
35: ; preds = %26, %24, %12
ret void
}
declare i32 @hidCodeFromString(ptr noundef) #1
declare i32 @scriptThrowException(ptr noundef) #1
declare i32 @animDestroyRot(i32 noundef) #1
declare i32 @hidMapRot(i32 noundef, i32 noundef) #1
declare i32 @animCreateRot(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/tmp018x8rjj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Wrong key shortcut\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Wrong parameters\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @consoleCmdRmap(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
%7 = 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
%8 = load ptr, ptr %4, align 8
%9 = call i32 @hidCodeFromString(ptr noundef %8)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %3
%13 = call i32 @scriptThrowException(ptr noundef @.str)
br label %35
14: ; preds = %3
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 1
br i1 %16, label %24, label %17
17: ; preds = %14
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 1
br i1 %19, label %24, label %20
20: ; preds = %17
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp eq i32 %21, %22
br i1 %23, label %24, label %26
24: ; preds = %20, %17, %14
%25 = call i32 @scriptThrowException(ptr noundef @.str.1)
br label %35
26: ; preds = %20
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %5, align 4
%29 = sub nsw i32 %28, 1
%30 = load i32, ptr %6, align 4
%31 = sub nsw i32 %30, 1
%32 = call i32 @animCreateRot(i32 noundef %29, i32 noundef %31)
%33 = call i32 @hidMapRot(i32 noundef %27, i32 noundef %32)
%34 = call i32 @animDestroyRot(i32 noundef %33)
br label %35
35: ; preds = %26, %24, %12
ret void
}
declare i32 @hidCodeFromString(ptr noundef) #1
declare i32 @scriptThrowException(ptr noundef) #1
declare i32 @animDestroyRot(i32 noundef) #1
declare i32 @hidMapRot(i32 noundef, i32 noundef) #1
declare i32 @animCreateRot(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/tmpxsqgo6lg.c'
source_filename = "/tmp/tmpxsqgo6lg.c"
target datalayout = "e-m:e-p270: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/tmpxsqgo6lg.c"
target datalayout = "e-m:e-p270: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/tmprup1thvc.c'
source_filename = "/tmp/tmprup1thvc.c"
target datalayout = "e-m:e-p270: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/tmprup1thvc.c"
target datalayout = "e-m:e-p270: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/tmpbnt1xkft.c'
source_filename = "/tmp/tmpbnt1xkft.c"
target datalayout = "e-m:e-p270: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/tmpbnt1xkft.c"
target datalayout = "e-m:e-p270: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/tmpv2f4ufg8.c'
source_filename = "/tmp/tmpv2f4ufg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Type in your expression.\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%f %c %f\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Unknown operator.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %4, ptr noundef %3)
%7 = load i8, ptr %4, align 1
%8 = sext i8 %7 to i32
switch i32 %8, label %33 [
i32 43, label %9
i32 45, label %15
i32 42, label %21
i32 47, label %27
]
9: ; preds = %0
%10 = load float, ptr %2, align 4
%11 = load float, ptr %3, align 4
%12 = fadd float %10, %11
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13)
br label %35
15: ; preds = %0
%16 = load float, ptr %2, align 4
%17 = load float, ptr %3, align 4
%18 = fsub float %16, %17
%19 = fpext float %18 to double
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %19)
br label %35
21: ; preds = %0
%22 = load float, ptr %2, align 4
%23 = load float, ptr %3, align 4
%24 = fmul float %22, %23
%25 = fpext float %24 to double
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %25)
br label %35
27: ; preds = %0
%28 = load float, ptr %2, align 4
%29 = load float, ptr %3, align 4
%30 = fdiv float %28, %29
%31 = fpext float %30 to double
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %31)
br label %35
33: ; preds = %0
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %35
35: ; preds = %33, %27, %21, %15, %9
ret i32 0
}
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/tmpv2f4ufg8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Type in your expression.\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%f %c %f\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Unknown operator.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %4, ptr noundef %3)
%7 = load i8, ptr %4, align 1
%8 = sext i8 %7 to i32
switch i32 %8, label %33 [
i32 43, label %9
i32 45, label %15
i32 42, label %21
i32 47, label %27
]
9: ; preds = %0
%10 = load float, ptr %2, align 4
%11 = load float, ptr %3, align 4
%12 = fadd float %10, %11
%13 = fpext float %12 to double
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13)
br label %35
15: ; preds = %0
%16 = load float, ptr %2, align 4
%17 = load float, ptr %3, align 4
%18 = fsub float %16, %17
%19 = fpext float %18 to double
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %19)
br label %35
21: ; preds = %0
%22 = load float, ptr %2, align 4
%23 = load float, ptr %3, align 4
%24 = fmul float %22, %23
%25 = fpext float %24 to double
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %25)
br label %35
27: ; preds = %0
%28 = load float, ptr %2, align 4
%29 = load float, ptr %3, align 4
%30 = fdiv float %28, %29
%31 = fpext float %30 to double
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %31)
br label %35
33: ; preds = %0
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %35
35: ; preds = %33, %27, %21, %15, %9
ret i32 0
}
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/tmp4sw5anhb.c'
source_filename = "/tmp/tmp4sw5anhb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp eq i32 %2, 1
%4 = zext i1 %3 to i32
%5 = call i32 @assert(i32 noundef %4)
ret i32 0
}
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/tmp4sw5anhb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp eq i32 %2, 1
%4 = zext i1 %3 to i32
%5 = call i32 @assert(i32 noundef %4)
ret i32 0
}
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/tmpmvmbrdto.c'
source_filename = "/tmp/tmpmvmbrdto.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Model test OK !\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Model test failed !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @TestModel()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str)
br label %10
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.1)
br label %10
10: ; preds = %8, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @TestModel(...) #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/tmpmvmbrdto.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Model test OK !\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Model test failed !\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @TestModel()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str)
br label %10
8: ; preds = %0
%9 = call i32 @printf(ptr noundef @.str.1)
br label %10
10: ; preds = %8, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @TestModel(...) #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/tmpfrqwns0_.c'
source_filename = "/tmp/tmpfrqwns0_.c"
target datalayout = "e-m:e-p270: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/tmpfrqwns0_.c"
target datalayout = "e-m:e-p270: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/tmp6itt5rt_.c'
source_filename = "/tmp/tmp6itt5rt_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnicmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @strncasecmp(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @strncasecmp(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/tmp6itt5rt_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnicmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @strncasecmp(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @strncasecmp(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/tmp5zzyj5_k.c'
source_filename = "/tmp/tmp5zzyj5_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%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 = %85, %0
%8 = load i32, ptr %1, align 4
%9 = icmp sle i32 %8, 199
br i1 %9, label %10, label %88
10: ; preds = %7
%11 = load i32, ptr %1, align 4
%12 = mul nsw i32 50, %11
%13 = icmp sgt i32 0, %12
br i1 %13, label %14, label %15
14: ; preds = %10
br label %18
15: ; preds = %10
%16 = load i32, ptr %1, align 4
%17 = mul nsw i32 50, %16
br label %18
18: ; preds = %15, %14
%19 = phi i32 [ 0, %14 ], [ %17, %15 ]
store i32 %19, ptr %2, align 4
br label %20
20: ; preds = %43, %18
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %1, align 4
%23 = mul nsw i32 50, %22
%24 = add nsw i32 %23, 24
%25 = icmp sle i32 %21, %24
br i1 %25, label %26, label %46
26: ; preds = %20
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %39, %26
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %31, label %42
31: ; preds = %27
%32 = call i32 @hash(i32 noundef 1)
%33 = load i32, ptr %1, align 4
%34 = call i32 @hash(i32 noundef %33)
%35 = load i32, ptr %2, align 4
%36 = call i32 @hash(i32 noundef %35)
%37 = load i32, ptr %3, align 4
%38 = call i32 @hash(i32 noundef %37)
br label %39
39: ; preds = %31
%40 = load i32, ptr %3, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %3, align 4
br label %27, !llvm.loop !6
42: ; preds = %27
br label %43
43: ; preds = %42
%44 = load i32, ptr %2, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %2, align 4
br label %20, !llvm.loop !8
46: ; preds = %20
%47 = load i32, ptr %1, align 4
%48 = mul nsw i32 50, %47
%49 = add nsw i32 %48, 25
store i32 %49, ptr %2, align 4
br label %50
50: ; preds = %81, %46
%51 = load i32, ptr %2, align 4
%52 = load i32, ptr %1, align 4
%53 = mul nsw i32 50, %52
%54 = add nsw i32 %53, 49
%55 = icmp slt i32 9999, %54
br i1 %55, label %56, label %57
56: ; preds = %50
br label %61
57: ; preds = %50
%58 = load i32, ptr %1, align 4
%59 = mul nsw i32 50, %58
%60 = add nsw i32 %59, 49
br label %61
61: ; preds = %57, %56
%62 = phi i32 [ 9999, %56 ], [ %60, %57 ]
%63 = icmp sle i32 %51, %62
br i1 %63, label %64, label %84
64: ; preds = %61
store i32 0, ptr %3, align 4
br label %65
65: ; preds = %77, %64
%66 = load i32, ptr %3, align 4
%67 = load i32, ptr %2, align 4
%68 = icmp sle i32 %66, %67
br i1 %68, label %69, label %80
69: ; preds = %65
%70 = call i32 @hash(i32 noundef 2)
%71 = load i32, ptr %1, align 4
%72 = call i32 @hash(i32 noundef %71)
%73 = load i32, ptr %2, align 4
%74 = call i32 @hash(i32 noundef %73)
%75 = load i32, ptr %3, align 4
%76 = call i32 @hash(i32 noundef %75)
br label %77
77: ; preds = %69
%78 = load i32, ptr %3, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %3, align 4
br label %65, !llvm.loop !9
80: ; preds = %65
br label %81
81: ; preds = %80
%82 = load i32, ptr %2, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %2, align 4
br label %50, !llvm.loop !10
84: ; preds = %61
br label %85
85: ; preds = %84
%86 = load i32, ptr %1, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %1, align 4
br label %7, !llvm.loop !11
88: ; preds = %7
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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5zzyj5_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = load i32, ptr %1, align 4
%8 = icmp sle i32 %7, 199
br i1 %8, label %.lr.ph8, label %97
.lr.ph8: ; preds = %0
br label %9
9: ; preds = %.lr.ph8, %92
%10 = load i32, ptr %1, align 4
%11 = mul nsw i32 50, %10
%12 = icmp sgt i32 0, %11
br i1 %12, label %13, label %14
13: ; preds = %9
br label %17
14: ; preds = %9
%15 = load i32, ptr %1, align 4
%16 = mul nsw i32 50, %15
br label %17
17: ; preds = %14, %13
%18 = phi i32 [ 0, %13 ], [ %16, %14 ]
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %1, align 4
%21 = mul nsw i32 50, %20
%22 = add nsw i32 %21, 24
%23 = icmp sle i32 %19, %22
br i1 %23, label %.lr.ph2, label %51
.lr.ph2: ; preds = %17
br label %24
24: ; preds = %.lr.ph2, %43
store i32 0, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp sle i32 %25, %26
br i1 %27, label %.lr.ph, label %42
.lr.ph: ; preds = %24
br label %28
28: ; preds = %.lr.ph, %36
%29 = call i32 @hash(i32 noundef 1)
%30 = load i32, ptr %1, align 4
%31 = call i32 @hash(i32 noundef %30)
%32 = load i32, ptr %2, align 4
%33 = call i32 @hash(i32 noundef %32)
%34 = load i32, ptr %3, align 4
%35 = call i32 @hash(i32 noundef %34)
br label %36
36: ; preds = %28
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = load i32, ptr %2, align 4
%41 = icmp sle i32 %39, %40
br i1 %41, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %24
br label %43
43: ; preds = %42
%44 = load i32, ptr %2, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %2, align 4
%46 = load i32, ptr %2, align 4
%47 = load i32, ptr %1, align 4
%48 = mul nsw i32 50, %47
%49 = add nsw i32 %48, 24
%50 = icmp sle i32 %46, %49
br i1 %50, label %24, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %43
br label %51
51: ; preds = %._crit_edge3, %17
%52 = load i32, ptr %1, align 4
%53 = mul nsw i32 50, %52
%54 = add nsw i32 %53, 25
store i32 %54, ptr %2, align 4
br label %55
55: ; preds = %88, %51
%56 = load i32, ptr %2, align 4
%57 = load i32, ptr %1, align 4
%58 = mul nsw i32 50, %57
%59 = add nsw i32 %58, 49
%60 = icmp slt i32 9999, %59
br i1 %60, label %61, label %62
61: ; preds = %55
br label %66
62: ; preds = %55
%63 = load i32, ptr %1, align 4
%64 = mul nsw i32 50, %63
%65 = add nsw i32 %64, 49
br label %66
66: ; preds = %62, %61
%67 = phi i32 [ 9999, %61 ], [ %65, %62 ]
%68 = icmp sle i32 %56, %67
br i1 %68, label %69, label %91
69: ; preds = %66
store i32 0, ptr %3, align 4
%70 = load i32, ptr %3, align 4
%71 = load i32, ptr %2, align 4
%72 = icmp sle i32 %70, %71
br i1 %72, label %.lr.ph5, label %87
.lr.ph5: ; preds = %69
br label %73
73: ; preds = %.lr.ph5, %81
%74 = call i32 @hash(i32 noundef 2)
%75 = load i32, ptr %1, align 4
%76 = call i32 @hash(i32 noundef %75)
%77 = load i32, ptr %2, align 4
%78 = call i32 @hash(i32 noundef %77)
%79 = load i32, ptr %3, align 4
%80 = call i32 @hash(i32 noundef %79)
br label %81
81: ; preds = %73
%82 = load i32, ptr %3, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %3, align 4
%84 = load i32, ptr %3, align 4
%85 = load i32, ptr %2, align 4
%86 = icmp sle i32 %84, %85
br i1 %86, label %73, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %81
br label %87
87: ; preds = %._crit_edge6, %69
br label %88
88: ; preds = %87
%89 = load i32, ptr %2, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %2, align 4
br label %55, !llvm.loop !10
91: ; preds = %66
br label %92
92: ; preds = %91
%93 = load i32, ptr %1, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %1, align 4
%95 = load i32, ptr %1, align 4
%96 = icmp sle i32 %95, 199
br i1 %96, label %9, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %92
br label %97
97: ; preds = %._crit_edge9, %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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp6djo75a7.c'
source_filename = "/tmp/tmp6djo75a7.c"
target datalayout = "e-m:e-p270: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/tmp6djo75a7.c"
target datalayout = "e-m:e-p270: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/tmp06jxm102.c'
source_filename = "/tmp/tmp06jxm102.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @my_getw(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @getc(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @getc(ptr noundef %7)
%9 = shl i32 %8, 8
%10 = or i32 %6, %9
%11 = trunc i32 %10 to i16
ret i16 %11
}
declare i32 @getc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp06jxm102.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @my_getw(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @getc(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @getc(ptr noundef %7)
%9 = shl i32 %8, 8
%10 = or i32 %6, %9
%11 = trunc i32 %10 to i16
ret i16 %11
}
declare i32 @getc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsmu22y8c.c'
source_filename = "/tmp/tmpsmu22y8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"%lld %0.0lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fun(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca double, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%12 = load i64, ptr %3, align 8
store i64 %12, ptr %5, align 8
%13 = load i64, ptr %4, align 8
store i64 %13, ptr %7, align 8
store i64 2, ptr %6, align 8
br label %14
14: ; preds = %58, %2
%15 = load i64, ptr %6, align 8
%16 = load i64, ptr %4, align 8
%17 = icmp sle i64 %15, %16
br i1 %17, label %18, label %61
18: ; preds = %14
%19 = load i64, ptr %7, align 8
%20 = load i64, ptr %6, align 8
%21 = srem i64 %19, %20
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %57
23: ; preds = %18
store i64 0, ptr %9, align 8
br label %24
24: ; preds = %29, %23
%25 = load i64, ptr %7, align 8
%26 = load i64, ptr %6, align 8
%27 = srem i64 %25, %26
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %24
%30 = load i64, ptr %9, align 8
%31 = add nsw i64 %30, 1
store i64 %31, ptr %9, align 8
%32 = load i64, ptr %7, align 8
%33 = load i64, ptr %6, align 8
%34 = sdiv i64 %32, %33
store i64 %34, ptr %7, align 8
br label %24, !llvm.loop !6
35: ; preds = %24
store i64 0, ptr %10, align 8
%36 = load i64, ptr %3, align 8
store i64 %36, ptr %8, align 8
br label %37
37: ; preds = %42, %35
%38 = load i64, ptr %8, align 8
%39 = load i64, ptr %6, align 8
%40 = sdiv i64 %38, %39
%41 = icmp sgt i64 %40, 0
br i1 %41, label %42, label %51
42: ; preds = %37
%43 = load i64, ptr %10, align 8
%44 = load i64, ptr %8, align 8
%45 = load i64, ptr %6, align 8
%46 = sdiv i64 %44, %45
%47 = add nsw i64 %43, %46
store i64 %47, ptr %10, align 8
%48 = load i64, ptr %8, align 8
%49 = load i64, ptr %6, align 8
%50 = sdiv i64 %48, %49
store i64 %50, ptr %8, align 8
br label %37, !llvm.loop !8
51: ; preds = %37
%52 = load i64, ptr %5, align 8
%53 = load i64, ptr %10, align 8
%54 = load i64, ptr %9, align 8
%55 = sdiv i64 %53, %54
%56 = call i64 @min(i64 noundef %52, i64 noundef %55)
store i64 %56, ptr %5, align 8
br label %57
57: ; preds = %51, %18
br label %58
58: ; preds = %57
%59 = load i64, ptr %6, align 8
%60 = add nsw i64 %59, 1
store i64 %60, ptr %6, align 8
br label %14, !llvm.loop !9
61: ; preds = %14
store double 0.000000e+00, ptr %11, align 8
store i64 1, ptr %6, align 8
br label %62
62: ; preds = %71, %61
%63 = load i64, ptr %6, align 8
%64 = load i64, ptr %3, align 8
%65 = icmp sle i64 %63, %64
br i1 %65, label %66, label %74
66: ; preds = %62
%67 = load double, ptr %11, align 8
%68 = load i64, ptr %6, align 8
%69 = call double @log(i64 noundef %68)
%70 = fadd double %67, %69
store double %70, ptr %11, align 8
br label %71
71: ; preds = %66
%72 = load i64, ptr %6, align 8
%73 = add nsw i64 %72, 1
store i64 %73, ptr %6, align 8
br label %62, !llvm.loop !10
74: ; preds = %62
%75 = load double, ptr %11, align 8
%76 = load i64, ptr %4, align 8
%77 = call double @log(i64 noundef %76)
%78 = fdiv double %75, %77
store double %78, ptr %11, align 8
%79 = load double, ptr %11, align 8
%80 = fadd double %79, 1.000000e+00
store double %80, ptr %11, align 8
%81 = load double, ptr %11, align 8
%82 = call double @llvm.floor.f64(double %81)
store double %82, ptr %11, align 8
%83 = load i64, ptr %5, align 8
%84 = load double, ptr %11, align 8
%85 = call i32 @printf(ptr noundef @.str, i64 noundef %83, double noundef %84)
ret void
}
declare i64 @min(i64 noundef, i64 noundef) #1
declare double @log(i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #2
declare i32 @printf(ptr noundef, i64 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsmu22y8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"%lld %0.0lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fun(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca double, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%12 = load i64, ptr %3, align 8
store i64 %12, ptr %5, align 8
%13 = load i64, ptr %4, align 8
store i64 %13, ptr %7, align 8
store i64 2, ptr %6, align 8
%14 = load i64, ptr %6, align 8
%15 = load i64, ptr %4, align 8
%16 = icmp sle i64 %14, %15
br i1 %16, label %.lr.ph5, label %69
.lr.ph5: ; preds = %2
br label %17
17: ; preds = %.lr.ph5, %63
%18 = load i64, ptr %7, align 8
%19 = load i64, ptr %6, align 8
%20 = srem i64 %18, %19
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %62
22: ; preds = %17
store i64 0, ptr %9, align 8
%23 = load i64, ptr %7, align 8
%24 = load i64, ptr %6, align 8
%25 = srem i64 %23, %24
%26 = icmp eq i64 %25, 0
br i1 %26, label %.lr.ph, label %37
.lr.ph: ; preds = %22
br label %27
27: ; preds = %.lr.ph, %27
%28 = load i64, ptr %9, align 8
%29 = add nsw i64 %28, 1
store i64 %29, ptr %9, align 8
%30 = load i64, ptr %7, align 8
%31 = load i64, ptr %6, align 8
%32 = sdiv i64 %30, %31
store i64 %32, ptr %7, align 8
%33 = load i64, ptr %7, align 8
%34 = load i64, ptr %6, align 8
%35 = srem i64 %33, %34
%36 = icmp eq i64 %35, 0
br i1 %36, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %37
37: ; preds = %._crit_edge, %22
store i64 0, ptr %10, align 8
%38 = load i64, ptr %3, align 8
store i64 %38, ptr %8, align 8
%39 = load i64, ptr %8, align 8
%40 = load i64, ptr %6, align 8
%41 = sdiv i64 %39, %40
%42 = icmp sgt i64 %41, 0
br i1 %42, label %.lr.ph2, label %56
.lr.ph2: ; preds = %37
br label %43
43: ; preds = %.lr.ph2, %43
%44 = load i64, ptr %10, align 8
%45 = load i64, ptr %8, align 8
%46 = load i64, ptr %6, align 8
%47 = sdiv i64 %45, %46
%48 = add nsw i64 %44, %47
store i64 %48, ptr %10, align 8
%49 = load i64, ptr %8, align 8
%50 = load i64, ptr %6, align 8
%51 = sdiv i64 %49, %50
store i64 %51, ptr %8, align 8
%52 = load i64, ptr %8, align 8
%53 = load i64, ptr %6, align 8
%54 = sdiv i64 %52, %53
%55 = icmp sgt i64 %54, 0
br i1 %55, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %43
br label %56
56: ; preds = %._crit_edge3, %37
%57 = load i64, ptr %5, align 8
%58 = load i64, ptr %10, align 8
%59 = load i64, ptr %9, align 8
%60 = sdiv i64 %58, %59
%61 = call i64 @min(i64 noundef %57, i64 noundef %60)
store i64 %61, ptr %5, align 8
br label %62
62: ; preds = %56, %17
br label %63
63: ; preds = %62
%64 = load i64, ptr %6, align 8
%65 = add nsw i64 %64, 1
store i64 %65, ptr %6, align 8
%66 = load i64, ptr %6, align 8
%67 = load i64, ptr %4, align 8
%68 = icmp sle i64 %66, %67
br i1 %68, label %17, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %63
br label %69
69: ; preds = %._crit_edge6, %2
store double 0.000000e+00, ptr %11, align 8
store i64 1, ptr %6, align 8
%70 = load i64, ptr %6, align 8
%71 = load i64, ptr %3, align 8
%72 = icmp sle i64 %70, %71
br i1 %72, label %.lr.ph8, label %84
.lr.ph8: ; preds = %69
br label %73
73: ; preds = %.lr.ph8, %78
%74 = load double, ptr %11, align 8
%75 = load i64, ptr %6, align 8
%76 = call double @log(i64 noundef %75)
%77 = fadd double %74, %76
store double %77, ptr %11, align 8
br label %78
78: ; preds = %73
%79 = load i64, ptr %6, align 8
%80 = add nsw i64 %79, 1
store i64 %80, ptr %6, align 8
%81 = load i64, ptr %6, align 8
%82 = load i64, ptr %3, align 8
%83 = icmp sle i64 %81, %82
br i1 %83, label %73, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %78
br label %84
84: ; preds = %._crit_edge9, %69
%85 = load double, ptr %11, align 8
%86 = load i64, ptr %4, align 8
%87 = call double @log(i64 noundef %86)
%88 = fdiv double %85, %87
store double %88, ptr %11, align 8
%89 = load double, ptr %11, align 8
%90 = fadd double %89, 1.000000e+00
store double %90, ptr %11, align 8
%91 = load double, ptr %11, align 8
%92 = call double @llvm.floor.f64(double %91)
store double %92, ptr %11, align 8
%93 = load i64, ptr %5, align 8
%94 = load double, ptr %11, align 8
%95 = call i32 @printf(ptr noundef @.str, i64 noundef %93, double noundef %94)
ret void
}
declare i64 @min(i64 noundef, i64 noundef) #1
declare double @log(i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #2
declare i32 @printf(ptr noundef, i64 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp4ptsv22f.c'
source_filename = "/tmp/tmp4ptsv22f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoui(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 @atoul(ptr noundef %3)
ret i32 %4
}
declare i32 @atoul(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4ptsv22f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoui(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 @atoul(ptr noundef %3)
ret i32 %4
}
declare i32 @atoul(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyy3x3vum.c'
source_filename = "/tmp/tmpyy3x3vum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @w(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @bar(i32 noundef 1)
ret void
}
declare i32 @bar(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/tmpyy3x3vum.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @w(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @bar(i32 noundef 1)
ret void
}
declare i32 @bar(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/tmpn7fl86dx.c'
source_filename = "/tmp/tmpn7fl86dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parg_getopt(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @parg_getopt_long(ptr noundef %9, i32 noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef null, ptr noundef null)
ret i32 %13
}
declare i32 @parg_getopt_long(ptr noundef, i32 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/tmpn7fl86dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parg_getopt(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @parg_getopt_long(ptr noundef %9, i32 noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef null, ptr noundef null)
ret i32 %13
}
declare i32 @parg_getopt_long(ptr noundef, i32 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/tmp9ma_bs_s.c'
source_filename = "/tmp/tmp9ma_bs_s.c"
target datalayout = "e-m:e-p270: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/tmp9ma_bs_s.c"
target datalayout = "e-m:e-p270: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/tmppbd08q8q.c'
source_filename = "/tmp/tmppbd08q8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Sector does not exist\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sector_error(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr %2, align 4
ret i32 %9
}
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/tmppbd08q8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Sector does not exist\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sector_error(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr %2, align 4
ret i32 %9
}
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/tmpzhwp6vq3.c'
source_filename = "/tmp/tmpzhwp6vq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"uzunluk: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reverse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %9, %1
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i8, ptr %5, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i32, ptr %3, align 4
%14 = trunc i32 %13 to i8
%15 = call i32 @printf(ptr noundef @.str, i8 noundef signext %14)
br label %16
16: ; preds = %20, %12
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %3, align 4
%19 = icmp sge i32 %17, 0
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 -1
store ptr %22, ptr %2, align 8
%23 = load i8, ptr %22, align 1
%24 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %23)
br label %16, !llvm.loop !8
25: ; preds = %16
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzhwp6vq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"uzunluk: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reverse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i32 1
store ptr %5, ptr %2, align 8
%6 = load i8, ptr %4, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %3, align 4
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load i8, ptr %11, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %15
15: ; preds = %._crit_edge, %1
%16 = load i32, ptr %3, align 4
%17 = trunc i32 %16 to i8
%18 = call i32 @printf(ptr noundef @.str, i8 noundef signext %17)
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %3, align 4
%21 = icmp sge i32 %19, 0
br i1 %21, label %.lr.ph2, label %30
.lr.ph2: ; preds = %15
br label %22
22: ; preds = %.lr.ph2, %22
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 -1
store ptr %24, ptr %2, align 8
%25 = load i8, ptr %24, align 1
%26 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %25)
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %3, align 4
%29 = icmp sge i32 %27, 0
br i1 %29, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %22
br label %30
30: ; preds = %._crit_edge3, %15
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpfi6zmaeu.c'
source_filename = "/tmp/tmpfi6zmaeu.c"
target datalayout = "e-m:e-p270: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/tmpfi6zmaeu.c"
target datalayout = "e-m:e-p270: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/tmpirir08lz.c'
source_filename = "/tmp/tmpirir08lz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IFLNK = dso_local global i64 0, align 8
@S_IFMT = dso_local global i32 0, align 4
@S_IFSOCK = 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/tmpirir08lz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IFLNK = dso_local global i64 0, align 8
@S_IFMT = dso_local global i32 0, align 4
@S_IFSOCK = 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/tmpuy5nzg5t.c'
source_filename = "/tmp/tmpuy5nzg5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_to_erased.erased = internal global [512 x i32] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_to_erased(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 @bzero(ptr noundef @_to_erased.erased, i32 noundef 2048)
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %20, %1
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i32, ptr %6, i64 %8
%10 = load i32, ptr %9, align 4
%11 = icmp ne i32 %10, -1
br i1 %11, label %12, label %23
12: ; preds = %5
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [512 x i32], ptr @_to_erased.erased, i64 0, i64 %18
store i32 1, ptr %19, align 4
br label %20
20: ; preds = %12
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %5, !llvm.loop !6
23: ; preds = %5
ret ptr @_to_erased.erased
}
declare i32 @bzero(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/tmpuy5nzg5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_to_erased.erased = internal global [512 x i32] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_to_erased(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 @bzero(ptr noundef @_to_erased.erased, i32 noundef 2048)
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i32, ptr %5, i64 %7
%9 = load i32, ptr %8, align 4
%10 = icmp ne i32 %9, -1
br i1 %10, label %.lr.ph, label %28
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %19
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [512 x i32], ptr @_to_erased.erased, i64 0, i64 %17
store i32 1, ptr %18, align 4
br label %19
19: ; preds = %11
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp ne i32 %26, -1
br i1 %27, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %28
28: ; preds = %._crit_edge, %1
ret ptr @_to_erased.erased
}
declare i32 @bzero(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/tmp4_yw1pb9.c'
source_filename = "/tmp/tmp4_yw1pb9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serial_set(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = call zeroext i8 @inreg(i32 noundef %6, i32 noundef 3)
store i8 %7, ptr %5, align 1
%8 = load i32, ptr %3, align 4
%9 = call i32 @outreg(i32 noundef %8, i32 noundef 3, i8 noundef zeroext -125)
%10 = load i32, ptr %3, align 4
%11 = call i32 @outreg(i32 noundef %10, i32 noundef 1, i8 noundef zeroext 0)
%12 = load i32, ptr %3, align 4
%13 = call i32 @outreg(i32 noundef %12, i32 noundef 0, i8 noundef zeroext 2)
%14 = load i32, ptr %3, align 4
%15 = call i32 @outreg(i32 noundef %14, i32 noundef 3, i8 noundef zeroext 3)
%16 = load i32, ptr %3, align 4
%17 = load i8, ptr %5, align 1
%18 = call i32 @outreg(i32 noundef %16, i32 noundef 3, i8 noundef zeroext %17)
ret void
}
declare zeroext i8 @inreg(i32 noundef, i32 noundef) #1
declare i32 @outreg(i32 noundef, i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4_yw1pb9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serial_set(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = call zeroext i8 @inreg(i32 noundef %6, i32 noundef 3)
store i8 %7, ptr %5, align 1
%8 = load i32, ptr %3, align 4
%9 = call i32 @outreg(i32 noundef %8, i32 noundef 3, i8 noundef zeroext -125)
%10 = load i32, ptr %3, align 4
%11 = call i32 @outreg(i32 noundef %10, i32 noundef 1, i8 noundef zeroext 0)
%12 = load i32, ptr %3, align 4
%13 = call i32 @outreg(i32 noundef %12, i32 noundef 0, i8 noundef zeroext 2)
%14 = load i32, ptr %3, align 4
%15 = call i32 @outreg(i32 noundef %14, i32 noundef 3, i8 noundef zeroext 3)
%16 = load i32, ptr %3, align 4
%17 = load i8, ptr %5, align 1
%18 = call i32 @outreg(i32 noundef %16, i32 noundef 3, i8 noundef zeroext %17)
ret void
}
declare zeroext i8 @inreg(i32 noundef, i32 noundef) #1
declare i32 @outreg(i32 noundef, i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpygigd0mt.c'
source_filename = "/tmp/tmpygigd0mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"plot %d*x^3+%d*x^2+%d*x+%d with lines linetype 1\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"set xrange [%d:%d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func6(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %10, align 4
%17 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr %11, align 4
%19 = load i32, ptr %12, align 4
%20 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %18, i32 noundef %19)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpygigd0mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"plot %d*x^3+%d*x^2+%d*x+%d with lines linetype 1\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"set xrange [%d:%d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func6(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %10, align 4
%17 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr %11, align 4
%19 = load i32, ptr %12, align 4
%20 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %18, i32 noundef %19)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp06zc_gv_.c'
source_filename = "/tmp/tmp06zc_gv_.c"
target datalayout = "e-m:e-p270: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/tmp06zc_gv_.c"
target datalayout = "e-m:e-p270: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/tmp_ndjr4o5.c'
source_filename = "/tmp/tmp_ndjr4o5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getStringFormat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = add nsw i32 %7, 1
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 1
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %14
14: ; preds = %50, %1
%15 = load i32, ptr %4, align 4
%16 = load ptr, ptr %2, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = icmp slt i32 %15, %17
br i1 %18, label %19, label %53
19: ; preds = %14
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
store i8 %24, ptr %5, align 1
%25 = load i8, ptr %5, align 1
%26 = call i64 @isUpperCase(i8 noundef signext %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %19
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 67, ptr %32, align 1
br label %49
33: ; preds = %19
%34 = load i8, ptr %5, align 1
%35 = call i64 @isLowerCase(i8 noundef signext %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %42
37: ; preds = %33
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 99, ptr %41, align 1
br label %48
42: ; preds = %33
%43 = load i8, ptr %5, align 1
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 %43, ptr %47, align 1
br label %48
48: ; preds = %42, %37
br label %49
49: ; preds = %48, %28
br label %50
50: ; preds = %49
%51 = load i32, ptr %4, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %4, align 4
br label %14, !llvm.loop !6
53: ; preds = %14
%54 = load ptr, ptr %3, align 8
%55 = load ptr, ptr %2, align 8
%56 = call i32 @strlen(ptr noundef %55)
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %54, i64 %57
store i8 0, ptr %58, align 1
%59 = load ptr, ptr %3, align 8
ret ptr %59
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @isUpperCase(i8 noundef signext) #1
declare i64 @isLowerCase(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/tmp_ndjr4o5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getStringFormat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = add nsw i32 %7, 1
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 1
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %3, align 8
store i32 0, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = load ptr, ptr %2, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = icmp slt i32 %14, %16
br i1 %17, label %.lr.ph, label %56
.lr.ph: ; preds = %1
br label %18
18: ; preds = %.lr.ph, %49
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
store i8 %23, ptr %5, align 1
%24 = load i8, ptr %5, align 1
%25 = call i64 @isUpperCase(i8 noundef signext %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %18
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %4, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store i8 67, ptr %31, align 1
br label %48
32: ; preds = %18
%33 = load i8, ptr %5, align 1
%34 = call i64 @isLowerCase(i8 noundef signext %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %41
36: ; preds = %32
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 99, ptr %40, align 1
br label %47
41: ; preds = %32
%42 = load i8, ptr %5, align 1
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %4, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 %42, ptr %46, align 1
br label %47
47: ; preds = %41, %36
br label %48
48: ; preds = %47, %27
br label %49
49: ; preds = %48
%50 = load i32, ptr %4, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %4, align 4
%52 = load i32, ptr %4, align 4
%53 = load ptr, ptr %2, align 8
%54 = call i32 @strlen(ptr noundef %53)
%55 = icmp slt i32 %52, %54
br i1 %55, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %56
56: ; preds = %._crit_edge, %1
%57 = load ptr, ptr %3, align 8
%58 = load ptr, ptr %2, align 8
%59 = call i32 @strlen(ptr noundef %58)
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %57, i64 %60
store i8 0, ptr %61, align 1
%62 = load ptr, ptr %3, align 8
ret ptr %62
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @isUpperCase(i8 noundef signext) #1
declare i64 @isLowerCase(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/tmpfexr2zpa.c'
source_filename = "/tmp/tmpfexr2zpa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [1000 x i8], align 16
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %9, %0
%6 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%7 = call i32 @getline(ptr noundef %6, i32 noundef 1000)
store i32 %7, ptr %3, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %5
%10 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%11 = call i32 @htoi(ptr noundef %10)
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
br label %5, !llvm.loop !6
14: ; preds = %5
ret i32 0
}
declare i32 @getline(ptr noundef, i32 noundef) #1
declare i32 @htoi(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfexr2zpa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [1000 x i8], align 16
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%6 = call i32 @getline(ptr noundef %5, i32 noundef 1000)
store i32 %6, ptr %3, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %8
%9 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%10 = call i32 @htoi(ptr noundef %9)
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = call i32 @getline(ptr noundef %5, i32 noundef 1000)
store i32 %13, ptr %3, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %15
15: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @getline(ptr noundef, i32 noundef) #1
declare i32 @htoi(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnvg8j_vm.c'
source_filename = "/tmp/tmpnvg8j_vm.c"
target datalayout = "e-m:e-p270: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/tmpnvg8j_vm.c"
target datalayout = "e-m:e-p270: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/tmp7ls1rcy1.c'
source_filename = "/tmp/tmp7ls1rcy1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cc_cache_init() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (...) @cache_status_open()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %1, align 4
br label %16
8: ; preds = %0
%9 = call i32 (...) @busy_pages_open()
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 (...) @cache_status_close()
br label %14
14: ; preds = %12, %8
%15 = load i32, ptr %2, align 4
store i32 %15, ptr %1, align 4
br label %16
16: ; preds = %14, %6
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i32 @cache_status_open(...) #1
declare i32 @busy_pages_open(...) #1
declare i32 @cache_status_close(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ls1rcy1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cc_cache_init() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (...) @cache_status_open()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %1, align 4
br label %16
8: ; preds = %0
%9 = call i32 (...) @busy_pages_open()
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 (...) @cache_status_close()
br label %14
14: ; preds = %12, %8
%15 = load i32, ptr %2, align 4
store i32 %15, ptr %1, align 4
br label %16
16: ; preds = %14, %6
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i32 @cache_status_open(...) #1
declare i32 @busy_pages_open(...) #1
declare i32 @cache_status_close(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr1vbspjs.c'
source_filename = "/tmp/tmpr1vbspjs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Enter three real numbers: \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%lf %lf %lf\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"The average is: %.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
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load double, ptr %2, align 8
%8 = load double, ptr %3, align 8
%9 = fadd double %7, %8
%10 = load double, ptr %4, align 8
%11 = fadd double %9, %10
%12 = fdiv double %11, 3.000000e+00
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %12)
ret i32 0
}
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/tmpr1vbspjs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Enter three real numbers: \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%lf %lf %lf\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"The average is: %.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
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load double, ptr %2, align 8
%8 = load double, ptr %3, align 8
%9 = fadd double %7, %8
%10 = load double, ptr %4, align 8
%11 = fadd double %9, %10
%12 = fdiv double %11, 3.000000e+00
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %12)
ret i32 0
}
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/tmpjjyx2d5l.c'
source_filename = "/tmp/tmpjjyx2d5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for Y\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x59() #0 {
%1 = call i64 @iscntrl(i32 noundef 89)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 450, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmpjjyx2d5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for Y\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_iscntrl_0x59() #0 {
%1 = call i64 @iscntrl(i32 noundef 89)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 450, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @iscntrl(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/tmpydy3mvax.c'
source_filename = "/tmp/tmpydy3mvax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s|\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @scan(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [100 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %11, %1
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%9 = call ptr @next(ptr noundef %7, ptr noundef %4, ptr noundef %8)
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %6
%12 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %12)
br label %6, !llvm.loop !6
14: ; preds = %6
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare ptr @next(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydy3mvax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s|\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @scan(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [100 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%8 = call ptr @next(ptr noundef %6, ptr noundef %4, ptr noundef %7)
%9 = icmp ne ptr %8, null
br i1 %9, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %10
%11 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = call ptr @next(ptr noundef %13, ptr noundef %4, ptr noundef %7)
%15 = icmp ne ptr %14, null
br i1 %15, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %16
16: ; preds = %._crit_edge, %1
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare ptr @next(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp890kml56.c'
source_filename = "/tmp/tmp890kml56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"Error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CalculateIndexSize(i8 noundef signext %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp sge i32 %5, 48
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = sext i8 %8 to i32
%10 = icmp sle i32 %9, 57
br i1 %10, label %11, label %12
11: ; preds = %7
store i32 10, ptr %2, align 4
br label %23
12: ; preds = %7, %1
%13 = load i8, ptr %3, align 1
%14 = sext i8 %13 to i32
%15 = icmp sge i32 %14, 65
br i1 %15, label %16, label %21
16: ; preds = %12
%17 = load i8, ptr %3, align 1
%18 = sext i8 %17 to i32
%19 = icmp sle i32 %18, 122
br i1 %19, label %20, label %21
20: ; preds = %16
store i32 26, ptr %2, align 4
br label %23
21: ; preds = %16, %12
%22 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %23
23: ; preds = %21, %20, %11
%24 = load i32, ptr %2, align 4
ret i32 %24
}
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/tmp890kml56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"Error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CalculateIndexSize(i8 noundef signext %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp sge i32 %5, 48
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = sext i8 %8 to i32
%10 = icmp sle i32 %9, 57
br i1 %10, label %11, label %12
11: ; preds = %7
store i32 10, ptr %2, align 4
br label %23
12: ; preds = %7, %1
%13 = load i8, ptr %3, align 1
%14 = sext i8 %13 to i32
%15 = icmp sge i32 %14, 65
br i1 %15, label %16, label %21
16: ; preds = %12
%17 = load i8, ptr %3, align 1
%18 = sext i8 %17 to i32
%19 = icmp sle i32 %18, 122
br i1 %19, label %20, label %21
20: ; preds = %16
store i32 26, ptr %2, align 4
br label %23
21: ; preds = %16, %12
%22 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %23
23: ; preds = %21, %20, %11
%24 = load i32, ptr %2, align 4
ret i32 %24
}
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/tmptefvkfck.c'
source_filename = "/tmp/tmptefvkfck.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %6, align 4
%14 = call { ptr, ptr, i32, i32 } asm sideeffect "1:\09decl $2\0A\09js 2f\0A\09lodsb\0A\09stosb\0A\09testb %al,%al\0A\09jne 1b\0A\09rep\0A\09stosb\0A2:", "=&{si},=&{di},=&{cx},=&{ax},0,1,2,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %11, ptr %12, i32 %13) #1, !srcloc !6
%15 = extractvalue { ptr, ptr, i32, i32 } %14, 0
%16 = extractvalue { ptr, ptr, i32, i32 } %14, 1
%17 = extractvalue { ptr, ptr, i32, i32 } %14, 2
%18 = extractvalue { ptr, ptr, i32, i32 } %14, 3
%19 = ptrtoint ptr %15 to i64
%20 = trunc i64 %19 to i32
store i32 %20, ptr %7, align 4
%21 = ptrtoint ptr %16 to i64
%22 = trunc i64 %21 to i32
store i32 %22, ptr %8, align 4
store i32 %17, ptr %9, align 4
store i32 %18, ptr %10, align 4
%23 = load ptr, ptr %4, align 8
ret ptr %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = !{i64 503, i64 517, i64 538, i64 559, i64 580, i64 610, i64 632, i64 650, i64 673}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptefvkfck.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %6, align 4
%14 = call { ptr, ptr, i32, i32 } asm sideeffect "1:\09decl $2\0A\09js 2f\0A\09lodsb\0A\09stosb\0A\09testb %al,%al\0A\09jne 1b\0A\09rep\0A\09stosb\0A2:", "=&{si},=&{di},=&{cx},=&{ax},0,1,2,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %11, ptr %12, i32 %13) #1, !srcloc !6
%15 = extractvalue { ptr, ptr, i32, i32 } %14, 0
%16 = extractvalue { ptr, ptr, i32, i32 } %14, 1
%17 = extractvalue { ptr, ptr, i32, i32 } %14, 2
%18 = extractvalue { ptr, ptr, i32, i32 } %14, 3
%19 = ptrtoint ptr %15 to i64
%20 = trunc i64 %19 to i32
store i32 %20, ptr %7, align 4
%21 = ptrtoint ptr %16 to i64
%22 = trunc i64 %21 to i32
store i32 %22, ptr %8, align 4
store i32 %17, ptr %9, align 4
store i32 %18, ptr %10, align 4
%23 = load ptr, ptr %4, align 8
ret ptr %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = !{i64 503, i64 517, i64 538, i64 559, i64 580, i64 610, i64 632, i64 650, i64 673}
|
; ModuleID = '/tmp/tmp2amp4_a0.c'
source_filename = "/tmp/tmp2amp4_a0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"memory alloc error.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store ptr null, ptr %9, align 8
%14 = load i32, ptr %6, align 4
store i32 %14, ptr %10, align 4
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %11, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %6, align 4
%19 = sub nsw i32 %17, %18
%20 = add nsw i32 %19, 1
store i32 %20, ptr %12, align 4
store i32 0, ptr %13, align 4
%21 = load i32, ptr %12, align 4
%22 = sext i32 %21 to i64
%23 = mul i64 %22, 4
%24 = trunc i64 %23 to i32
%25 = call i64 @malloc(i32 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %9, align 8
%27 = load ptr, ptr %9, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %32
29: ; preds = %4
%30 = call i32 @printf(ptr noundef @.str)
%31 = call i32 @exit(i32 noundef 0) #3
unreachable
32: ; preds = %4
br label %33
33: ; preds = %117, %32
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %7, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %41, label %37
37: ; preds = %33
%38 = load i32, ptr %11, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp sle i32 %38, %39
br label %41
41: ; preds = %37, %33
%42 = phi i1 [ true, %33 ], [ %40, %37 ]
br i1 %42, label %43, label %118
43: ; preds = %41
%44 = load i32, ptr %10, align 4
%45 = load i32, ptr %7, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %47, label %84
47: ; preds = %43
%48 = load i32, ptr %11, align 4
%49 = load i32, ptr %8, align 4
%50 = icmp sle i32 %48, %49
br i1 %50, label %51, label %84
51: ; preds = %47
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %11, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp sle i32 %56, %61
br i1 %62, label %63, label %70
63: ; preds = %51
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr %10, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %10, align 4
%67 = sext i32 %65 to i64
%68 = getelementptr inbounds i32, ptr %64, i64 %67
%69 = load i32, ptr %68, align 4
br label %77
70: ; preds = %51
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %11, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %11, align 4
%74 = sext i32 %72 to i64
%75 = getelementptr inbounds i32, ptr %71, i64 %74
%76 = load i32, ptr %75, align 4
br label %77
77: ; preds = %70, %63
%78 = phi i32 [ %69, %63 ], [ %76, %70 ]
%79 = load ptr, ptr %9, align 8
%80 = load i32, ptr %13, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %13, align 4
%82 = sext i32 %80 to i64
%83 = getelementptr inbounds i32, ptr %79, i64 %82
store i32 %78, ptr %83, align 4
br label %117
84: ; preds = %47, %43
%85 = load i32, ptr %10, align 4
%86 = load i32, ptr %7, align 4
%87 = icmp sle i32 %85, %86
br i1 %87, label %88, label %104
88: ; preds = %84
%89 = load i32, ptr %11, align 4
%90 = load i32, ptr %8, align 4
%91 = icmp sgt i32 %89, %90
br i1 %91, label %92, label %104
92: ; preds = %88
%93 = load ptr, ptr %5, align 8
%94 = load i32, ptr %10, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %10, align 4
%96 = sext i32 %94 to i64
%97 = getelementptr inbounds i32, ptr %93, i64 %96
%98 = load i32, ptr %97, align 4
%99 = load ptr, ptr %9, align 8
%100 = load i32, ptr %13, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %13, align 4
%102 = sext i32 %100 to i64
%103 = getelementptr inbounds i32, ptr %99, i64 %102
store i32 %98, ptr %103, align 4
br label %116
104: ; preds = %88, %84
%105 = load ptr, ptr %5, align 8
%106 = load i32, ptr %11, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %11, align 4
%108 = sext i32 %106 to i64
%109 = getelementptr inbounds i32, ptr %105, i64 %108
%110 = load i32, ptr %109, align 4
%111 = load ptr, ptr %9, align 8
%112 = load i32, ptr %13, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %13, align 4
%114 = sext i32 %112 to i64
%115 = getelementptr inbounds i32, ptr %111, i64 %114
store i32 %110, ptr %115, align 4
br label %116
116: ; preds = %104, %92
br label %117
117: ; preds = %116, %77
br label %33, !llvm.loop !6
118: ; preds = %41
store i32 0, ptr %10, align 4
%119 = load i32, ptr %6, align 4
store i32 %119, ptr %11, align 4
br label %120
120: ; preds = %134, %118
%121 = load i32, ptr %10, align 4
%122 = load i32, ptr %12, align 4
%123 = icmp slt i32 %121, %122
br i1 %123, label %124, label %139
124: ; preds = %120
%125 = load ptr, ptr %9, align 8
%126 = load i32, ptr %10, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i32, ptr %125, i64 %127
%129 = load i32, ptr %128, align 4
%130 = load ptr, ptr %5, align 8
%131 = load i32, ptr %11, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i32, ptr %130, i64 %132
store i32 %129, ptr %133, align 4
br label %134
134: ; preds = %124
%135 = load i32, ptr %10, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %10, align 4
%137 = load i32, ptr %11, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %11, align 4
br label %120, !llvm.loop !8
139: ; preds = %120
%140 = load ptr, ptr %9, align 8
%141 = call i32 @free(ptr noundef %140)
store ptr null, ptr %9, align 8
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2amp4_a0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"memory alloc error.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store ptr null, ptr %9, align 8
%14 = load i32, ptr %6, align 4
store i32 %14, ptr %10, align 4
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %11, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %6, align 4
%19 = sub nsw i32 %17, %18
%20 = add nsw i32 %19, 1
store i32 %20, ptr %12, align 4
store i32 0, ptr %13, align 4
%21 = load i32, ptr %12, align 4
%22 = sext i32 %21 to i64
%23 = mul i64 %22, 4
%24 = trunc i64 %23 to i32
%25 = call i64 @malloc(i32 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %9, align 8
%27 = load ptr, ptr %9, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %32
29: ; preds = %4
%30 = call i32 @printf(ptr noundef @.str)
%31 = call i32 @exit(i32 noundef 0) #3
unreachable
32: ; preds = %4
br label %33
33: ; preds = %117, %32
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %7, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %41, label %37
37: ; preds = %33
%38 = load i32, ptr %11, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp sle i32 %38, %39
br label %41
41: ; preds = %37, %33
%42 = phi i1 [ true, %33 ], [ %40, %37 ]
br i1 %42, label %43, label %118
43: ; preds = %41
%44 = load i32, ptr %10, align 4
%45 = load i32, ptr %7, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %47, label %84
47: ; preds = %43
%48 = load i32, ptr %11, align 4
%49 = load i32, ptr %8, align 4
%50 = icmp sle i32 %48, %49
br i1 %50, label %51, label %84
51: ; preds = %47
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %11, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load i32, ptr %60, align 4
%62 = icmp sle i32 %56, %61
br i1 %62, label %63, label %70
63: ; preds = %51
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr %10, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %10, align 4
%67 = sext i32 %65 to i64
%68 = getelementptr inbounds i32, ptr %64, i64 %67
%69 = load i32, ptr %68, align 4
br label %77
70: ; preds = %51
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %11, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %11, align 4
%74 = sext i32 %72 to i64
%75 = getelementptr inbounds i32, ptr %71, i64 %74
%76 = load i32, ptr %75, align 4
br label %77
77: ; preds = %70, %63
%78 = phi i32 [ %69, %63 ], [ %76, %70 ]
%79 = load ptr, ptr %9, align 8
%80 = load i32, ptr %13, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %13, align 4
%82 = sext i32 %80 to i64
%83 = getelementptr inbounds i32, ptr %79, i64 %82
store i32 %78, ptr %83, align 4
br label %117
84: ; preds = %47, %43
%85 = load i32, ptr %10, align 4
%86 = load i32, ptr %7, align 4
%87 = icmp sle i32 %85, %86
br i1 %87, label %88, label %104
88: ; preds = %84
%89 = load i32, ptr %11, align 4
%90 = load i32, ptr %8, align 4
%91 = icmp sgt i32 %89, %90
br i1 %91, label %92, label %104
92: ; preds = %88
%93 = load ptr, ptr %5, align 8
%94 = load i32, ptr %10, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %10, align 4
%96 = sext i32 %94 to i64
%97 = getelementptr inbounds i32, ptr %93, i64 %96
%98 = load i32, ptr %97, align 4
%99 = load ptr, ptr %9, align 8
%100 = load i32, ptr %13, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %13, align 4
%102 = sext i32 %100 to i64
%103 = getelementptr inbounds i32, ptr %99, i64 %102
store i32 %98, ptr %103, align 4
br label %116
104: ; preds = %88, %84
%105 = load ptr, ptr %5, align 8
%106 = load i32, ptr %11, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %11, align 4
%108 = sext i32 %106 to i64
%109 = getelementptr inbounds i32, ptr %105, i64 %108
%110 = load i32, ptr %109, align 4
%111 = load ptr, ptr %9, align 8
%112 = load i32, ptr %13, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %13, align 4
%114 = sext i32 %112 to i64
%115 = getelementptr inbounds i32, ptr %111, i64 %114
store i32 %110, ptr %115, align 4
br label %116
116: ; preds = %104, %92
br label %117
117: ; preds = %116, %77
br label %33, !llvm.loop !6
118: ; preds = %41
store i32 0, ptr %10, align 4
%119 = load i32, ptr %6, align 4
store i32 %119, ptr %11, align 4
%120 = load i32, ptr %10, align 4
%121 = load i32, ptr %12, align 4
%122 = icmp slt i32 %120, %121
br i1 %122, label %.lr.ph, label %141
.lr.ph: ; preds = %118
br label %123
123: ; preds = %.lr.ph, %133
%124 = load ptr, ptr %9, align 8
%125 = load i32, ptr %10, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i32, ptr %124, i64 %126
%128 = load i32, ptr %127, align 4
%129 = load ptr, ptr %5, align 8
%130 = load i32, ptr %11, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %129, i64 %131
store i32 %128, ptr %132, align 4
br label %133
133: ; preds = %123
%134 = load i32, ptr %10, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %10, align 4
%136 = load i32, ptr %11, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %11, align 4
%138 = load i32, ptr %10, align 4
%139 = load i32, ptr %12, align 4
%140 = icmp slt i32 %138, %139
br i1 %140, label %123, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %133
br label %141
141: ; preds = %._crit_edge, %118
%142 = load ptr, ptr %9, align 8
%143 = call i32 @free(ptr noundef %142)
store ptr null, ptr %9, align 8
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpinf5kxn1.c'
source_filename = "/tmp/tmpinf5kxn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"/bin/bash\00", align 1
@__const.main.shell_argv = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16
@.str.1 = private unnamed_addr constant [13 x i8] c"TERM=kosterm\00", align 1
@__const.main.shell_envp = private unnamed_addr constant [2 x ptr] [ptr @.str.1, ptr null], align 16
@.str.2 = private unnamed_addr constant [26 x i8] c"\0AShell died, respawning!\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"init\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 [2 x ptr], align 16
%7 = alloca [2 x ptr], align 16
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @clear_screen()
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.shell_argv, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.shell_envp, i64 16, i1 false)
store i32 1, ptr %8, align 4
br label %12
12: ; preds = %2, %34
%13 = call i64 (...) @fork()
store i64 %13, ptr %9, align 8
%14 = load i64, ptr %9, align 8
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %23
16: ; preds = %12
br label %17
17: ; preds = %21, %16
%18 = call i64 @wait(ptr noundef null)
store i64 %18, ptr %10, align 8
%19 = load i64, ptr %9, align 8
%20 = icmp ne i64 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %17
br label %17, !llvm.loop !6
22: ; preds = %17
store i32 0, ptr %8, align 4
br label %34
23: ; preds = %12
%24 = load i32, ptr %8, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %23
%27 = call i32 @printf(ptr noundef @.str.2)
br label %28
28: ; preds = %26, %23
%29 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%30 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0
%31 = call i32 @execve(ptr noundef @.str, ptr noundef %29, ptr noundef %30)
%32 = call i32 @perror(ptr noundef @.str.3)
br label %33
33: ; preds = %28, %33
br label %33
34: ; preds = %22
br label %12
}
declare i32 @clear_screen(...) #1
; 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) #2
declare i64 @fork(...) #1
declare i64 @wait(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpinf5kxn1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"/bin/bash\00", align 1
@__const.main.shell_argv = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16
@.str.1 = private unnamed_addr constant [13 x i8] c"TERM=kosterm\00", align 1
@__const.main.shell_envp = private unnamed_addr constant [2 x ptr] [ptr @.str.1, ptr null], align 16
@.str.2 = private unnamed_addr constant [26 x i8] c"\0AShell died, respawning!\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"init\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 [2 x ptr], align 16
%7 = alloca [2 x ptr], align 16
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @clear_screen()
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.shell_argv, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.shell_envp, i64 16, i1 false)
store i32 1, ptr %8, align 4
%12 = call i64 (...) @fork()
store i64 %12, ptr %9, align 8
%13 = load i64, ptr %9, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %32
br label %16
16: ; preds = %16, %15
%17 = call i64 @wait(ptr noundef null)
store i64 %17, ptr %10, align 8
%18 = load i64, ptr %9, align 8
%19 = icmp ne i64 %17, %18
br i1 %19, label %16, label %20, !llvm.loop !6
20: ; preds = %16
store i32 0, ptr %8, align 4
br label %32
._crit_edge: ; preds = %32
br label %21
21: ; preds = %._crit_edge, %2
%22 = load i32, ptr %8, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = call i32 @printf(ptr noundef @.str.2)
br label %26
26: ; preds = %24, %21
%27 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
%28 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0
%29 = call i32 @execve(ptr noundef @.str, ptr noundef %27, ptr noundef %28)
%30 = call i32 @perror(ptr noundef @.str.3)
br label %31
31: ; preds = %31, %26
br label %31
32: ; preds = %20
%33 = call i64 (...) @fork()
store i64 %33, ptr %9, align 8
%34 = load i64, ptr %9, align 8
%35 = icmp ne i64 %34, 0
br i1 %35, label %15, label %._crit_edge
}
declare i32 @clear_screen(...) #1
; 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) #2
declare i64 @fork(...) #1
declare i64 @wait(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpvk40i8sc.c'
source_filename = "/tmp/tmpvk40i8sc.c"
target datalayout = "e-m:e-p270: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.tms = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @system_get_clock_ticks() #0 {
%1 = alloca %struct.tms, align 4
%2 = call i32 @times(ptr noundef %1)
ret i32 %2
}
declare i32 @times(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvk40i8sc.c"
target datalayout = "e-m:e-p270: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.tms = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @system_get_clock_ticks() #0 {
%1 = alloca %struct.tms, align 4
%2 = call i32 @times(ptr noundef %1)
ret i32 %2
}
declare i32 @times(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxm6k30ga.c'
source_filename = "/tmp/tmpxm6k30ga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trans(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 @exp(double noundef %3) #3
%5 = load double, ptr %2, align 8
%6 = call double @cos(double noundef %5) #3
%7 = call double @llvm.fmuladd.f64(double %4, double %6, double -1.200000e+00)
ret double %7
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxm6k30ga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trans(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 @exp(double noundef %3) #3
%5 = load double, ptr %2, align 8
%6 = call double @cos(double noundef %5) #3
%7 = call double @llvm.fmuladd.f64(double %4, double %6, double -1.200000e+00)
ret double %7
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphkp7e8t2.c'
source_filename = "/tmp/tmphkp7e8t2.c"
target datalayout = "e-m:e-p270: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/tmphkp7e8t2.c"
target datalayout = "e-m:e-p270: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/tmpl3nolp7q.c'
source_filename = "/tmp/tmpl3nolp7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @build_path(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
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %6, align 8
%13 = load i64, ptr %7, align 8
%14 = add i64 %12, %13
%15 = add i64 %14, 1
%16 = call ptr @malloc(i64 noundef %15)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @assert(ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %6, align 8
%22 = call i32 @strncpy(ptr noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %6, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load ptr, ptr %4, align 8
%27 = load i64, ptr %7, align 8
%28 = call i32 @strncpy(ptr noundef %25, ptr noundef %26, i64 noundef %27)
%29 = load ptr, ptr %5, align 8
%30 = load i64, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
%32 = load i64, ptr %7, align 8
%33 = getelementptr inbounds i8, ptr %31, i64 %32
store i8 0, ptr %33, align 1
%34 = load ptr, ptr %5, align 8
ret ptr %34
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @assert(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl3nolp7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @build_path(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
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %7, align 8
%12 = load i64, ptr %6, align 8
%13 = load i64, ptr %7, align 8
%14 = add i64 %12, %13
%15 = add i64 %14, 1
%16 = call ptr @malloc(i64 noundef %15)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @assert(ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %6, align 8
%22 = call i32 @strncpy(ptr noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %6, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load ptr, ptr %4, align 8
%27 = load i64, ptr %7, align 8
%28 = call i32 @strncpy(ptr noundef %25, ptr noundef %26, i64 noundef %27)
%29 = load ptr, ptr %5, align 8
%30 = load i64, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
%32 = load i64, ptr %7, align 8
%33 = getelementptr inbounds i8, ptr %31, i64 %32
store i8 0, ptr %33, align 1
%34 = load ptr, ptr %5, align 8
ret ptr %34
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @assert(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmc_7imvu.c'
source_filename = "/tmp/tmpmc_7imvu.c"
target datalayout = "e-m:e-p270: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/tmpmc_7imvu.c"
target datalayout = "e-m:e-p270: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/tmpf8ai4uue.c'
source_filename = "/tmp/tmpf8ai4uue.c"
target datalayout = "e-m:e-p270: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/tmpf8ai4uue.c"
target datalayout = "e-m:e-p270: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/tmp4brkjixm.c'
source_filename = "/tmp/tmp4brkjixm.c"
target datalayout = "e-m:e-p270: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/tmp4brkjixm.c"
target datalayout = "e-m:e-p270: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/tmp0hmibla7.c'
source_filename = "/tmp/tmp0hmibla7.c"
target datalayout = "e-m:e-p270: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.isCorrect.hash = private unnamed_addr constant [34 x i8] c"fmjm;=>9johohg;l\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.isCorrect.temp = private unnamed_addr constant [18 x i8] c"::k:kfn;o:h<<hni_\00", align 16
@MD5_DIGEST_LENGTH = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Granted!\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"NO\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isCorrect(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [34 x i8], align 16
%5 = alloca [18 x i8], align 16
%6 = alloca [11 x i8], align 1
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca [33 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.isCorrect.hash, i64 34, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.isCorrect.temp, i64 18, i1 false)
%12 = load i32, ptr @MD5_DIGEST_LENGTH, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %7, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %8, align 8
store i32 0, ptr %10, align 4
%16 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 0
%17 = getelementptr inbounds [18 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @strcat(ptr noundef %16, ptr noundef %17)
store i32 0, ptr %10, align 4
br label %19
19: ; preds = %32, %1
%20 = load i32, ptr %10, align 4
%21 = icmp slt i32 %20, 10
br i1 %21, label %22, label %35
22: ; preds = %19
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 %24
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %10, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
%31 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str, i32 noundef %30)
br label %32
32: ; preds = %22
%33 = load i32, ptr %10, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %10, align 4
br label %19, !llvm.loop !6
35: ; preds = %19
%36 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 10
store i8 0, ptr %36, align 1
%37 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0
%38 = call i32 @strlen(ptr noundef %37)
%39 = call i32 @MD5(ptr noundef %6, i32 noundef %38, ptr noundef %15)
store i32 0, ptr %10, align 4
br label %40
40: ; preds = %54, %35
%41 = load i32, ptr %10, align 4
%42 = icmp slt i32 %41, 16
br i1 %42, label %43, label %57
43: ; preds = %40
%44 = load i32, ptr %10, align 4
%45 = mul nsw i32 %44, 2
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [33 x i8], ptr %9, i64 0, i64 %46
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %15, i64 %49
%51 = load i8, ptr %50, align 1
%52 = zext i8 %51 to i32
%53 = call i32 @sprintf(ptr noundef %47, ptr noundef @.str.1, i32 noundef %52)
br label %54
54: ; preds = %43
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %10, align 4
br label %40, !llvm.loop !8
57: ; preds = %40
%58 = getelementptr inbounds [33 x i8], ptr %9, i64 0, i64 0
%59 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 0
%60 = call i32 @dec(ptr noundef %59, i32 noundef 34)
%61 = call i64 @strcmp(ptr noundef %58, i32 noundef %60)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %57
%64 = call i32 @puts(ptr noundef @.str.2)
store i32 1, ptr %2, align 4
store i32 1, ptr %11, align 4
br label %67
65: ; preds = %57
%66 = call i32 @puts(ptr noundef @.str.3)
store i32 0, ptr %2, align 4
store i32 1, ptr %11, align 4
br label %67
67: ; preds = %65, %63
%68 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %68)
%69 = load i32, ptr %2, align 4
ret i32 %69
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @strcat(ptr noundef, ptr noundef) #3
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #3
declare i32 @MD5(ptr noundef, i32 noundef, ptr noundef) #3
declare i32 @strlen(ptr noundef) #3
declare i64 @strcmp(ptr noundef, i32 noundef) #3
declare i32 @dec(ptr noundef, i32 noundef) #3
declare i32 @puts(ptr noundef) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0hmibla7.c"
target datalayout = "e-m:e-p270: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.isCorrect.hash = private unnamed_addr constant [34 x i8] c"fmjm;=>9johohg;l\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.isCorrect.temp = private unnamed_addr constant [18 x i8] c"::k:kfn;o:h<<hni_\00", align 16
@MD5_DIGEST_LENGTH = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Granted!\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"NO\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isCorrect(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [34 x i8], align 16
%5 = alloca [18 x i8], align 16
%6 = alloca [11 x i8], align 1
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca [33 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.isCorrect.hash, i64 34, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.isCorrect.temp, i64 18, i1 false)
%12 = load i32, ptr @MD5_DIGEST_LENGTH, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %7, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %8, align 8
store i32 0, ptr %10, align 4
%16 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 0
%17 = getelementptr inbounds [18 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @strcat(ptr noundef %16, ptr noundef %17)
store i32 0, ptr %10, align 4
%19 = load i32, ptr %10, align 4
%20 = icmp slt i32 %19, 10
br i1 %20, label %.lr.ph, label %36
.lr.ph: ; preds = %1
br label %21
21: ; preds = %.lr.ph, %31
%22 = load i32, ptr %10, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 %23
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = call i32 @sprintf(ptr noundef %24, ptr noundef @.str, i32 noundef %29)
br label %31
31: ; preds = %21
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %10, align 4
%34 = load i32, ptr %10, align 4
%35 = icmp slt i32 %34, 10
br i1 %35, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %36
36: ; preds = %._crit_edge, %1
%37 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 10
store i8 0, ptr %37, align 1
%38 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0
%39 = call i32 @strlen(ptr noundef %38)
%40 = call i32 @MD5(ptr noundef %6, i32 noundef %39, ptr noundef %15)
store i32 0, ptr %10, align 4
%41 = load i32, ptr %10, align 4
%42 = icmp slt i32 %41, 16
br i1 %42, label %.lr.ph2, label %59
.lr.ph2: ; preds = %36
br label %43
43: ; preds = %.lr.ph2, %54
%44 = load i32, ptr %10, align 4
%45 = mul nsw i32 %44, 2
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [33 x i8], ptr %9, i64 0, i64 %46
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %15, i64 %49
%51 = load i8, ptr %50, align 1
%52 = zext i8 %51 to i32
%53 = call i32 @sprintf(ptr noundef %47, ptr noundef @.str.1, i32 noundef %52)
br label %54
54: ; preds = %43
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %10, align 4
%57 = load i32, ptr %10, align 4
%58 = icmp slt i32 %57, 16
br i1 %58, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %59
59: ; preds = %._crit_edge3, %36
%60 = getelementptr inbounds [33 x i8], ptr %9, i64 0, i64 0
%61 = getelementptr inbounds [34 x i8], ptr %4, i64 0, i64 0
%62 = call i32 @dec(ptr noundef %61, i32 noundef 34)
%63 = call i64 @strcmp(ptr noundef %60, i32 noundef %62)
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %59
%66 = call i32 @puts(ptr noundef @.str.2)
store i32 1, ptr %2, align 4
store i32 1, ptr %11, align 4
br label %69
67: ; preds = %59
%68 = call i32 @puts(ptr noundef @.str.3)
store i32 0, ptr %2, align 4
store i32 1, ptr %11, align 4
br label %69
69: ; preds = %67, %65
%70 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %70)
%71 = load i32, ptr %2, align 4
ret i32 %71
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @strcat(ptr noundef, ptr noundef) #3
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #3
declare i32 @MD5(ptr noundef, i32 noundef, ptr noundef) #3
declare i32 @strlen(ptr noundef) #3
declare i64 @strcmp(ptr noundef, i32 noundef) #3
declare i32 @dec(ptr noundef, i32 noundef) #3
declare i32 @puts(ptr noundef) #3
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpa2xj9xq7.c'
source_filename = "/tmp/tmpa2xj9xq7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quaddobl_scale_system(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @_ada_use_c2phc(i32 noundef 592, ptr noundef %3, ptr noundef %7, ptr noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa2xj9xq7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quaddobl_scale_system(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @_ada_use_c2phc(i32 noundef 592, ptr noundef %3, ptr noundef %7, ptr noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn2uv8h9_.c'
source_filename = "/tmp/tmpn2uv8h9_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_new_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %7, 1
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %6, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 10
br i1 %13, label %14, label %20
14: ; preds = %1
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %15, i64 %18
store i8 0, ptr %19, align 1
br label %20
20: ; preds = %14, %1
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
ret i64 %22
}
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/tmpn2uv8h9_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_new_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %7, 1
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %6, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 10
br i1 %13, label %14, label %20
14: ; preds = %1
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %15, i64 %18
store i8 0, ptr %19, align 1
br label %20
20: ; preds = %14, %1
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
ret i64 %22
}
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/tmpyi9q3c9d.c'
source_filename = "/tmp/tmpyi9q3c9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfpr_str_replace(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [4096 x i8], align 16
%9 = alloca [4096 x i8], align 16
%10 = alloca ptr, align 8
%11 = 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 null, ptr %10, align 8
store i32 0, ptr %11, align 4
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %3
%15 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%16 = load ptr, ptr %5, align 8
%17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16)
br label %19
18: ; preds = %3
store i32 -1, ptr %4, align 4
br label %87
19: ; preds = %14
%20 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0
%21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 4096)
br label %22
22: ; preds = %46, %19
%23 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%24 = load ptr, ptr %6, align 8
%25 = call ptr @strstr(ptr noundef %23, ptr noundef %24)
store ptr %25, ptr %10, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %80
27: ; preds = %22
%28 = load ptr, ptr %10, align 8
%29 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%30 = ptrtoint ptr %28 to i64
%31 = ptrtoint ptr %29 to i64
%32 = sub i64 %30, %31
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %46
34: ; preds = %27
%35 = load i32, ptr %11, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 %36
%38 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%39 = load ptr, ptr %10, align 8
%40 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%41 = ptrtoint ptr %39 to i64
%42 = ptrtoint ptr %40 to i64
%43 = sub i64 %41, %42
%44 = trunc i64 %43 to i32
%45 = call i32 @memcpy(ptr noundef %37, ptr noundef %38, i32 noundef %44)
br label %46
46: ; preds = %34, %27
%47 = load i32, ptr %11, align 4
%48 = load ptr, ptr %10, align 8
%49 = sext i32 %47 to i64
%50 = getelementptr inbounds i8, ptr %48, i64 %49
%51 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%52 = ptrtoint ptr %50 to i64
%53 = ptrtoint ptr %51 to i64
%54 = sub i64 %52, %53
%55 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 %54
%56 = load ptr, ptr %7, align 8
%57 = load ptr, ptr %7, align 8
%58 = call i32 @strlen(ptr noundef %57)
%59 = call i32 @memcpy(ptr noundef %55, ptr noundef %56, i32 noundef %58)
%60 = load ptr, ptr %10, align 8
%61 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%62 = ptrtoint ptr %60 to i64
%63 = ptrtoint ptr %61 to i64
%64 = sub i64 %62, %63
%65 = load ptr, ptr %7, align 8
%66 = call i32 @strlen(ptr noundef %65)
%67 = sext i32 %66 to i64
%68 = add nsw i64 %64, %67
%69 = load i32, ptr %11, align 4
%70 = sext i32 %69 to i64
%71 = add nsw i64 %70, %68
%72 = trunc i64 %71 to i32
store i32 %72, ptr %11, align 4
%73 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%74 = load ptr, ptr %10, align 8
%75 = load ptr, ptr %6, align 8
%76 = call i32 @strlen(ptr noundef %75)
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %74, i64 %77
%79 = call i32 @strcpy(ptr noundef %73, ptr noundef %78)
br label %22, !llvm.loop !6
80: ; preds = %22
%81 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0
%82 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%83 = call i32 @strcat(ptr noundef %81, ptr noundef %82)
%84 = load ptr, ptr %5, align 8
%85 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0
%86 = call i32 @strcpy(ptr noundef %84, ptr noundef %85)
store i32 0, ptr %4, align 4
br label %87
87: ; preds = %80, %18
%88 = load i32, ptr %4, align 4
ret i32 %88
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(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/tmpyi9q3c9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfpr_str_replace(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [4096 x i8], align 16
%9 = alloca [4096 x i8], align 16
%10 = alloca ptr, align 8
%11 = 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 null, ptr %10, align 8
store i32 0, ptr %11, align 4
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %3
%15 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%16 = load ptr, ptr %5, align 8
%17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16)
br label %19
18: ; preds = %3
store i32 -1, ptr %4, align 4
br label %89
19: ; preds = %14
%20 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0
%21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 4096)
%22 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%23 = load ptr, ptr %6, align 8
%24 = call ptr @strstr(ptr noundef %22, ptr noundef %23)
store ptr %24, ptr %10, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %.lr.ph, label %82
.lr.ph: ; preds = %19
br label %26
26: ; preds = %.lr.ph, %45
%27 = load ptr, ptr %10, align 8
%28 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%29 = ptrtoint ptr %27 to i64
%30 = ptrtoint ptr %28 to i64
%31 = sub i64 %29, %30
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %45
33: ; preds = %26
%34 = load i32, ptr %11, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 %35
%37 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%38 = load ptr, ptr %10, align 8
%39 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%40 = ptrtoint ptr %38 to i64
%41 = ptrtoint ptr %39 to i64
%42 = sub i64 %40, %41
%43 = trunc i64 %42 to i32
%44 = call i32 @memcpy(ptr noundef %36, ptr noundef %37, i32 noundef %43)
br label %45
45: ; preds = %33, %26
%46 = load i32, ptr %11, align 4
%47 = load ptr, ptr %10, align 8
%48 = sext i32 %46 to i64
%49 = getelementptr inbounds i8, ptr %47, i64 %48
%50 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%51 = ptrtoint ptr %49 to i64
%52 = ptrtoint ptr %50 to i64
%53 = sub i64 %51, %52
%54 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 %53
%55 = load ptr, ptr %7, align 8
%56 = load ptr, ptr %7, align 8
%57 = call i32 @strlen(ptr noundef %56)
%58 = call i32 @memcpy(ptr noundef %54, ptr noundef %55, i32 noundef %57)
%59 = load ptr, ptr %10, align 8
%60 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%61 = ptrtoint ptr %59 to i64
%62 = ptrtoint ptr %60 to i64
%63 = sub i64 %61, %62
%64 = load ptr, ptr %7, align 8
%65 = call i32 @strlen(ptr noundef %64)
%66 = sext i32 %65 to i64
%67 = add nsw i64 %63, %66
%68 = load i32, ptr %11, align 4
%69 = sext i32 %68 to i64
%70 = add nsw i64 %69, %67
%71 = trunc i64 %70 to i32
store i32 %71, ptr %11, align 4
%72 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%73 = load ptr, ptr %10, align 8
%74 = load ptr, ptr %6, align 8
%75 = call i32 @strlen(ptr noundef %74)
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %73, i64 %76
%78 = call i32 @strcpy(ptr noundef %72, ptr noundef %77)
%79 = load ptr, ptr %6, align 8
%80 = call ptr @strstr(ptr noundef %22, ptr noundef %79)
store ptr %80, ptr %10, align 8
%81 = icmp ne ptr %80, null
br i1 %81, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %82
82: ; preds = %._crit_edge, %19
%83 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0
%84 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%85 = call i32 @strcat(ptr noundef %83, ptr noundef %84)
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0
%88 = call i32 @strcpy(ptr noundef %86, ptr noundef %87)
store i32 0, ptr %4, align 4
br label %89
89: ; preds = %82, %18
%90 = load i32, ptr %4, align 4
ret i32 %90
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcat(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/tmp7kfw0j4y.c'
source_filename = "/tmp/tmp7kfw0j4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"*\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %3, align 4
br label %7
7: ; preds = %38, %0
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %11, label %41
11: ; preds = %7
%12 = load i32, ptr %2, align 4
store i32 %12, ptr %4, align 4
br label %13
13: ; preds = %20, %11
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sgt i32 %14, %15
br i1 %16, label %17, label %23
17: ; preds = %13
%18 = load i32, ptr %4, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18)
br label %20
20: ; preds = %17
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %4, align 4
br label %13, !llvm.loop !6
23: ; preds = %13
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%25 = load i32, ptr %3, align 4
%26 = sub nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %27
27: ; preds = %33, %23
%28 = load i32, ptr %5, align 4
%29 = icmp sge i32 %28, 1
br i1 %29, label %30, label %36
30: ; preds = %27
%31 = load i32, ptr %5, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31)
br label %33
33: ; preds = %30
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %5, align 4
br label %27, !llvm.loop !8
36: ; preds = %27
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %38
38: ; preds = %36
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
br label %7, !llvm.loop !9
41: ; preds = %7
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7kfw0j4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"*\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %.lr.ph5, label %46
.lr.ph5: ; preds = %0
br label %10
10: ; preds = %.lr.ph5, %40
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp sgt i32 %12, %13
br i1 %14, label %.lr.ph, label %24
.lr.ph: ; preds = %10
br label %15
15: ; preds = %.lr.ph, %18
%16 = load i32, ptr %4, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %15
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp sgt i32 %21, %22
br i1 %23, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %10
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%26 = load i32, ptr %3, align 4
%27 = sub nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp sge i32 %28, 1
br i1 %29, label %.lr.ph2, label %38
.lr.ph2: ; preds = %24
br label %30
30: ; preds = %.lr.ph2, %33
%31 = load i32, ptr %5, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31)
br label %33
33: ; preds = %30
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, -1
store i32 %35, ptr %5, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp sge i32 %36, 1
br i1 %37, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %38
38: ; preds = %._crit_edge3, %24
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %40
40: ; preds = %38
%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 = load i32, ptr %2, align 4
%45 = icmp sle i32 %43, %44
br i1 %45, label %10, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %40
br label %46
46: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmprhbz0zph.c'
source_filename = "/tmp/tmprhbz0zph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (...) @initialise_board()
%6 = call i32 (...) @initialise_benchmark()
%7 = call i32 (...) @start_trigger()
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %14, %0
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 4096
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = call i32 (...) @initialise_benchmark()
%13 = call i32 (...) @benchmark()
store volatile i32 %13, ptr %3, align 4
br label %14
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %8, !llvm.loop !6
17: ; preds = %8
%18 = call i32 (...) @stop_trigger()
%19 = load volatile i32, ptr %3, align 4
%20 = call i32 @verify_benchmark(i32 noundef %19)
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp ne i32 %21, 0
%23 = xor i1 %22, true
%24 = zext i1 %23 to i32
ret i32 %24
}
declare i32 @initialise_board(...) #1
declare i32 @initialise_benchmark(...) #1
declare i32 @start_trigger(...) #1
declare i32 @benchmark(...) #1
declare i32 @stop_trigger(...) #1
declare i32 @verify_benchmark(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/tmprhbz0zph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (...) @initialise_board()
%6 = call i32 (...) @initialise_benchmark()
%7 = call i32 (...) @start_trigger()
store i32 0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 4096
br i1 %9, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %13
%11 = call i32 (...) @initialise_benchmark()
%12 = call i32 (...) @benchmark()
store volatile i32 %12, ptr %3, align 4
br label %13
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 4096
br i1 %17, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = call i32 (...) @stop_trigger()
%20 = load volatile i32, ptr %3, align 4
%21 = call i32 @verify_benchmark(i32 noundef %20)
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp ne i32 %22, 0
%24 = xor i1 %23, true
%25 = zext i1 %24 to i32
ret i32 %25
}
declare i32 @initialise_board(...) #1
declare i32 @initialise_benchmark(...) #1
declare i32 @start_trigger(...) #1
declare i32 @benchmark(...) #1
declare i32 @stop_trigger(...) #1
declare i32 @verify_benchmark(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/tmpgeq5yl4q.c'
source_filename = "/tmp/tmpgeq5yl4q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NS_CMPRSFLGS = dso_local global i32 0, align 4
@EMSGSIZE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ns_name_ntol(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %6, align 8
%16 = load i64, ptr %7, align 8
%17 = getelementptr inbounds i32, ptr %15, i64 %16
store ptr %17, ptr %10, align 8
br label %18
18: ; preds = %68, %3
%19 = load ptr, ptr %8, align 8
%20 = getelementptr inbounds i32, ptr %19, i32 1
store ptr %20, ptr %8, align 8
%21 = load i32, ptr %19, align 4
store i32 %21, ptr %12, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %69
23: ; preds = %18
%24 = load i32, ptr %12, align 4
%25 = load i32, ptr @NS_CMPRSFLGS, align 4
%26 = and i32 %24, %25
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = load i32, ptr @EMSGSIZE, align 4
%30 = call i32 @__set_errno(i32 noundef %29)
store i32 -1, ptr %4, align 4
br label %79
31: ; preds = %23
%32 = load i32, ptr %12, align 4
%33 = load ptr, ptr %9, align 8
%34 = getelementptr inbounds i32, ptr %33, i32 1
store ptr %34, ptr %9, align 8
store i32 %32, ptr %33, align 4
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %12, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load ptr, ptr %10, align 8
%40 = icmp uge ptr %38, %39
br i1 %40, label %41, label %44
41: ; preds = %31
%42 = load i32, ptr @EMSGSIZE, align 4
%43 = call i32 @__set_errno(i32 noundef %42)
store i32 -1, ptr %4, align 4
br label %79
44: ; preds = %31
br label %45
45: ; preds = %65, %44
%46 = load i32, ptr %12, align 4
%47 = icmp sgt i32 %46, 0
br i1 %47, label %48, label %68
48: ; preds = %45
%49 = load ptr, ptr %8, align 8
%50 = getelementptr inbounds i32, ptr %49, i32 1
store ptr %50, ptr %8, align 8
%51 = load i32, ptr %49, align 4
store i32 %51, ptr %11, align 4
%52 = load i32, ptr %11, align 4
%53 = call i64 @isupper(i32 noundef %52)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %60
55: ; preds = %48
%56 = load i32, ptr %11, align 4
%57 = call i32 @tolower(i32 noundef %56) #3
%58 = load ptr, ptr %9, align 8
%59 = getelementptr inbounds i32, ptr %58, i32 1
store ptr %59, ptr %9, align 8
store i32 %57, ptr %58, align 4
br label %64
60: ; preds = %48
%61 = load i32, ptr %11, align 4
%62 = load ptr, ptr %9, align 8
%63 = getelementptr inbounds i32, ptr %62, i32 1
store ptr %63, ptr %9, align 8
store i32 %61, ptr %62, align 4
br label %64
64: ; preds = %60, %55
br label %65
65: ; preds = %64
%66 = load i32, ptr %12, align 4
%67 = add nsw i32 %66, -1
store i32 %67, ptr %12, align 4
br label %45, !llvm.loop !6
68: ; preds = %45
br label %18, !llvm.loop !8
69: ; preds = %18
%70 = load ptr, ptr %9, align 8
%71 = getelementptr inbounds i32, ptr %70, i32 1
store ptr %71, ptr %9, align 8
store i32 0, ptr %70, align 4
%72 = load ptr, ptr %9, align 8
%73 = load ptr, ptr %6, align 8
%74 = ptrtoint ptr %72 to i64
%75 = ptrtoint ptr %73 to i64
%76 = sub i64 %74, %75
%77 = sdiv exact i64 %76, 4
%78 = trunc i64 %77 to i32
store i32 %78, ptr %4, align 4
br label %79
79: ; preds = %69, %41, %28
%80 = load i32, ptr %4, align 4
ret i32 %80
}
declare i32 @__set_errno(i32 noundef) #1
declare i64 @isupper(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgeq5yl4q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NS_CMPRSFLGS = dso_local global i32 0, align 4
@EMSGSIZE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ns_name_ntol(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %6, align 8
%16 = load i64, ptr %7, align 8
%17 = getelementptr inbounds i32, ptr %15, i64 %16
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds i32, ptr %18, i32 1
store ptr %19, ptr %8, align 8
%20 = load i32, ptr %18, align 4
store i32 %20, ptr %12, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %.lr.ph2, label %73
.lr.ph2: ; preds = %3
br label %22
22: ; preds = %.lr.ph2, %68
%23 = load i32, ptr %12, align 4
%24 = load i32, ptr @NS_CMPRSFLGS, align 4
%25 = and i32 %23, %24
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %22
%28 = load i32, ptr @EMSGSIZE, align 4
%29 = call i32 @__set_errno(i32 noundef %28)
store i32 -1, ptr %4, align 4
br label %83
30: ; preds = %22
%31 = load i32, ptr %12, align 4
%32 = load ptr, ptr %9, align 8
%33 = getelementptr inbounds i32, ptr %32, i32 1
store ptr %33, ptr %9, align 8
store i32 %31, ptr %32, align 4
%34 = load ptr, ptr %9, align 8
%35 = load i32, ptr %12, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load ptr, ptr %10, align 8
%39 = icmp uge ptr %37, %38
br i1 %39, label %40, label %43
40: ; preds = %30
%41 = load i32, ptr @EMSGSIZE, align 4
%42 = call i32 @__set_errno(i32 noundef %41)
store i32 -1, ptr %4, align 4
br label %83
43: ; preds = %30
%44 = load i32, ptr %12, align 4
%45 = icmp sgt i32 %44, 0
br i1 %45, label %.lr.ph, label %68
.lr.ph: ; preds = %43
br label %46
46: ; preds = %.lr.ph, %63
%47 = load ptr, ptr %8, align 8
%48 = getelementptr inbounds i32, ptr %47, i32 1
store ptr %48, ptr %8, align 8
%49 = load i32, ptr %47, align 4
store i32 %49, ptr %11, align 4
%50 = load i32, ptr %11, align 4
%51 = call i64 @isupper(i32 noundef %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %58
53: ; preds = %46
%54 = load i32, ptr %11, align 4
%55 = call i32 @tolower(i32 noundef %54) #3
%56 = load ptr, ptr %9, align 8
%57 = getelementptr inbounds i32, ptr %56, i32 1
store ptr %57, ptr %9, align 8
store i32 %55, ptr %56, align 4
br label %62
58: ; preds = %46
%59 = load i32, ptr %11, align 4
%60 = load ptr, ptr %9, align 8
%61 = getelementptr inbounds i32, ptr %60, i32 1
store ptr %61, ptr %9, align 8
store i32 %59, ptr %60, align 4
br label %62
62: ; preds = %58, %53
br label %63
63: ; preds = %62
%64 = load i32, ptr %12, align 4
%65 = add nsw i32 %64, -1
store i32 %65, ptr %12, align 4
%66 = load i32, ptr %12, align 4
%67 = icmp sgt i32 %66, 0
br i1 %67, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %68
68: ; preds = %._crit_edge, %43
%69 = load ptr, ptr %8, align 8
%70 = getelementptr inbounds i32, ptr %69, i32 1
store ptr %70, ptr %8, align 8
%71 = load i32, ptr %69, align 4
store i32 %71, ptr %12, align 4
%72 = icmp ne i32 %71, 0
br i1 %72, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %68
br label %73
73: ; preds = %._crit_edge3, %3
%74 = load ptr, ptr %9, align 8
%75 = getelementptr inbounds i32, ptr %74, i32 1
store ptr %75, ptr %9, align 8
store i32 0, ptr %74, align 4
%76 = load ptr, ptr %9, align 8
%77 = load ptr, ptr %6, align 8
%78 = ptrtoint ptr %76 to i64
%79 = ptrtoint ptr %77 to i64
%80 = sub i64 %78, %79
%81 = sdiv exact i64 %80, 4
%82 = trunc i64 %81 to i32
store i32 %82, ptr %4, align 4
br label %83
83: ; preds = %73, %40, %27
%84 = load i32, ptr %4, align 4
ret i32 %84
}
declare i32 @__set_errno(i32 noundef) #1
declare i64 @isupper(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpihmdht0d.c'
source_filename = "/tmp/tmpihmdht0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"\1B[38;5;%dm\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"\1B[48;5;%dm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @websafe(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 %5, align 4
%8 = icmp sgt i32 %7, -1
br i1 %8, label %9, label %17
9: ; preds = %3
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 224
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 16
%16 = call i32 @print(i32 noundef %13, ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %12, %9, %3
%18 = load i32, ptr %6, align 4
%19 = icmp sgt i32 %18, -1
br i1 %19, label %20, label %28
20: ; preds = %17
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %21, 224
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 16
%27 = call i32 @print(i32 noundef %24, ptr noundef @.str.1, i32 noundef %26)
br label %28
28: ; preds = %23, %20, %17
ret i32 0
}
declare i32 @print(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/tmpihmdht0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"\1B[38;5;%dm\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"\1B[48;5;%dm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @websafe(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 %5, align 4
%8 = icmp sgt i32 %7, -1
br i1 %8, label %9, label %17
9: ; preds = %3
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 224
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 16
%16 = call i32 @print(i32 noundef %13, ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %12, %9, %3
%18 = load i32, ptr %6, align 4
%19 = icmp sgt i32 %18, -1
br i1 %19, label %20, label %28
20: ; preds = %17
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %21, 224
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 16
%27 = call i32 @print(i32 noundef %24, ptr noundef @.str.1, i32 noundef %26)
br label %28
28: ; preds = %23, %20, %17
ret i32 0
}
declare i32 @print(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/tmpeemgpy1c.c'
source_filename = "/tmp/tmpeemgpy1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftell(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @ftello(ptr noundef %4)
store i64 %5, ptr %3, align 8
%6 = load i64, ptr %3, align 8
ret i64 %6
}
declare i64 @ftello(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeemgpy1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftell(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @ftello(ptr noundef %4)
store i64 %5, ptr %3, align 8
%6 = load i64, ptr %3, align 8
ret i64 %6
}
declare i64 @ftello(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn1c_t_qt.c'
source_filename = "/tmp/tmpn1c_t_qt.c"
target datalayout = "e-m:e-p270: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/tmpn1c_t_qt.c"
target datalayout = "e-m:e-p270: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/tmpugv9ml0c.c'
source_filename = "/tmp/tmpugv9ml0c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_ANONYMOUS = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_EXEC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"mprotect\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [257 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr @PROT_WRITE, align 4
%6 = load i32, ptr @MAP_PRIVATE, align 4
%7 = load i32, ptr @MAP_ANONYMOUS, align 4
%8 = or i32 %6, %7
%9 = call ptr @mmap(ptr noundef null, i32 noundef 4096, i32 noundef %5, i32 noundef %8, i32 noundef -1, i32 noundef 0)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr @MAP_FAILED, align 8
%12 = icmp eq ptr %10, %11
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @error(ptr noundef @.str)
br label %15
15: ; preds = %13, %0
%16 = load ptr, ptr %3, align 8
%17 = call i32 @bzero(ptr noundef %16, i32 noundef 4096)
%18 = getelementptr inbounds [257 x i8], ptr %2, i64 0, i64 0
%19 = call i32 @read(i32 noundef 0, ptr noundef %18, i32 noundef 256)
store i32 %19, ptr %4, align 4
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds [257 x i8], ptr %2, i64 0, i64 0
%22 = load i32, ptr %4, align 4
%23 = call i32 @strncpy(ptr noundef %20, ptr noundef %21, i32 noundef %22)
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr @PROT_READ, align 4
%26 = load i32, ptr @PROT_EXEC, align 4
%27 = or i32 %25, %26
%28 = call i64 @mprotect(ptr noundef %24, i32 noundef 4096, i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %15
%31 = call i32 @error(ptr noundef @.str.1)
br label %32
32: ; preds = %30, %15
%33 = load ptr, ptr %3, align 8
call void (...) %33()
ret i32 0
}
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @mprotect(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/tmpugv9ml0c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_ANONYMOUS = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_EXEC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"mprotect\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [257 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr @PROT_WRITE, align 4
%6 = load i32, ptr @MAP_PRIVATE, align 4
%7 = load i32, ptr @MAP_ANONYMOUS, align 4
%8 = or i32 %6, %7
%9 = call ptr @mmap(ptr noundef null, i32 noundef 4096, i32 noundef %5, i32 noundef %8, i32 noundef -1, i32 noundef 0)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr @MAP_FAILED, align 8
%12 = icmp eq ptr %10, %11
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @error(ptr noundef @.str)
br label %15
15: ; preds = %13, %0
%16 = load ptr, ptr %3, align 8
%17 = call i32 @bzero(ptr noundef %16, i32 noundef 4096)
%18 = getelementptr inbounds [257 x i8], ptr %2, i64 0, i64 0
%19 = call i32 @read(i32 noundef 0, ptr noundef %18, i32 noundef 256)
store i32 %19, ptr %4, align 4
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds [257 x i8], ptr %2, i64 0, i64 0
%22 = load i32, ptr %4, align 4
%23 = call i32 @strncpy(ptr noundef %20, ptr noundef %21, i32 noundef %22)
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr @PROT_READ, align 4
%26 = load i32, ptr @PROT_EXEC, align 4
%27 = or i32 %25, %26
%28 = call i64 @mprotect(ptr noundef %24, i32 noundef 4096, i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %15
%31 = call i32 @error(ptr noundef @.str.1)
br label %32
32: ; preds = %30, %15
%33 = load ptr, ptr %3, align 8
call void (...) %33()
ret i32 0
}
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @mprotect(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/tmp0b7kn5r9.c'
source_filename = "/tmp/tmp0b7kn5r9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [60 x i8] c"Usage: build [-b] bootsect setup system [rootdev] [> image]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @die(ptr noundef @.str)
ret void
}
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0b7kn5r9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [60 x i8] c"Usage: build [-b] bootsect setup system [rootdev] [> image]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @die(ptr noundef @.str)
ret void
}
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvtvh3wtt.c'
source_filename = "/tmp/tmpvtvh3wtt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Sleep error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @sleep(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @unix_error(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @sleep(i32 noundef) #1
declare i32 @unix_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvtvh3wtt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Sleep error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @sleep(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @unix_error(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @sleep(i32 noundef) #1
declare i32 @unix_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8cl8yv32.c'
source_filename = "/tmp/tmp8cl8yv32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @recvmmsg(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%11 = load i32, ptr @ENOSYS, align 4
%12 = call i32 @__set_errno(i32 noundef %11)
ret i32 -1
}
declare i32 @__set_errno(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8cl8yv32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @recvmmsg(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%11 = load i32, ptr @ENOSYS, align 4
%12 = call i32 @__set_errno(i32 noundef %11)
ret i32 -1
}
declare i32 @__set_errno(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjrg8kw6l.c'
source_filename = "/tmp/tmpjrg8kw6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The baud rate is\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"300\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"600\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"1200\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"1800\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"2400\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"4800\0A\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"9600\0A\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"Fast\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showbaud(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
switch i32 %4, label %19 [
i32 131, label %5
i32 129, label %7
i32 134, label %9
i32 133, label %11
i32 132, label %13
i32 130, label %15
i32 128, label %17
]
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str.1)
br label %21
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.2)
br label %21
9: ; preds = %1
%10 = call i32 @printf(ptr noundef @.str.3)
br label %21
11: ; preds = %1
%12 = call i32 @printf(ptr noundef @.str.4)
br label %21
13: ; preds = %1
%14 = call i32 @printf(ptr noundef @.str.5)
br label %21
15: ; preds = %1
%16 = call i32 @printf(ptr noundef @.str.6)
br label %21
17: ; preds = %1
%18 = call i32 @printf(ptr noundef @.str.7)
br label %21
19: ; preds = %1
%20 = call i32 @printf(ptr noundef @.str.8)
br label %21
21: ; preds = %19, %17, %15, %13, %11, %9, %7, %5
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/tmpjrg8kw6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The baud rate is\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"300\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"600\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"1200\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"1800\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"2400\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"4800\0A\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"9600\0A\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"Fast\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @showbaud(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
switch i32 %4, label %19 [
i32 131, label %5
i32 129, label %7
i32 134, label %9
i32 133, label %11
i32 132, label %13
i32 130, label %15
i32 128, label %17
]
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str.1)
br label %21
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.2)
br label %21
9: ; preds = %1
%10 = call i32 @printf(ptr noundef @.str.3)
br label %21
11: ; preds = %1
%12 = call i32 @printf(ptr noundef @.str.4)
br label %21
13: ; preds = %1
%14 = call i32 @printf(ptr noundef @.str.5)
br label %21
15: ; preds = %1
%16 = call i32 @printf(ptr noundef @.str.6)
br label %21
17: ; preds = %1
%18 = call i32 @printf(ptr noundef @.str.7)
br label %21
19: ; preds = %1
%20 = call i32 @printf(ptr noundef @.str.8)
br label %21
21: ; preds = %19, %17, %15, %13, %11, %9, %7, %5
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/tmpi4ank9w1.c'
source_filename = "/tmp/tmpi4ank9w1.c"
target datalayout = "e-m:e-p270: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/tmpi4ank9w1.c"
target datalayout = "e-m:e-p270: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/tmpmlnyz48c.c'
source_filename = "/tmp/tmpmlnyz48c.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @timespec_to_double_ns(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
%7 = load i64, ptr %6, align 8
%8 = sitofp i64 %7 to double
%9 = fmul double %8, 1.000000e+09
store double %9, ptr %3, align 8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds %struct.timespec, ptr %10, i32 0, i32 0
%12 = load i64, ptr %11, align 8
%13 = sitofp i64 %12 to double
store double %13, ptr %4, align 8
%14 = load double, ptr %3, align 8
%15 = load double, ptr %4, align 8
%16 = fadd double %14, %15
ret double %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmlnyz48c.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @timespec_to_double_ns(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1
%7 = load i64, ptr %6, align 8
%8 = sitofp i64 %7 to double
%9 = fmul double %8, 1.000000e+09
store double %9, ptr %3, align 8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds %struct.timespec, ptr %10, i32 0, i32 0
%12 = load i64, ptr %11, align 8
%13 = sitofp i64 %12 to double
store double %13, ptr %4, align 8
%14 = load double, ptr %3, align 8
%15 = load double, ptr %4, align 8
%16 = fadd double %14, %15
ret double %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2fjrj6r5.c'
source_filename = "/tmp/tmp2fjrj6r5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data.txt\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"failed to open, %d %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"Successfully opened /dev/random\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"Attempted to read %ld bytes, got %d bytes\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"test_input.txt\00", align 1
@EINTR = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [65 x i8] c"Attempted to read %d bytes in %d passes, got %d bytes in buffer\0A\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"Buffer: '%s'\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"Reading from closed fd\0A\00", align 1
@.str.11 = private unnamed_addr constant [53 x i8] c"Reading on closed file descriptor: %d, error %d, %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca [1024 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%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 = load i32, ptr @O_RDONLY, align 4
%16 = call i32 @open(ptr noundef @.str, i32 noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %26
19: ; preds = %2
%20 = load i32, ptr @errno, align 4
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = call ptr @strerror(i32 noundef %22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21, ptr noundef %23)
%25 = call i32 @perror(ptr noundef @.str.2)
br label %26
26: ; preds = %19, %2
%27 = load i32, ptr @O_RDONLY, align 4
%28 = call i32 @open(ptr noundef @.str.3, i32 noundef %27)
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %37
31: ; preds = %26
%32 = load i32, ptr @errno, align 4
%33 = load i32, ptr @errno, align 4
%34 = call ptr @strerror(i32 noundef %33)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32, ptr noundef %34)
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %26
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%39 = load i32, ptr %6, align 4
%40 = call i32 (i32, ...) @read(i32 noundef %39, ptr noundef %8, i64 noundef 8)
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %9, align 4
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %45
43: ; preds = %37
%44 = call i32 @perror(ptr noundef @.str.5)
br label %45
45: ; preds = %43, %37
%46 = load i32, ptr %9, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 8, i32 noundef %46)
%48 = load i32, ptr %6, align 4
%49 = call i32 @close(i32 noundef %48)
%50 = load i32, ptr @O_RDONLY, align 4
%51 = call i32 @open(ptr noundef @.str.7, i32 noundef %50)
store i32 %51, ptr %6, align 4
%52 = load i32, ptr %6, align 4
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %60
54: ; preds = %45
%55 = load i32, ptr @errno, align 4
%56 = load i32, ptr @errno, align 4
%57 = call ptr @strerror(i32 noundef %56)
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %55, ptr noundef %57)
%59 = call i32 @exit(i32 noundef 1) #3
unreachable
60: ; preds = %45
store i32 20, ptr %11, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %61
61: ; preds = %82, %79, %60
%62 = load i32, ptr %11, align 4
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %70
64: ; preds = %61
%65 = load i32, ptr %6, align 4
%66 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%67 = load i32, ptr %11, align 4
%68 = call i32 (i32, ...) @read(i32 noundef %65, ptr noundef %66, i32 noundef %67)
store i32 %68, ptr %12, align 4
%69 = icmp ne i32 %68, 0
br label %70
70: ; preds = %64, %61
%71 = phi i1 [ false, %61 ], [ %69, %64 ]
br i1 %71, label %72, label %91
72: ; preds = %70
%73 = load i32, ptr %12, align 4
%74 = icmp eq i32 %73, -1
br i1 %74, label %75, label %82
75: ; preds = %72
%76 = load i32, ptr @errno, align 4
%77 = load i32, ptr @EINTR, align 4
%78 = icmp eq i32 %76, %77
br i1 %78, label %79, label %80
79: ; preds = %75
br label %61, !llvm.loop !6
80: ; preds = %75
%81 = call i32 @perror(ptr noundef @.str.5)
br label %91
82: ; preds = %72
%83 = load i32, ptr %12, align 4
%84 = load i32, ptr %11, align 4
%85 = sub nsw i32 %84, %83
store i32 %85, ptr %11, align 4
%86 = load i32, ptr %12, align 4
%87 = load i32, ptr %13, align 4
%88 = add nsw i32 %87, %86
store i32 %88, ptr %13, align 4
%89 = load i32, ptr %14, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %14, align 4
br label %61, !llvm.loop !6
91: ; preds = %80, %70
%92 = load i32, ptr %13, align 4
%93 = load i32, ptr %14, align 4
%94 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%95 = call i64 @strlen(ptr noundef %94)
%96 = trunc i64 %95 to i32
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %92, i32 noundef %93, i32 noundef %96)
%98 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %98)
%100 = load i32, ptr %6, align 4
%101 = call i32 @close(i32 noundef %100)
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%103 = load i32, ptr %6, align 4
%104 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%105 = call i32 (i32, ...) @read(i32 noundef %103, ptr noundef %104, i32 noundef 10)
store i32 %105, ptr %12, align 4
%106 = load i32, ptr %12, align 4
%107 = icmp eq i32 %106, -1
br i1 %107, label %108, label %114
108: ; preds = %91
%109 = load i32, ptr %6, align 4
%110 = load i32, ptr @errno, align 4
%111 = load i32, ptr @errno, align 4
%112 = call ptr @strerror(i32 noundef %111)
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %109, i32 noundef %110, ptr noundef %112)
br label %114
114: ; preds = %108, %91
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read(i32 noundef, ...) #1
declare i32 @close(i32 noundef) #1
declare i64 @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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2fjrj6r5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data.txt\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"failed to open, %d %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"Successfully opened /dev/random\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"Attempted to read %ld bytes, got %d bytes\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"test_input.txt\00", align 1
@EINTR = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [65 x i8] c"Attempted to read %d bytes in %d passes, got %d bytes in buffer\0A\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"Buffer: '%s'\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"Reading from closed fd\0A\00", align 1
@.str.11 = private unnamed_addr constant [53 x i8] c"Reading on closed file descriptor: %d, error %d, %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca [1024 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%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 = load i32, ptr @O_RDONLY, align 4
%16 = call i32 @open(ptr noundef @.str, i32 noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %26
19: ; preds = %2
%20 = load i32, ptr @errno, align 4
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = call ptr @strerror(i32 noundef %22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21, ptr noundef %23)
%25 = call i32 @perror(ptr noundef @.str.2)
br label %26
26: ; preds = %19, %2
%27 = load i32, ptr @O_RDONLY, align 4
%28 = call i32 @open(ptr noundef @.str.3, i32 noundef %27)
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %37
31: ; preds = %26
%32 = load i32, ptr @errno, align 4
%33 = load i32, ptr @errno, align 4
%34 = call ptr @strerror(i32 noundef %33)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32, ptr noundef %34)
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %26
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%39 = load i32, ptr %6, align 4
%40 = call i32 (i32, ...) @read(i32 noundef %39, ptr noundef %8, i64 noundef 8)
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %9, align 4
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %45
43: ; preds = %37
%44 = call i32 @perror(ptr noundef @.str.5)
br label %45
45: ; preds = %43, %37
%46 = load i32, ptr %9, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 8, i32 noundef %46)
%48 = load i32, ptr %6, align 4
%49 = call i32 @close(i32 noundef %48)
%50 = load i32, ptr @O_RDONLY, align 4
%51 = call i32 @open(ptr noundef @.str.7, i32 noundef %50)
store i32 %51, ptr %6, align 4
%52 = load i32, ptr %6, align 4
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %60
54: ; preds = %45
%55 = load i32, ptr @errno, align 4
%56 = load i32, ptr @errno, align 4
%57 = call ptr @strerror(i32 noundef %56)
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %55, ptr noundef %57)
%59 = call i32 @exit(i32 noundef 1) #3
unreachable
60: ; preds = %45
store i32 20, ptr %11, align 4
store i32 0, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %61
61: ; preds = %.backedge, %60
%62 = load i32, ptr %11, align 4
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %70
64: ; preds = %61
%65 = load i32, ptr %6, align 4
%66 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%67 = load i32, ptr %11, align 4
%68 = call i32 (i32, ...) @read(i32 noundef %65, ptr noundef %66, i32 noundef %67)
store i32 %68, ptr %12, align 4
%69 = icmp ne i32 %68, 0
br label %70
70: ; preds = %64, %61
%71 = phi i1 [ false, %61 ], [ %69, %64 ]
br i1 %71, label %72, label %.loopexit
72: ; preds = %70
%73 = load i32, ptr %12, align 4
%74 = icmp eq i32 %73, -1
br i1 %74, label %75, label %82
75: ; preds = %72
%76 = load i32, ptr @errno, align 4
%77 = load i32, ptr @EINTR, align 4
%78 = icmp eq i32 %76, %77
br i1 %78, label %79, label %80
79: ; preds = %75
br label %.backedge
.backedge: ; preds = %79, %82
br label %61, !llvm.loop !6
80: ; preds = %75
%81 = call i32 @perror(ptr noundef @.str.5)
br label %91
82: ; preds = %72
%83 = load i32, ptr %12, align 4
%84 = load i32, ptr %11, align 4
%85 = sub nsw i32 %84, %83
store i32 %85, ptr %11, align 4
%86 = load i32, ptr %12, align 4
%87 = load i32, ptr %13, align 4
%88 = add nsw i32 %87, %86
store i32 %88, ptr %13, align 4
%89 = load i32, ptr %14, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %14, align 4
br label %.backedge
.loopexit: ; preds = %70
br label %91
91: ; preds = %.loopexit, %80
%92 = load i32, ptr %13, align 4
%93 = load i32, ptr %14, align 4
%94 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%95 = call i64 @strlen(ptr noundef %94)
%96 = trunc i64 %95 to i32
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %92, i32 noundef %93, i32 noundef %96)
%98 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %98)
%100 = load i32, ptr %6, align 4
%101 = call i32 @close(i32 noundef %100)
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%103 = load i32, ptr %6, align 4
%104 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%105 = call i32 (i32, ...) @read(i32 noundef %103, ptr noundef %104, i32 noundef 10)
store i32 %105, ptr %12, align 4
%106 = load i32, ptr %12, align 4
%107 = icmp eq i32 %106, -1
br i1 %107, label %108, label %114
108: ; preds = %91
%109 = load i32, ptr %6, align 4
%110 = load i32, ptr @errno, align 4
%111 = load i32, ptr @errno, align 4
%112 = call ptr @strerror(i32 noundef %111)
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %109, i32 noundef %110, ptr noundef %112)
br label %114
114: ; preds = %108, %91
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read(i32 noundef, ...) #1
declare i32 @close(i32 noundef) #1
declare i64 @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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfk974opj.c'
source_filename = "/tmp/tmpfk974opj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basTan() #0 {
%1 = call i32 (...) @popNumber()
%2 = call i32 @tan(i32 noundef %1)
%3 = call i32 @pushNumber(i32 noundef %2)
ret void
}
declare i32 @pushNumber(i32 noundef) #1
declare i32 @tan(i32 noundef) #1
declare i32 @popNumber(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfk974opj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basTan() #0 {
%1 = call i32 (...) @popNumber()
%2 = call i32 @tan(i32 noundef %1)
%3 = call i32 @pushNumber(i32 noundef %2)
ret void
}
declare i32 @pushNumber(i32 noundef) #1
declare i32 @tan(i32 noundef) #1
declare i32 @popNumber(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpijty6cef.c'
source_filename = "/tmp/tmpijty6cef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PF_LOCAL = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpijty6cef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PF_LOCAL = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp202mtgc5.c'
source_filename = "/tmp/tmp202mtgc5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_F_ASN1_TEMPLATE_EX_D2I = dso_local global i32 0, align 4
@ASN1_R_EXPLICIT_LENGTH_MISMATCH = dso_local global i32 0, align 4
@ASN1_R_EXPLICIT_TAG_NOT_CONSTRUCTED = dso_local global i32 0, align 4
@ASN1_R_MISSING_EOC = dso_local global i32 0, align 4
@ASN1_TFLG_EXPTAG = dso_local global i32 0, align 4
@ASN1_TFLG_TAG_CLASS = dso_local global i32 0, align 4
@ERR_R_NESTED_ASN1_ERROR = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp202mtgc5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_F_ASN1_TEMPLATE_EX_D2I = dso_local global i32 0, align 4
@ASN1_R_EXPLICIT_LENGTH_MISMATCH = dso_local global i32 0, align 4
@ASN1_R_EXPLICIT_TAG_NOT_CONSTRUCTED = dso_local global i32 0, align 4
@ASN1_R_MISSING_EOC = dso_local global i32 0, align 4
@ASN1_TFLG_EXPTAG = dso_local global i32 0, align 4
@ASN1_TFLG_TAG_CLASS = dso_local global i32 0, align 4
@ERR_R_NESTED_ASN1_ERROR = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3jgkr7n7.c'
source_filename = "/tmp/tmp3jgkr7n7.c"
target datalayout = "e-m:e-p270: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/tmp3jgkr7n7.c"
target datalayout = "e-m:e-p270: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/tmp69zwbmm9.c'
source_filename = "/tmp/tmp69zwbmm9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ComparatorConfigure(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i64, ptr %4, align 8
%8 = icmp eq i64 %7, 1073987584
%9 = zext i1 %8 to i32
%10 = call i32 @DEBUG_ASSERT(i32 noundef %9)
%11 = load i64, ptr %5, align 8
%12 = icmp ult i64 %11, 3
%13 = zext i1 %12 to i32
%14 = call i32 @DEBUG_ASSERT(i32 noundef %13)
%15 = load i64, ptr %6, align 8
%16 = load i64, ptr %4, align 8
%17 = load i64, ptr %5, align 8
%18 = mul i64 %17, 32
%19 = add i64 %16, %18
%20 = add i64 %19, 36
%21 = inttoptr i64 %20 to ptr
store volatile i64 %15, ptr %21, align 8
ret void
}
declare i32 @DEBUG_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/tmp69zwbmm9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ComparatorConfigure(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i64, ptr %4, align 8
%8 = icmp eq i64 %7, 1073987584
%9 = zext i1 %8 to i32
%10 = call i32 @DEBUG_ASSERT(i32 noundef %9)
%11 = load i64, ptr %5, align 8
%12 = icmp ult i64 %11, 3
%13 = zext i1 %12 to i32
%14 = call i32 @DEBUG_ASSERT(i32 noundef %13)
%15 = load i64, ptr %6, align 8
%16 = load i64, ptr %4, align 8
%17 = load i64, ptr %5, align 8
%18 = mul i64 %17, 32
%19 = add i64 %16, %18
%20 = add i64 %19, 36
%21 = inttoptr i64 %20 to ptr
store volatile i64 %15, ptr %21, align 8
ret void
}
declare i32 @DEBUG_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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.