llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp1pdrzik1.c'
source_filename = "/tmp/tmp1pdrzik1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global 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/tmp1pdrzik1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global 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/tmp9rrjrs2_.c'
source_filename = "/tmp/tmp9rrjrs2_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"Enter two integers, and I will tell you\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"the relationships they satisfy: \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"%d is equal to %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"%d is not equal to %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"%d is less than %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"%d is greater than %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"%d is less than or equal to %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"%d is greater than or equal to %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 @scanf_s(ptr noundef @.str.2, ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %7, %8
br i1 %9, label %10, label %14
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11, i32 noundef %12)
br label %14
14: ; preds = %10, %0
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19, i32 noundef %20)
br label %22
22: ; preds = %18, %14
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %30
26: ; preds = %22
%27 = load i32, ptr %2, align 4
%28 = load i32, ptr %3, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %27, i32 noundef %28)
br label %30
30: ; preds = %26, %22
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp sgt i32 %31, %32
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %35, i32 noundef %36)
br label %38
38: ; preds = %34, %30
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp sle i32 %39, %40
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr %3, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %43, i32 noundef %44)
br label %46
46: ; preds = %42, %38
%47 = load i32, ptr %2, align 4
%48 = load i32, ptr %3, align 4
%49 = icmp sge i32 %47, %48
br i1 %49, label %50, label %54
50: ; preds = %46
%51 = load i32, ptr %2, align 4
%52 = load i32, ptr %3, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %51, i32 noundef %52)
br label %54
54: ; preds = %50, %46
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf_s(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/tmp9rrjrs2_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"Enter two integers, and I will tell you\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"the relationships they satisfy: \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"%d is equal to %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"%d is not equal to %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"%d is less than %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"%d is greater than %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"%d is less than or equal to %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"%d is greater than or equal to %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 @scanf_s(ptr noundef @.str.2, ptr noundef %2, ptr noundef %3)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %7, %8
br i1 %9, label %10, label %14
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11, i32 noundef %12)
br label %14
14: ; preds = %10, %0
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %3, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19, i32 noundef %20)
br label %22
22: ; preds = %18, %14
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %30
26: ; preds = %22
%27 = load i32, ptr %2, align 4
%28 = load i32, ptr %3, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %27, i32 noundef %28)
br label %30
30: ; preds = %26, %22
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp sgt i32 %31, %32
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %35, i32 noundef %36)
br label %38
38: ; preds = %34, %30
%39 = load i32, ptr %2, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp sle i32 %39, %40
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr %3, align 4
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %43, i32 noundef %44)
br label %46
46: ; preds = %42, %38
%47 = load i32, ptr %2, align 4
%48 = load i32, ptr %3, align 4
%49 = icmp sge i32 %47, %48
br i1 %49, label %50, label %54
50: ; preds = %46
%51 = load i32, ptr %2, align 4
%52 = load i32, ptr %3, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %51, i32 noundef %52)
br label %54
54: ; preds = %50, %46
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf_s(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/tmpn95w2j6l.c'
source_filename = "/tmp/tmpn95w2j6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iw_calc_bytesperrow(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %5, %6
%8 = add nsw i32 %7, 7
%9 = sdiv i32 %8, 8
%10 = sext i32 %9 to i64
ret i64 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn95w2j6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iw_calc_bytesperrow(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %5, %6
%8 = add nsw i32 %7, 7
%9 = sdiv i32 %8, 8
%10 = sext i32 %9 to i64
ret i64 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxlrvvmcb.c'
source_filename = "/tmp/tmpxlrvvmcb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIC_DisableIRQ() #0 {
%1 = alloca ptr, align 8
%2 = call ptr asm "MRS $0,cpsr", "=r,~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !6
store ptr %2, ptr %1, align 8
call void asm sideeffect "MSR cpsr_c,#(0x1F | 0x80 | 0x40)", "~{dirflag},~{fpsr},~{flags}"() #2, !srcloc !7
%3 = load ptr, ptr %1, align 8
ret ptr %3
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind memory(none) }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = !{i64 477}
!7 = !{i64 514}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxlrvvmcb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIC_DisableIRQ() #0 {
%1 = alloca ptr, align 8
%2 = call ptr asm "MRS $0,cpsr", "=r,~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !6
store ptr %2, ptr %1, align 8
call void asm sideeffect "MSR cpsr_c,#(0x1F | 0x80 | 0x40)", "~{dirflag},~{fpsr},~{flags}"() #2, !srcloc !7
%3 = load ptr, ptr %1, align 8
ret ptr %3
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind memory(none) }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = !{i64 477}
!7 = !{i64 514}
|
; ModuleID = '/tmp/tmpy18qh35g.c'
source_filename = "/tmp/tmpy18qh35g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@db_count_client_channels.stmt = internal global ptr null, align 8
@db_count_client_channels.query = internal constant [53 x i8] c"SELECT COUNT(*) FROM membership WHERE id_client = ?;\00", align 16
@SQLITE_OK = dso_local global i32 0, align 4
@SQLITE_ROW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @db_count_client_channels(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
br label %7
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %17
10: ; preds = %7
%11 = load ptr, ptr @db_count_client_channels.stmt, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load ptr, ptr @db_count_client_channels.stmt, align 8
%15 = call i32 @sqlite3_finalize(ptr noundef %14)
store ptr null, ptr @db_count_client_channels.stmt, align 8
br label %16
16: ; preds = %13, %10
store i32 0, ptr %3, align 4
br label %52
17: ; preds = %7
br label %18
18: ; preds = %17
br label %19
19: ; preds = %18
%20 = load ptr, ptr @db_count_client_channels.stmt, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %31
22: ; preds = %19
%23 = load ptr, ptr %4, align 8
%24 = call i32 @strlen(ptr noundef @db_count_client_channels.query)
%25 = call i32 @sqlite3_prepare_v2(ptr noundef %23, ptr noundef @db_count_client_channels.query, i32 noundef %24, ptr noundef @db_count_client_channels.stmt, ptr noundef null)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr @SQLITE_OK, align 4
%28 = icmp eq i32 %26, %27
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
br label %31
31: ; preds = %22, %19
br label %32
32: ; preds = %31
%33 = load ptr, ptr @db_count_client_channels.stmt, align 8
%34 = call i32 @sqlite3_reset(ptr noundef %33)
%35 = load ptr, ptr @db_count_client_channels.stmt, align 8
%36 = load i32, ptr %5, align 4
%37 = call i32 @sqlite3_bind_int64(ptr noundef %35, i32 noundef 1, i32 noundef %36)
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr @SQLITE_OK, align 4
%40 = icmp eq i32 %38, %39
%41 = zext i1 %40 to i32
%42 = call i32 @assert(i32 noundef %41)
%43 = load ptr, ptr @db_count_client_channels.stmt, align 8
%44 = call i32 @sqlite3_step(ptr noundef %43)
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr @SQLITE_ROW, align 4
%47 = icmp eq i32 %45, %46
%48 = zext i1 %47 to i32
%49 = call i32 @assert(i32 noundef %48)
%50 = load ptr, ptr @db_count_client_channels.stmt, align 8
%51 = call i32 @sqlite3_column_int(ptr noundef %50, i32 noundef 0)
store i32 %51, ptr %3, align 4
br label %52
52: ; preds = %32, %16
%53 = load i32, ptr %3, align 4
ret i32 %53
}
declare i32 @sqlite3_finalize(ptr noundef) #1
declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @sqlite3_reset(ptr noundef) #1
declare i32 @sqlite3_bind_int64(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sqlite3_step(ptr noundef) #1
declare i32 @sqlite3_column_int(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/tmpy18qh35g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@db_count_client_channels.stmt = internal global ptr null, align 8
@db_count_client_channels.query = internal constant [53 x i8] c"SELECT COUNT(*) FROM membership WHERE id_client = ?;\00", align 16
@SQLITE_OK = dso_local global i32 0, align 4
@SQLITE_ROW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @db_count_client_channels(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
br label %7
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %17
10: ; preds = %7
%11 = load ptr, ptr @db_count_client_channels.stmt, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load ptr, ptr @db_count_client_channels.stmt, align 8
%15 = call i32 @sqlite3_finalize(ptr noundef %14)
store ptr null, ptr @db_count_client_channels.stmt, align 8
br label %16
16: ; preds = %13, %10
store i32 0, ptr %3, align 4
br label %52
17: ; preds = %7
br label %18
18: ; preds = %17
br label %19
19: ; preds = %18
%20 = load ptr, ptr @db_count_client_channels.stmt, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %31
22: ; preds = %19
%23 = load ptr, ptr %4, align 8
%24 = call i32 @strlen(ptr noundef @db_count_client_channels.query)
%25 = call i32 @sqlite3_prepare_v2(ptr noundef %23, ptr noundef @db_count_client_channels.query, i32 noundef %24, ptr noundef @db_count_client_channels.stmt, ptr noundef null)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr @SQLITE_OK, align 4
%28 = icmp eq i32 %26, %27
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
br label %31
31: ; preds = %22, %19
br label %32
32: ; preds = %31
%33 = load ptr, ptr @db_count_client_channels.stmt, align 8
%34 = call i32 @sqlite3_reset(ptr noundef %33)
%35 = load ptr, ptr @db_count_client_channels.stmt, align 8
%36 = load i32, ptr %5, align 4
%37 = call i32 @sqlite3_bind_int64(ptr noundef %35, i32 noundef 1, i32 noundef %36)
store i32 %37, ptr %6, align 4
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr @SQLITE_OK, align 4
%40 = icmp eq i32 %38, %39
%41 = zext i1 %40 to i32
%42 = call i32 @assert(i32 noundef %41)
%43 = load ptr, ptr @db_count_client_channels.stmt, align 8
%44 = call i32 @sqlite3_step(ptr noundef %43)
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr @SQLITE_ROW, align 4
%47 = icmp eq i32 %45, %46
%48 = zext i1 %47 to i32
%49 = call i32 @assert(i32 noundef %48)
%50 = load ptr, ptr @db_count_client_channels.stmt, align 8
%51 = call i32 @sqlite3_column_int(ptr noundef %50, i32 noundef 0)
store i32 %51, ptr %3, align 4
br label %52
52: ; preds = %32, %16
%53 = load i32, ptr %3, align 4
ret i32 %53
}
declare i32 @sqlite3_finalize(ptr noundef) #1
declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @sqlite3_reset(ptr noundef) #1
declare i32 @sqlite3_bind_int64(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sqlite3_step(ptr noundef) #1
declare i32 @sqlite3_column_int(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/tmp5o17waq2.c'
source_filename = "/tmp/tmp5o17waq2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"Enter first side(0 to exit): \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Enter second sie: \00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Enter third sie: \00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"You have provided a negative side!!!\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c"Please provide a new number!!!\00", align 1
@.str.7 = private unnamed_addr constant [47 x i8] c"The given sides can represent a right triangle\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"\0A%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
br label %7
7: ; preds = %36, %0
%8 = load i32, ptr %2, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %39
10: ; preds = %7
%11 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.3)
%12 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%13 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.4)
%14 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %4)
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %10
%18 = call i32 @puts(ptr noundef @.str.5)
%19 = call i32 @puts(ptr noundef @.str.6)
br label %36
20: ; preds = %10
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = call i32 @puts(ptr noundef @.str.5)
%25 = call i32 @puts(ptr noundef @.str.6)
br label %35
26: ; preds = %20
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = call i32 @puts(ptr noundef @.str.5)
%31 = call i32 @puts(ptr noundef @.str.6)
br label %34
32: ; preds = %26
%33 = call i32 @puts(ptr noundef @.str.7)
br label %34
34: ; preds = %32, %29
br label %35
35: ; preds = %34, %23
br label %36
36: ; preds = %35, %17
%37 = call i32 @printf(ptr noundef @.str.8, ptr noundef @.str.1)
%38 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
br label %7, !llvm.loop !6
39: ; preds = %7
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5o17waq2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"Enter first side(0 to exit): \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Enter second sie: \00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Enter third sie: \00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"You have provided a negative side!!!\00", align 1
@.str.6 = private unnamed_addr constant [31 x i8] c"Please provide a new number!!!\00", align 1
@.str.7 = private unnamed_addr constant [47 x i8] c"The given sides can represent a right triangle\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"\0A%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %.lr.ph, label %40
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %35
%10 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.3)
%11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%12 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.4)
%13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %4)
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %9
%17 = call i32 @puts(ptr noundef @.str.5)
%18 = call i32 @puts(ptr noundef @.str.6)
br label %35
19: ; preds = %9
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %19
%23 = call i32 @puts(ptr noundef @.str.5)
%24 = call i32 @puts(ptr noundef @.str.6)
br label %34
25: ; preds = %19
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = call i32 @puts(ptr noundef @.str.5)
%30 = call i32 @puts(ptr noundef @.str.6)
br label %33
31: ; preds = %25
%32 = call i32 @puts(ptr noundef @.str.7)
br label %33
33: ; preds = %31, %28
br label %34
34: ; preds = %33, %22
br label %35
35: ; preds = %34, %16
%36 = call i32 @printf(ptr noundef @.str.8, ptr noundef @.str.1)
%37 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%38 = load i32, ptr %2, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %40
40: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpirij9r4_.c'
source_filename = "/tmp/tmpirij9r4_.c"
target datalayout = "e-m:e-p270: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/tmpirij9r4_.c"
target datalayout = "e-m:e-p270: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/tmpuka7lhze.c'
source_filename = "/tmp/tmpuka7lhze.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINTMAX_MAX = dso_local global i32 0, align 4
@ERANGE = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strtoumax(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = 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
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
store i32 0, ptr %11, align 4
br label %15
15: ; preds = %20, %3
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
%18 = load i8, ptr %16, align 1
%19 = sext i8 %18 to i32
store i32 %19, ptr %9, align 4
br label %20
20: ; preds = %15
%21 = load i32, ptr %9, align 4
%22 = call i64 @isspace(i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %15, label %24, !llvm.loop !6
24: ; preds = %20
%25 = load i32, ptr %9, align 4
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %32
27: ; preds = %24
store i32 1, ptr %11, align 4
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
%30 = load i8, ptr %28, align 1
%31 = sext i8 %30 to i32
store i32 %31, ptr %9, align 4
br label %41
32: ; preds = %24
%33 = load i32, ptr %9, align 4
%34 = icmp eq i32 %33, 43
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
%38 = load i8, ptr %36, align 1
%39 = sext i8 %38 to i32
store i32 %39, ptr %9, align 4
br label %40
40: ; preds = %35, %32
br label %41
41: ; preds = %40, %27
%42 = load i32, ptr %6, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %47, label %44
44: ; preds = %41
%45 = load i32, ptr %6, align 4
%46 = icmp eq i32 %45, 16
br i1 %46, label %47, label %67
47: ; preds = %44, %41
%48 = load i32, ptr %9, align 4
%49 = icmp eq i32 %48, 48
br i1 %49, label %50, label %67
50: ; preds = %47
%51 = load ptr, ptr %7, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 120
br i1 %54, label %60, label %55
55: ; preds = %50
%56 = load ptr, ptr %7, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 88
br i1 %59, label %60, label %67
60: ; preds = %55, %50
%61 = load ptr, ptr %7, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 1
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
store i32 %64, ptr %9, align 4
%65 = load ptr, ptr %7, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 2
store ptr %66, ptr %7, align 8
store i32 16, ptr %6, align 4
br label %67
67: ; preds = %60, %55, %47, %44
%68 = load i32, ptr %6, align 4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %75
70: ; preds = %67
%71 = load i32, ptr %9, align 4
%72 = icmp eq i32 %71, 48
%73 = zext i1 %72 to i64
%74 = select i1 %72, i32 8, i32 10
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %70, %67
%76 = load i32, ptr @UINTMAX_MAX, align 4
%77 = sext i32 %76 to i64
%78 = load i32, ptr %6, align 4
%79 = sext i32 %78 to i64
%80 = udiv i64 %77, %79
%81 = trunc i64 %80 to i32
store i32 %81, ptr %10, align 4
%82 = load i32, ptr @UINTMAX_MAX, align 4
%83 = sext i32 %82 to i64
%84 = load i32, ptr %6, align 4
%85 = sext i32 %84 to i64
%86 = urem i64 %83, %85
%87 = trunc i64 %86 to i32
store i32 %87, ptr %13, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %12, align 4
br label %88
88: ; preds = %138, %75
%89 = load i32, ptr %9, align 4
%90 = call i64 @isdigit(i32 noundef %89)
%91 = icmp ne i64 %90, 0
br i1 %91, label %92, label %95
92: ; preds = %88
%93 = load i32, ptr %9, align 4
%94 = sub nsw i32 %93, 48
store i32 %94, ptr %9, align 4
br label %109
95: ; preds = %88
%96 = load i32, ptr %9, align 4
%97 = call i64 @isalpha(i32 noundef %96)
%98 = icmp ne i64 %97, 0
br i1 %98, label %99, label %107
99: ; preds = %95
%100 = load i32, ptr %9, align 4
%101 = call i64 @isupper(i32 noundef %100)
%102 = icmp ne i64 %101, 0
%103 = zext i1 %102 to i64
%104 = select i1 %102, i32 55, i32 87
%105 = load i32, ptr %9, align 4
%106 = sub nsw i32 %105, %104
store i32 %106, ptr %9, align 4
br label %108
107: ; preds = %95
br label %143
108: ; preds = %99
br label %109
109: ; preds = %108, %92
%110 = load i32, ptr %9, align 4
%111 = load i32, ptr %6, align 4
%112 = icmp sge i32 %110, %111
br i1 %112, label %113, label %114
113: ; preds = %109
br label %143
114: ; preds = %109
%115 = load i32, ptr %12, align 4
%116 = icmp slt i32 %115, 0
br i1 %116, label %129, label %117
117: ; preds = %114
%118 = load i32, ptr %8, align 4
%119 = load i32, ptr %10, align 4
%120 = icmp sgt i32 %118, %119
br i1 %120, label %129, label %121
121: ; preds = %117
%122 = load i32, ptr %8, align 4
%123 = load i32, ptr %10, align 4
%124 = icmp eq i32 %122, %123
br i1 %124, label %125, label %130
125: ; preds = %121
%126 = load i32, ptr %9, align 4
%127 = load i32, ptr %13, align 4
%128 = icmp sgt i32 %126, %127
br i1 %128, label %129, label %130
129: ; preds = %125, %117, %114
store i32 -1, ptr %12, align 4
br label %137
130: ; preds = %125, %121
store i32 1, ptr %12, align 4
%131 = load i32, ptr %6, align 4
%132 = load i32, ptr %8, align 4
%133 = mul nsw i32 %132, %131
store i32 %133, ptr %8, align 4
%134 = load i32, ptr %9, align 4
%135 = load i32, ptr %8, align 4
%136 = add nsw i32 %135, %134
store i32 %136, ptr %8, align 4
br label %137
137: ; preds = %130, %129
br label %138
138: ; preds = %137
%139 = load ptr, ptr %7, align 8
%140 = getelementptr inbounds i8, ptr %139, i32 1
store ptr %140, ptr %7, align 8
%141 = load i8, ptr %139, align 1
%142 = sext i8 %141 to i32
store i32 %142, ptr %9, align 4
br label %88
143: ; preds = %113, %107
%144 = load i32, ptr %12, align 4
%145 = icmp slt i32 %144, 0
br i1 %145, label %146, label %150
146: ; preds = %143
%147 = load i32, ptr @UINTMAX_MAX, align 4
store i32 %147, ptr %8, align 4
%148 = load i32, ptr @ERANGE, align 4
%149 = call i32 @SET_ERRNO(i32 noundef %148)
br label %164
150: ; preds = %143
%151 = load i32, ptr %12, align 4
%152 = icmp eq i32 %151, 0
br i1 %152, label %153, label %156
153: ; preds = %150
%154 = load i32, ptr @EINVAL, align 4
%155 = call i32 @SET_ERRNO(i32 noundef %154)
br label %163
156: ; preds = %150
%157 = load i32, ptr %11, align 4
%158 = icmp ne i32 %157, 0
br i1 %158, label %159, label %162
159: ; preds = %156
%160 = load i32, ptr %8, align 4
%161 = sub nsw i32 0, %160
store i32 %161, ptr %8, align 4
br label %162
162: ; preds = %159, %156
br label %163
163: ; preds = %162, %153
br label %164
164: ; preds = %163, %146
%165 = load ptr, ptr %5, align 8
%166 = icmp ne ptr %165, null
br i1 %166, label %167, label %178
167: ; preds = %164
%168 = load i32, ptr %12, align 4
%169 = icmp ne i32 %168, 0
br i1 %169, label %170, label %173
170: ; preds = %167
%171 = load ptr, ptr %7, align 8
%172 = getelementptr inbounds i8, ptr %171, i64 -1
br label %175
173: ; preds = %167
%174 = load ptr, ptr %4, align 8
br label %175
175: ; preds = %173, %170
%176 = phi ptr [ %172, %170 ], [ %174, %173 ]
%177 = load ptr, ptr %5, align 8
store ptr %176, ptr %177, align 8
br label %178
178: ; preds = %175, %164
%179 = load i32, ptr %8, align 4
ret i32 %179
}
declare i64 @isspace(i32 noundef) #1
declare i64 @isdigit(i32 noundef) #1
declare i64 @isalpha(i32 noundef) #1
declare i64 @isupper(i32 noundef) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuka7lhze.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINTMAX_MAX = dso_local global i32 0, align 4
@ERANGE = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strtoumax(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = 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
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
store i32 0, ptr %11, align 4
br label %15
15: ; preds = %20, %3
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
%18 = load i8, ptr %16, align 1
%19 = sext i8 %18 to i32
store i32 %19, ptr %9, align 4
br label %20
20: ; preds = %15
%21 = load i32, ptr %9, align 4
%22 = call i64 @isspace(i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %15, label %24, !llvm.loop !6
24: ; preds = %20
%25 = load i32, ptr %9, align 4
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %32
27: ; preds = %24
store i32 1, ptr %11, align 4
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
%30 = load i8, ptr %28, align 1
%31 = sext i8 %30 to i32
store i32 %31, ptr %9, align 4
br label %41
32: ; preds = %24
%33 = load i32, ptr %9, align 4
%34 = icmp eq i32 %33, 43
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
%38 = load i8, ptr %36, align 1
%39 = sext i8 %38 to i32
store i32 %39, ptr %9, align 4
br label %40
40: ; preds = %35, %32
br label %41
41: ; preds = %40, %27
%42 = load i32, ptr %6, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %47, label %44
44: ; preds = %41
%45 = load i32, ptr %6, align 4
%46 = icmp eq i32 %45, 16
br i1 %46, label %47, label %67
47: ; preds = %44, %41
%48 = load i32, ptr %9, align 4
%49 = icmp eq i32 %48, 48
br i1 %49, label %50, label %67
50: ; preds = %47
%51 = load ptr, ptr %7, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 120
br i1 %54, label %60, label %55
55: ; preds = %50
%56 = load ptr, ptr %7, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 88
br i1 %59, label %60, label %67
60: ; preds = %55, %50
%61 = load ptr, ptr %7, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 1
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
store i32 %64, ptr %9, align 4
%65 = load ptr, ptr %7, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 2
store ptr %66, ptr %7, align 8
store i32 16, ptr %6, align 4
br label %67
67: ; preds = %60, %55, %47, %44
%68 = load i32, ptr %6, align 4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %75
70: ; preds = %67
%71 = load i32, ptr %9, align 4
%72 = icmp eq i32 %71, 48
%73 = zext i1 %72 to i64
%74 = select i1 %72, i32 8, i32 10
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %70, %67
%76 = load i32, ptr @UINTMAX_MAX, align 4
%77 = sext i32 %76 to i64
%78 = load i32, ptr %6, align 4
%79 = sext i32 %78 to i64
%80 = udiv i64 %77, %79
%81 = trunc i64 %80 to i32
store i32 %81, ptr %10, align 4
%82 = load i32, ptr @UINTMAX_MAX, align 4
%83 = sext i32 %82 to i64
%84 = load i32, ptr %6, align 4
%85 = sext i32 %84 to i64
%86 = urem i64 %83, %85
%87 = trunc i64 %86 to i32
store i32 %87, ptr %13, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %12, align 4
br label %88
88: ; preds = %138, %75
%89 = load i32, ptr %9, align 4
%90 = call i64 @isdigit(i32 noundef %89)
%91 = icmp ne i64 %90, 0
br i1 %91, label %92, label %95
92: ; preds = %88
%93 = load i32, ptr %9, align 4
%94 = sub nsw i32 %93, 48
store i32 %94, ptr %9, align 4
br label %109
95: ; preds = %88
%96 = load i32, ptr %9, align 4
%97 = call i64 @isalpha(i32 noundef %96)
%98 = icmp ne i64 %97, 0
br i1 %98, label %99, label %107
99: ; preds = %95
%100 = load i32, ptr %9, align 4
%101 = call i64 @isupper(i32 noundef %100)
%102 = icmp ne i64 %101, 0
%103 = zext i1 %102 to i64
%104 = select i1 %102, i32 55, i32 87
%105 = load i32, ptr %9, align 4
%106 = sub nsw i32 %105, %104
store i32 %106, ptr %9, align 4
br label %108
107: ; preds = %95
br label %143
108: ; preds = %99
br label %109
109: ; preds = %108, %92
%110 = load i32, ptr %9, align 4
%111 = load i32, ptr %6, align 4
%112 = icmp sge i32 %110, %111
br i1 %112, label %113, label %114
113: ; preds = %109
br label %143
114: ; preds = %109
%115 = load i32, ptr %12, align 4
%116 = icmp slt i32 %115, 0
br i1 %116, label %129, label %117
117: ; preds = %114
%118 = load i32, ptr %8, align 4
%119 = load i32, ptr %10, align 4
%120 = icmp sgt i32 %118, %119
br i1 %120, label %129, label %121
121: ; preds = %117
%122 = load i32, ptr %8, align 4
%123 = load i32, ptr %10, align 4
%124 = icmp eq i32 %122, %123
br i1 %124, label %125, label %130
125: ; preds = %121
%126 = load i32, ptr %9, align 4
%127 = load i32, ptr %13, align 4
%128 = icmp sgt i32 %126, %127
br i1 %128, label %129, label %130
129: ; preds = %125, %117, %114
store i32 -1, ptr %12, align 4
br label %137
130: ; preds = %125, %121
store i32 1, ptr %12, align 4
%131 = load i32, ptr %6, align 4
%132 = load i32, ptr %8, align 4
%133 = mul nsw i32 %132, %131
store i32 %133, ptr %8, align 4
%134 = load i32, ptr %9, align 4
%135 = load i32, ptr %8, align 4
%136 = add nsw i32 %135, %134
store i32 %136, ptr %8, align 4
br label %137
137: ; preds = %130, %129
br label %138
138: ; preds = %137
%139 = load ptr, ptr %7, align 8
%140 = getelementptr inbounds i8, ptr %139, i32 1
store ptr %140, ptr %7, align 8
%141 = load i8, ptr %139, align 1
%142 = sext i8 %141 to i32
store i32 %142, ptr %9, align 4
br label %88
143: ; preds = %113, %107
%144 = load i32, ptr %12, align 4
%145 = icmp slt i32 %144, 0
br i1 %145, label %146, label %150
146: ; preds = %143
%147 = load i32, ptr @UINTMAX_MAX, align 4
store i32 %147, ptr %8, align 4
%148 = load i32, ptr @ERANGE, align 4
%149 = call i32 @SET_ERRNO(i32 noundef %148)
br label %164
150: ; preds = %143
%151 = load i32, ptr %12, align 4
%152 = icmp eq i32 %151, 0
br i1 %152, label %153, label %156
153: ; preds = %150
%154 = load i32, ptr @EINVAL, align 4
%155 = call i32 @SET_ERRNO(i32 noundef %154)
br label %163
156: ; preds = %150
%157 = load i32, ptr %11, align 4
%158 = icmp ne i32 %157, 0
br i1 %158, label %159, label %162
159: ; preds = %156
%160 = load i32, ptr %8, align 4
%161 = sub nsw i32 0, %160
store i32 %161, ptr %8, align 4
br label %162
162: ; preds = %159, %156
br label %163
163: ; preds = %162, %153
br label %164
164: ; preds = %163, %146
%165 = load ptr, ptr %5, align 8
%166 = icmp ne ptr %165, null
br i1 %166, label %167, label %178
167: ; preds = %164
%168 = load i32, ptr %12, align 4
%169 = icmp ne i32 %168, 0
br i1 %169, label %170, label %173
170: ; preds = %167
%171 = load ptr, ptr %7, align 8
%172 = getelementptr inbounds i8, ptr %171, i64 -1
br label %175
173: ; preds = %167
%174 = load ptr, ptr %4, align 8
br label %175
175: ; preds = %173, %170
%176 = phi ptr [ %172, %170 ], [ %174, %173 ]
%177 = load ptr, ptr %5, align 8
store ptr %176, ptr %177, align 8
br label %178
178: ; preds = %175, %164
%179 = load i32, ptr %8, align 4
ret i32 %179
}
declare i64 @isspace(i32 noundef) #1
declare i64 @isdigit(i32 noundef) #1
declare i64 @isalpha(i32 noundef) #1
declare i64 @isupper(i32 noundef) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu4md9qfl.c'
source_filename = "/tmp/tmpu4md9qfl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.array = private unnamed_addr constant [18 x i32] [i32 -59, i32 2, i32 58, i32 4, i32 51, i32 8, i32 9, i32 -25, i32 -5, i32 26, i32 -26, i32 -1111, i32 12, i32 64, i32 97, i32 26, i32 -59, i32 -10000], align 16
@.str = private unnamed_addr constant [75 x i8] c"There are %d numbers smaller than %d in the array.(Containing %d elements)\00", align 1
@.str.1 = private unnamed_addr constant [76 x i8] c"\0AThere are %d numbers smaller than %d in the array.(Containing %d elements)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [18 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array, i64 72, i1 false)
store i32 12, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = sub nsw i32 %4, 1
%6 = getelementptr inbounds [18 x i32], ptr %2, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call i32 @selectf(ptr noundef %6, i32 noundef 18, i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %8, i32 noundef 18)
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 %10, 1
%12 = getelementptr inbounds [18 x i32], ptr %2, i64 0, i64 0
%13 = load i32, ptr %3, align 4
%14 = call i32 @randomized_selectf(ptr noundef %12, i32 noundef 18, i32 noundef %13)
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %14, i32 noundef 18)
%16 = call i32 (...) @getchar()
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @selectf(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @randomized_selectf(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @getchar(...) #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/tmpu4md9qfl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.array = private unnamed_addr constant [18 x i32] [i32 -59, i32 2, i32 58, i32 4, i32 51, i32 8, i32 9, i32 -25, i32 -5, i32 26, i32 -26, i32 -1111, i32 12, i32 64, i32 97, i32 26, i32 -59, i32 -10000], align 16
@.str = private unnamed_addr constant [75 x i8] c"There are %d numbers smaller than %d in the array.(Containing %d elements)\00", align 1
@.str.1 = private unnamed_addr constant [76 x i8] c"\0AThere are %d numbers smaller than %d in the array.(Containing %d elements)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [18 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array, i64 72, i1 false)
store i32 12, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = sub nsw i32 %4, 1
%6 = getelementptr inbounds [18 x i32], ptr %2, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call i32 @selectf(ptr noundef %6, i32 noundef 18, i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %8, i32 noundef 18)
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 %10, 1
%12 = getelementptr inbounds [18 x i32], ptr %2, i64 0, i64 0
%13 = load i32, ptr %3, align 4
%14 = call i32 @randomized_selectf(ptr noundef %12, i32 noundef 18, i32 noundef %13)
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %14, i32 noundef 18)
%16 = call i32 (...) @getchar()
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @selectf(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @randomized_selectf(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @getchar(...) #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/tmpqz4_2_7m.c'
source_filename = "/tmp/tmpqz4_2_7m.c"
target datalayout = "e-m:e-p270: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/tmpqz4_2_7m.c"
target datalayout = "e-m:e-p270: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/tmpsr2sjab4.c'
source_filename = "/tmp/tmpsr2sjab4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
%4 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %4, ptr %2, align 4
%5 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sge i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %0
br label %10
9: ; preds = %0
store i32 -1, ptr %3, align 4
br label %10
10: ; preds = %9, %8
br label %11
11: ; preds = %14, %10
%12 = load i32, ptr %3, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %15, ptr %3, align 4
br label %11, !llvm.loop !6
16: ; preds = %11
store i32 2, ptr %3, align 4
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpsr2sjab4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
%4 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %4, ptr %2, align 4
%5 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sge i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %0
br label %10
9: ; preds = %0
store i32 -1, ptr %3, align 4
br label %10
10: ; preds = %9, %8
%11 = load i32, ptr %3, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %.lr.ph, label %17
.lr.ph: ; preds = %10
br label %13
13: ; preds = %.lr.ph, %13
%14 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sge i32 %15, 0
br i1 %16, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %17
17: ; preds = %._crit_edge, %10
store i32 2, ptr %3, align 4
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmplne4eg9o.c'
source_filename = "/tmp/tmplne4eg9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [62 x i8] c"This module is on development process.Please try again later.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bKashf() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplne4eg9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [62 x i8] c"This module is on development process.Please try again later.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bKashf() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmparh9cib5.c'
source_filename = "/tmp/tmparh9cib5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global x86_fp80 0xK00000000000000000000, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @asinl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
%3 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %3, align 16
%4 = load x86_fp80, ptr %3, align 16
%5 = fcmp ogt x86_fp80 %4, 0xK3FFF8000000000000000
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load x86_fp80, ptr %3, align 16
%8 = fcmp olt x86_fp80 %7, 0xKBFFF8000000000000000
br i1 %8, label %9, label %11
9: ; preds = %6, %1
%10 = call x86_fp80 (...) @__domain_error()
store x86_fp80 %10, ptr %2, align 16
br label %31
11: ; preds = %6
%12 = load x86_fp80, ptr %3, align 16
%13 = call i64 @isnan(x86_fp80 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = load x86_fp80, ptr @NAN, align 16
store x86_fp80 %16, ptr %2, align 16
br label %31
17: ; preds = %11
%18 = load x86_fp80, ptr %3, align 16
%19 = load x86_fp80, ptr %3, align 16
%20 = load x86_fp80, ptr %3, align 16
%21 = fneg x86_fp80 %19
%22 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %21, x86_fp80 %20, x86_fp80 0xK3FFF8000000000000000)
%23 = fptosi x86_fp80 %22 to i64
%24 = call i64 @sqrtl(i64 noundef %23)
%25 = sitofp i64 %24 to x86_fp80
%26 = fadd x86_fp80 0xK3FFF8000000000000000, %25
%27 = fdiv x86_fp80 %18, %26
%28 = call i64 @atanl(x86_fp80 noundef %27)
%29 = sitofp i64 %28 to x86_fp80
%30 = fmul x86_fp80 0xK40008000000000000000, %29
store x86_fp80 %30, ptr %2, align 16
br label %31
31: ; preds = %17, %15, %9
%32 = load x86_fp80, ptr %2, align 16
ret x86_fp80 %32
}
declare x86_fp80 @__domain_error(...) #1
declare i64 @isnan(x86_fp80 noundef) #1
declare i64 @atanl(x86_fp80 noundef) #1
declare i64 @sqrtl(i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmparh9cib5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global x86_fp80 0xK00000000000000000000, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @asinl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
%3 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %3, align 16
%4 = load x86_fp80, ptr %3, align 16
%5 = fcmp ogt x86_fp80 %4, 0xK3FFF8000000000000000
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load x86_fp80, ptr %3, align 16
%8 = fcmp olt x86_fp80 %7, 0xKBFFF8000000000000000
br i1 %8, label %9, label %11
9: ; preds = %6, %1
%10 = call x86_fp80 (...) @__domain_error()
store x86_fp80 %10, ptr %2, align 16
br label %31
11: ; preds = %6
%12 = load x86_fp80, ptr %3, align 16
%13 = call i64 @isnan(x86_fp80 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = load x86_fp80, ptr @NAN, align 16
store x86_fp80 %16, ptr %2, align 16
br label %31
17: ; preds = %11
%18 = load x86_fp80, ptr %3, align 16
%19 = load x86_fp80, ptr %3, align 16
%20 = load x86_fp80, ptr %3, align 16
%21 = fneg x86_fp80 %19
%22 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %21, x86_fp80 %20, x86_fp80 0xK3FFF8000000000000000)
%23 = fptosi x86_fp80 %22 to i64
%24 = call i64 @sqrtl(i64 noundef %23)
%25 = sitofp i64 %24 to x86_fp80
%26 = fadd x86_fp80 0xK3FFF8000000000000000, %25
%27 = fdiv x86_fp80 %18, %26
%28 = call i64 @atanl(x86_fp80 noundef %27)
%29 = sitofp i64 %28 to x86_fp80
%30 = fmul x86_fp80 0xK40008000000000000000, %29
store x86_fp80 %30, ptr %2, align 16
br label %31
31: ; preds = %17, %15, %9
%32 = load x86_fp80, ptr %2, align 16
ret x86_fp80 %32
}
declare x86_fp80 @__domain_error(...) #1
declare i64 @isnan(x86_fp80 noundef) #1
declare i64 @atanl(x86_fp80 noundef) #1
declare i64 @sqrtl(i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp88funm9v.c'
source_filename = "/tmp/tmp88funm9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%ddb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @db_to_index(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 @sscanf(ptr noundef %4, ptr noundef @.str, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 10
ret i32 %7
}
declare i32 @sscanf(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/tmp88funm9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%ddb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @db_to_index(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 @sscanf(ptr noundef %4, ptr noundef @.str, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 10
ret i32 %7
}
declare i32 @sscanf(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/tmpqf91pgqo.c'
source_filename = "/tmp/tmpqf91pgqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"ic_backend_pancake_local_destroy: local was null\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ic_backend_pancake_local_destroy(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %17
10: ; preds = %2
%11 = load i32, ptr %5, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load ptr, ptr %4, align 8
%15 = call i32 @free(ptr noundef %14)
br label %16
16: ; preds = %13, %10
store i32 1, ptr %3, align 4
br label %17
17: ; preds = %16, %8
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i32 @puts(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqf91pgqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"ic_backend_pancake_local_destroy: local was null\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ic_backend_pancake_local_destroy(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %17
10: ; preds = %2
%11 = load i32, ptr %5, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load ptr, ptr %4, align 8
%15 = call i32 @free(ptr noundef %14)
br label %16
16: ; preds = %13, %10
store i32 1, ptr %3, align 4
br label %17
17: ; preds = %16, %8
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i32 @puts(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0rvytwcv.c'
source_filename = "/tmp/tmp0rvytwcv.c"
target datalayout = "e-m:e-p270: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/tmp0rvytwcv.c"
target datalayout = "e-m:e-p270: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/tmpz_d2brre.c'
source_filename = "/tmp/tmpz_d2brre.c"
target datalayout = "e-m:e-p270: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/tmpz_d2brre.c"
target datalayout = "e-m:e-p270: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/tmp2jz130l0.c'
source_filename = "/tmp/tmp2jz130l0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str2int16(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load ptr, ptr %6, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %11, %3
store i32 0, ptr %4, align 4
br label %24
15: ; preds = %11
%16 = load ptr, ptr %6, align 8
%17 = call double @atof(ptr noundef %16)
store double %17, ptr %8, align 8
%18 = load double, ptr %8, align 8
%19 = load i32, ptr %7, align 4
%20 = call double @pow(i32 noundef 10, i32 noundef %19)
%21 = fmul double %18, %20
%22 = call i64 @round(double noundef %21)
%23 = load ptr, ptr %5, align 8
store i64 %22, ptr %23, align 8
store i32 1, ptr %4, align 4
br label %24
24: ; preds = %15, %14
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare double @atof(ptr noundef) #1
declare i64 @round(double noundef) #1
declare double @pow(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/tmp2jz130l0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str2int16(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load ptr, ptr %6, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %11, %3
store i32 0, ptr %4, align 4
br label %24
15: ; preds = %11
%16 = load ptr, ptr %6, align 8
%17 = call double @atof(ptr noundef %16)
store double %17, ptr %8, align 8
%18 = load double, ptr %8, align 8
%19 = load i32, ptr %7, align 4
%20 = call double @pow(i32 noundef 10, i32 noundef %19)
%21 = fmul double %18, %20
%22 = call i64 @round(double noundef %21)
%23 = load ptr, ptr %5, align 8
store i64 %22, ptr %23, align 8
store i32 1, ptr %4, align 4
br label %24
24: ; preds = %15, %14
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare double @atof(ptr noundef) #1
declare i64 @round(double noundef) #1
declare double @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_uj5jay4.c'
source_filename = "/tmp/tmp_uj5jay4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_uj5jay4.c"
target datalayout = "e-m:e-p270: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/tmp3v_z66a4.c'
source_filename = "/tmp/tmp3v_z66a4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PrioInmelden(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 = load i32, ptr %11, align 4
%18 = load i32, ptr %12, align 4
%19 = call i32 @PrioInmeldenID(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef 0)
ret void
}
declare i32 @PrioInmeldenID(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3v_z66a4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PrioInmelden(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 = load i32, ptr %11, align 4
%18 = load i32, ptr %12, align 4
%19 = call i32 @PrioInmeldenID(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef 0)
ret void
}
declare i32 @PrioInmeldenID(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu4ufb1gu.c'
source_filename = "/tmp/tmpu4ufb1gu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 (...) @clear_digits_array()
br label %5
5: ; preds = %26, %25, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 7
br i1 %7, label %8, label %27
8: ; preds = %5
%9 = call i32 (...) @getchar()
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp sle i32 %10, 57
br i1 %11, label %12, label %21
12: ; preds = %8
%13 = load i32, ptr %3, align 4
%14 = icmp sge i32 %13, 48
br i1 %14, label %15, label %21
15: ; preds = %12
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = call i32 @process_digit(i32 noundef %16, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
br label %26
21: ; preds = %12, %8
%22 = load i32, ptr %3, align 4
%23 = icmp eq i32 %22, 10
br i1 %23, label %24, label %25
24: ; preds = %21
br label %27
25: ; preds = %21
br label %5, !llvm.loop !6
26: ; preds = %15
br label %5, !llvm.loop !6
27: ; preds = %24, %5
%28 = call i32 (...) @print_digits_array()
ret i32 0
}
declare i32 @clear_digits_array(...) #1
declare i32 @getchar(...) #1
declare i32 @process_digit(i32 noundef, i32 noundef) #1
declare i32 @print_digits_array(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpu4ufb1gu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 (...) @clear_digits_array()
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 7
br i1 %6, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %.backedge
%8 = call i32 (...) @getchar()
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp sle i32 %9, 57
br i1 %10, label %11, label %20
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = icmp sge i32 %12, 48
br i1 %13, label %14, label %20
14: ; preds = %11
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = call i32 @process_digit(i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
br label %27
20: ; preds = %11, %7
%21 = load i32, ptr %3, align 4
%22 = icmp eq i32 %21, 10
br i1 %22, label %23, label %24
23: ; preds = %20
br label %28
24: ; preds = %20
br label %.backedge
.backedge: ; preds = %24, %27
%25 = load i32, ptr %2, align 4
%26 = icmp slt i32 %25, 7
br i1 %26, label %7, label %..loopexit_crit_edge, !llvm.loop !6
27: ; preds = %14
br label %.backedge
..loopexit_crit_edge: ; preds = %.backedge
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %28
28: ; preds = %.loopexit, %23
%29 = call i32 (...) @print_digits_array()
ret i32 0
}
declare i32 @clear_digits_array(...) #1
declare i32 @getchar(...) #1
declare i32 @process_digit(i32 noundef, i32 noundef) #1
declare i32 @print_digits_array(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp2ufwo9eb.c'
source_filename = "/tmp/tmp2ufwo9eb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rfile_fn_rel2abs_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call ptr @rfile_fn_dirname(ptr noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
%12 = xor i1 %11, true
br i1 %12, label %13, label %14
13: ; preds = %2
store ptr null, ptr %3, align 8
br label %21
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %6, align 8
%17 = call ptr @rfile_fn_rel2abs(ptr noundef %15, ptr noundef %16)
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %6, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load ptr, ptr %7, align 8
store ptr %20, ptr %3, align 8
br label %21
21: ; preds = %14, %13
%22 = load ptr, ptr %3, align 8
ret ptr %22
}
declare ptr @rfile_fn_dirname(ptr noundef) #1
declare ptr @rfile_fn_rel2abs(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ufwo9eb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rfile_fn_rel2abs_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call ptr @rfile_fn_dirname(ptr noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
%12 = xor i1 %11, true
br i1 %12, label %13, label %14
13: ; preds = %2
store ptr null, ptr %3, align 8
br label %21
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %6, align 8
%17 = call ptr @rfile_fn_rel2abs(ptr noundef %15, ptr noundef %16)
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %6, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load ptr, ptr %7, align 8
store ptr %20, ptr %3, align 8
br label %21
21: ; preds = %14, %13
%22 = load ptr, ptr %3, align 8
ret ptr %22
}
declare ptr @rfile_fn_dirname(ptr noundef) #1
declare ptr @rfile_fn_rel2abs(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp61dllwug.c'
source_filename = "/tmp/tmp61dllwug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
store ptr %7, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @sort_argv(i32 noundef %8, ptr noundef %9)
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @display_argv(i32 noundef %11, ptr noundef %12)
ret i32 0
}
declare i32 @sort_argv(i32 noundef, ptr noundef) #1
declare i32 @display_argv(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/tmp61dllwug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
store ptr %7, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @sort_argv(i32 noundef %8, ptr noundef %9)
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @display_argv(i32 noundef %11, ptr noundef %12)
ret i32 0
}
declare i32 @sort_argv(i32 noundef, ptr noundef) #1
declare i32 @display_argv(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/tmpjxflqykb.c'
source_filename = "/tmp/tmpjxflqykb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gettimeofday(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = call i32 @time(ptr noundef null)
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1
store i32 %5, ptr %7, align 8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
store i64 0, ptr %9, align 8
ret i32 0
}
declare i32 @time(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjxflqykb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gettimeofday(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = call i32 @time(ptr noundef null)
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1
store i32 %5, ptr %7, align 8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
store i64 0, ptr %9, align 8
ret i32 0
}
declare i32 @time(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphmcogo9b.c'
source_filename = "/tmp/tmphmcogo9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @talloc(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = call ptr @malloc(i64 noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %2, align 8
br label %13
11: ; preds = %1
%12 = call i32 (...) @noroom()
br label %13
13: ; preds = %11, %9
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare ptr @malloc(i64 noundef) #1
declare i32 @noroom(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphmcogo9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @talloc(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = call ptr @malloc(i64 noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %2, align 8
br label %13
11: ; preds = %1
%12 = call i32 (...) @noroom()
br label %13
13: ; preds = %11, %9
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare ptr @malloc(i64 noundef) #1
declare i32 @noroom(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpku1pr2gh.c'
source_filename = "/tmp/tmpku1pr2gh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ECONNRESET = dso_local global i64 0, align 8
@EINVAL = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@O_RDWR = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpku1pr2gh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ECONNRESET = dso_local global i64 0, align 8
@EINVAL = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@O_RDWR = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6ur9k9ih.c'
source_filename = "/tmp/tmp6ur9k9ih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"enter the size of array \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"\0Aenter values in the array\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"\0Aoriginal array -> \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"\0Asorted array -> \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %4, align 8
%11 = alloca i32, i64 %9, align 16
store i64 %9, ptr %5, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %22, %0
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %25
17: ; preds = %13
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %11, i64 %19
%21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %20)
br label %22
22: ; preds = %17
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %13, !llvm.loop !6
25: ; preds = %13
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %37, %25
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %40
31: ; preds = %27
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %11, i64 %33
%35 = load i32, ptr %34, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35)
br label %37
37: ; preds = %31
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
br label %27, !llvm.loop !8
40: ; preds = %27
%41 = load i32, ptr %2, align 4
%42 = call i32 @Sort_Array(ptr noundef %11, i32 noundef %41)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %3, align 4
br label %44
44: ; preds = %54, %40
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %2, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %57
48: ; preds = %44
%49 = load i32, ptr %3, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %11, i64 %50
%52 = load i32, ptr %51, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %52)
br label %54
54: ; preds = %48
%55 = load i32, ptr %3, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %3, align 4
br label %44, !llvm.loop !9
57: ; preds = %44
store i32 0, ptr %1, align 4
%58 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %58)
%59 = load i32, ptr %1, align 4
ret i32 %59
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @Sort_Array(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6ur9k9ih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"enter the size of array \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"\0Aenter values in the array\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"\0Aoriginal array -> \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"\0Asorted array -> \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %4, align 8
%11 = alloca i32, i64 %9, align 16
store i64 %9, ptr %5, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %21
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %11, i64 %18
%20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %0
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %.lr.ph2, label %44
.lr.ph2: ; preds = %27
br label %32
32: ; preds = %.lr.ph2, %38
%33 = load i32, ptr %3, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %11, i64 %34
%36 = load i32, ptr %35, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %36)
br label %38
38: ; preds = %32
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr %2, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %44
44: ; preds = %._crit_edge3, %27
%45 = load i32, ptr %2, align 4
%46 = call i32 @Sort_Array(ptr noundef %11, i32 noundef %45)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %3, align 4
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %.lr.ph5, label %63
.lr.ph5: ; preds = %44
br label %51
51: ; preds = %.lr.ph5, %57
%52 = load i32, ptr %3, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %11, i64 %53
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %55)
br label %57
57: ; preds = %51
%58 = load i32, ptr %3, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %3, align 4
%60 = load i32, ptr %3, align 4
%61 = load i32, ptr %2, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %51, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %57
br label %63
63: ; preds = %._crit_edge6, %44
store i32 0, ptr %1, align 4
%64 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %64)
%65 = load i32, ptr %1, align 4
ret i32 %65
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @Sort_Array(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmphgafkq7c.c'
source_filename = "/tmp/tmphgafkq7c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmPow3fs(ptr noundef %0, ptr noundef %1, float noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store float %2, ptr %6, align 4
store i64 0, ptr %7, align 8
br label %8
8: ; preds = %21, %3
%9 = load i64, ptr %7, align 8
%10 = icmp ult i64 %9, 3
br i1 %10, label %11, label %24
11: ; preds = %8
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %7, align 8
%14 = getelementptr inbounds float, ptr %12, i64 %13
%15 = load float, ptr %14, align 4
%16 = load float, ptr %6, align 4
%17 = call float @powf(float noundef %15, float noundef %16) #2
%18 = load ptr, ptr %4, align 8
%19 = load i64, ptr %7, align 8
%20 = getelementptr inbounds float, ptr %18, i64 %19
store float %17, ptr %20, align 4
br label %21
21: ; preds = %11
%22 = load i64, ptr %7, align 8
%23 = add i64 %22, 1
store i64 %23, ptr %7, align 8
br label %8, !llvm.loop !6
24: ; preds = %8
ret void
}
; Function Attrs: nounwind
declare float @powf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphgafkq7c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmPow3fs(ptr noundef %0, ptr noundef %1, float noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store float %2, ptr %6, align 4
store i64 0, ptr %7, align 8
%8 = load i64, ptr %7, align 8
%9 = icmp ult i64 %8, 3
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %3
br label %10
10: ; preds = %.lr.ph, %20
%11 = load ptr, ptr %5, align 8
%12 = load i64, ptr %7, align 8
%13 = getelementptr inbounds float, ptr %11, i64 %12
%14 = load float, ptr %13, align 4
%15 = load float, ptr %6, align 4
%16 = call float @powf(float noundef %14, float noundef %15) #2
%17 = load ptr, ptr %4, align 8
%18 = load i64, ptr %7, align 8
%19 = getelementptr inbounds float, ptr %17, i64 %18
store float %16, ptr %19, align 4
br label %20
20: ; preds = %10
%21 = load i64, ptr %7, align 8
%22 = add i64 %21, 1
store i64 %22, ptr %7, align 8
%23 = load i64, ptr %7, align 8
%24 = icmp ult i64 %23, 3
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %3
ret void
}
; Function Attrs: nounwind
declare float @powf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxkuvrygc.c'
source_filename = "/tmp/tmpxkuvrygc.c"
target datalayout = "e-m:e-p270: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.strsep_changes_input_string.str = private unnamed_addr constant [4 x i8] c"abc\00", align 1
@.str = private unnamed_addr constant [2 x i8] c"b\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strsep_changes_input_string() #0 {
%1 = alloca [4 x i8], align 1
%2 = alloca ptr, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.strsep_changes_input_string.str, i64 4, i1 false)
%3 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 1
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp eq i32 %5, 98
%7 = zext i1 %6 to i32
%8 = call i32 @clang_analyzer_eval(i32 noundef %7)
%9 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0
store ptr %9, ptr %2, align 8
%10 = call i32 @strsep(ptr noundef %2, ptr noundef @.str)
%11 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 1
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 98
%15 = zext i1 %14 to i32
%16 = call i32 @clang_analyzer_eval(i32 noundef %15)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @clang_analyzer_eval(i32 noundef) #2
declare i32 @strsep(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/tmpxkuvrygc.c"
target datalayout = "e-m:e-p270: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.strsep_changes_input_string.str = private unnamed_addr constant [4 x i8] c"abc\00", align 1
@.str = private unnamed_addr constant [2 x i8] c"b\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strsep_changes_input_string() #0 {
%1 = alloca [4 x i8], align 1
%2 = alloca ptr, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.strsep_changes_input_string.str, i64 4, i1 false)
%3 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 1
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp eq i32 %5, 98
%7 = zext i1 %6 to i32
%8 = call i32 @clang_analyzer_eval(i32 noundef %7)
%9 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0
store ptr %9, ptr %2, align 8
%10 = call i32 @strsep(ptr noundef %2, ptr noundef @.str)
%11 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 1
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 98
%15 = zext i1 %14 to i32
%16 = call i32 @clang_analyzer_eval(i32 noundef %15)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @clang_analyzer_eval(i32 noundef) #2
declare i32 @strsep(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/tmpw2bho6k1.c'
source_filename = "/tmp/tmpw2bho6k1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %s = %i \0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"i\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"a\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 i8, align 1
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i8 5, ptr %3, align 1
%4 = load i32, ptr %2, align 4
%5 = trunc i32 %4 to i8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i8 noundef signext %5)
%7 = load i8, ptr %3, align 1
%8 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.2, i8 noundef signext %7)
ret i32 0
}
declare i32 @printf(ptr noundef, 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/tmpw2bho6k1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %s = %i \0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"i\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"a\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 i8, align 1
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i8 5, ptr %3, align 1
%4 = load i32, ptr %2, align 4
%5 = trunc i32 %4 to i8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i8 noundef signext %5)
%7 = load i8, ptr %3, align 1
%8 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.2, i8 noundef signext %7)
ret i32 0
}
declare i32 @printf(ptr noundef, 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/tmp_so8gf8n.c'
source_filename = "/tmp/tmp_so8gf8n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @read_hex(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i8, align 1
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 0, ptr %7, align 8
%10 = load i64, ptr %5, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i64 0, ptr %3, align 8
br label %102
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %17, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %16, %13
store i64 -1, ptr %3, align 8
br label %102
21: ; preds = %16
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %9, align 8
store i64 0, ptr %8, align 8
br label %24
24: ; preds = %95, %21
%25 = load i64, ptr %8, align 8
%26 = load i64, ptr %5, align 8
%27 = icmp ult i64 %25, %26
br i1 %27, label %28, label %98
28: ; preds = %24
%29 = load i64, ptr %7, align 8
%30 = load i64, ptr @LONG_MAX, align 8
%31 = ashr i64 %30, 4
%32 = icmp sgt i64 %29, %31
br i1 %32, label %33, label %36
33: ; preds = %28
%34 = load ptr, ptr %9, align 8
%35 = load ptr, ptr %4, align 8
store ptr %34, ptr %35, align 8
store i64 -1, ptr %3, align 8
br label %102
36: ; preds = %28
%37 = load ptr, ptr %9, align 8
%38 = load i8, ptr %37, align 1
store i8 %38, ptr %6, align 1
%39 = load i64, ptr %7, align 8
%40 = shl i64 %39, 4
store i64 %40, ptr %7, align 8
%41 = load i8, ptr %6, align 1
%42 = sext i8 %41 to i32
%43 = icmp sge i32 %42, 48
br i1 %43, label %44, label %55
44: ; preds = %36
%45 = load i8, ptr %6, align 1
%46 = sext i8 %45 to i32
%47 = icmp sle i32 %46, 57
br i1 %47, label %48, label %55
48: ; preds = %44
%49 = load i8, ptr %6, align 1
%50 = sext i8 %49 to i32
%51 = sub nsw i32 %50, 48
%52 = sext i32 %51 to i64
%53 = load i64, ptr %7, align 8
%54 = add nsw i64 %53, %52
store i64 %54, ptr %7, align 8
br label %92
55: ; preds = %44, %36
%56 = load i8, ptr %6, align 1
%57 = sext i8 %56 to i32
%58 = icmp sge i32 %57, 97
br i1 %58, label %59, label %71
59: ; preds = %55
%60 = load i8, ptr %6, align 1
%61 = sext i8 %60 to i32
%62 = icmp sle i32 %61, 102
br i1 %62, label %63, label %71
63: ; preds = %59
%64 = load i8, ptr %6, align 1
%65 = sext i8 %64 to i32
%66 = sub nsw i32 %65, 97
%67 = add nsw i32 %66, 10
%68 = sext i32 %67 to i64
%69 = load i64, ptr %7, align 8
%70 = add nsw i64 %69, %68
store i64 %70, ptr %7, align 8
br label %91
71: ; preds = %59, %55
%72 = load i8, ptr %6, align 1
%73 = sext i8 %72 to i32
%74 = icmp sge i32 %73, 65
br i1 %74, label %75, label %87
75: ; preds = %71
%76 = load i8, ptr %6, align 1
%77 = sext i8 %76 to i32
%78 = icmp sle i32 %77, 70
br i1 %78, label %79, label %87
79: ; preds = %75
%80 = load i8, ptr %6, align 1
%81 = sext i8 %80 to i32
%82 = sub nsw i32 %81, 65
%83 = add nsw i32 %82, 10
%84 = sext i32 %83 to i64
%85 = load i64, ptr %7, align 8
%86 = add nsw i64 %85, %84
store i64 %86, ptr %7, align 8
br label %90
87: ; preds = %75, %71
%88 = load ptr, ptr %9, align 8
%89 = load ptr, ptr %4, align 8
store ptr %88, ptr %89, align 8
store i64 -1, ptr %3, align 8
br label %102
90: ; preds = %79
br label %91
91: ; preds = %90, %63
br label %92
92: ; preds = %91, %48
%93 = load ptr, ptr %9, align 8
%94 = getelementptr inbounds i8, ptr %93, i32 1
store ptr %94, ptr %9, align 8
br label %95
95: ; preds = %92
%96 = load i64, ptr %8, align 8
%97 = add i64 %96, 1
store i64 %97, ptr %8, align 8
br label %24, !llvm.loop !6
98: ; preds = %24
%99 = load ptr, ptr %9, align 8
%100 = load ptr, ptr %4, align 8
store ptr %99, ptr %100, align 8
%101 = load i64, ptr %7, align 8
store i64 %101, ptr %3, align 8
br label %102
102: ; preds = %98, %87, %33, %20, %12
%103 = load i64, ptr %3, align 8
ret i64 %103
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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_so8gf8n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @read_hex(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i8, align 1
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 0, ptr %7, align 8
%10 = load i64, ptr %5, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i64 0, ptr %3, align 8
br label %104
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %17, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %16, %13
store i64 -1, ptr %3, align 8
br label %104
21: ; preds = %16
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %9, align 8
store i64 0, ptr %8, align 8
%24 = load i64, ptr %8, align 8
%25 = load i64, ptr %5, align 8
%26 = icmp ult i64 %24, %25
br i1 %26, label %.lr.ph, label %100
.lr.ph: ; preds = %21
br label %27
27: ; preds = %.lr.ph, %94
%28 = load i64, ptr %7, align 8
%29 = load i64, ptr @LONG_MAX, align 8
%30 = ashr i64 %29, 4
%31 = icmp sgt i64 %28, %30
br i1 %31, label %32, label %35
32: ; preds = %27
%33 = load ptr, ptr %9, align 8
%34 = load ptr, ptr %4, align 8
store ptr %33, ptr %34, align 8
store i64 -1, ptr %3, align 8
br label %104
35: ; preds = %27
%36 = load ptr, ptr %9, align 8
%37 = load i8, ptr %36, align 1
store i8 %37, ptr %6, align 1
%38 = load i64, ptr %7, align 8
%39 = shl i64 %38, 4
store i64 %39, ptr %7, align 8
%40 = load i8, ptr %6, align 1
%41 = sext i8 %40 to i32
%42 = icmp sge i32 %41, 48
br i1 %42, label %43, label %54
43: ; preds = %35
%44 = load i8, ptr %6, align 1
%45 = sext i8 %44 to i32
%46 = icmp sle i32 %45, 57
br i1 %46, label %47, label %54
47: ; preds = %43
%48 = load i8, ptr %6, align 1
%49 = sext i8 %48 to i32
%50 = sub nsw i32 %49, 48
%51 = sext i32 %50 to i64
%52 = load i64, ptr %7, align 8
%53 = add nsw i64 %52, %51
store i64 %53, ptr %7, align 8
br label %91
54: ; preds = %43, %35
%55 = load i8, ptr %6, align 1
%56 = sext i8 %55 to i32
%57 = icmp sge i32 %56, 97
br i1 %57, label %58, label %70
58: ; preds = %54
%59 = load i8, ptr %6, align 1
%60 = sext i8 %59 to i32
%61 = icmp sle i32 %60, 102
br i1 %61, label %62, label %70
62: ; preds = %58
%63 = load i8, ptr %6, align 1
%64 = sext i8 %63 to i32
%65 = sub nsw i32 %64, 97
%66 = add nsw i32 %65, 10
%67 = sext i32 %66 to i64
%68 = load i64, ptr %7, align 8
%69 = add nsw i64 %68, %67
store i64 %69, ptr %7, align 8
br label %90
70: ; preds = %58, %54
%71 = load i8, ptr %6, align 1
%72 = sext i8 %71 to i32
%73 = icmp sge i32 %72, 65
br i1 %73, label %74, label %86
74: ; preds = %70
%75 = load i8, ptr %6, align 1
%76 = sext i8 %75 to i32
%77 = icmp sle i32 %76, 70
br i1 %77, label %78, label %86
78: ; preds = %74
%79 = load i8, ptr %6, align 1
%80 = sext i8 %79 to i32
%81 = sub nsw i32 %80, 65
%82 = add nsw i32 %81, 10
%83 = sext i32 %82 to i64
%84 = load i64, ptr %7, align 8
%85 = add nsw i64 %84, %83
store i64 %85, ptr %7, align 8
br label %89
86: ; preds = %74, %70
%87 = load ptr, ptr %9, align 8
%88 = load ptr, ptr %4, align 8
store ptr %87, ptr %88, align 8
store i64 -1, ptr %3, align 8
br label %104
89: ; preds = %78
br label %90
90: ; preds = %89, %62
br label %91
91: ; preds = %90, %47
%92 = load ptr, ptr %9, align 8
%93 = getelementptr inbounds i8, ptr %92, i32 1
store ptr %93, ptr %9, align 8
br label %94
94: ; preds = %91
%95 = load i64, ptr %8, align 8
%96 = add i64 %95, 1
store i64 %96, ptr %8, align 8
%97 = load i64, ptr %8, align 8
%98 = load i64, ptr %5, align 8
%99 = icmp ult i64 %97, %98
br i1 %99, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %94
br label %100
100: ; preds = %._crit_edge, %21
%101 = load ptr, ptr %9, align 8
%102 = load ptr, ptr %4, align 8
store ptr %101, ptr %102, align 8
%103 = load i64, ptr %7, align 8
store i64 %103, ptr %3, align 8
br label %104
104: ; preds = %100, %86, %32, %20, %12
%105 = load i64, ptr %3, align 8
ret i64 %105
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp52libsjn.c'
source_filename = "/tmp/tmp52libsjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_FLAT = dso_local global i32 0, align 4
@GL_SMOOTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @keyboard(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i8, ptr %4, align 1
%8 = zext i8 %7 to i32
switch i32 %8, label %19 [
i32 115, label %9
i32 83, label %13
i32 27, label %17
]
9: ; preds = %3
%10 = load i32, ptr @GL_FLAT, align 4
%11 = call i32 @glShadeModel(i32 noundef %10)
%12 = call i32 (...) @glutPostRedisplay()
br label %20
13: ; preds = %3
%14 = load i32, ptr @GL_SMOOTH, align 4
%15 = call i32 @glShadeModel(i32 noundef %14)
%16 = call i32 (...) @glutPostRedisplay()
br label %20
17: ; preds = %3
%18 = call i32 @exit(i32 noundef 0) #3
unreachable
19: ; preds = %3
br label %20
20: ; preds = %19, %13, %9
ret void
}
declare i32 @glShadeModel(i32 noundef) #1
declare i32 @glutPostRedisplay(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp52libsjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_FLAT = dso_local global i32 0, align 4
@GL_SMOOTH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @keyboard(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i8, ptr %4, align 1
%8 = zext i8 %7 to i32
switch i32 %8, label %19 [
i32 115, label %9
i32 83, label %13
i32 27, label %17
]
9: ; preds = %3
%10 = load i32, ptr @GL_FLAT, align 4
%11 = call i32 @glShadeModel(i32 noundef %10)
%12 = call i32 (...) @glutPostRedisplay()
br label %20
13: ; preds = %3
%14 = load i32, ptr @GL_SMOOTH, align 4
%15 = call i32 @glShadeModel(i32 noundef %14)
%16 = call i32 (...) @glutPostRedisplay()
br label %20
17: ; preds = %3
%18 = call i32 @exit(i32 noundef 0) #3
unreachable
19: ; preds = %3
br label %20
20: ; preds = %19, %13, %9
ret void
}
declare i32 @glShadeModel(i32 noundef) #1
declare i32 @glutPostRedisplay(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9tr_eatn.c'
source_filename = "/tmp/tmp9tr_eatn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %6, align 8
%15 = alloca double, i64 %13, align 16
store i64 %13, ptr %7, align 8
store i32 0, ptr %11, align 4
br label %16
16: ; preds = %34, %2
%17 = load i32, ptr %11, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %37
20: ; preds = %16
%21 = call double (...) @rand_double()
%22 = fcmp olt double %21, 2.000000e-01
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %15, i64 %25
store double 0x7FF8000000000000, ptr %26, align 8
br label %33
27: ; preds = %20
%28 = call double (...) @rand_double()
%29 = call double @llvm.fmuladd.f64(double %28, double 2.000000e+04, double -1.000000e+04)
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %15, i64 %31
store double %29, ptr %32, align 8
br label %33
33: ; preds = %27, %23
br label %34
34: ; preds = %33
%35 = load i32, ptr %11, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %11, align 4
br label %16, !llvm.loop !6
37: ; preds = %16
store double 0.000000e+00, ptr %9, align 8
%38 = call double (...) @tic()
store double %38, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %39
39: ; preds = %55, %37
%40 = load i32, ptr %11, align 4
%41 = load i32, ptr %3, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %58
43: ; preds = %39
%44 = load i32, ptr %4, align 4
%45 = call double @stdlib_strided_dnannsumpw(i32 noundef %44, ptr noundef %15, i32 noundef 1, ptr noundef %8)
store double %45, ptr %9, align 8
%46 = load double, ptr %9, align 8
%47 = load double, ptr %9, align 8
%48 = fcmp une double %46, %47
br i1 %48, label %52, label %49
49: ; preds = %43
%50 = load i64, ptr %8, align 8
%51 = icmp slt i64 %50, 0
br i1 %51, label %52, label %54
52: ; preds = %49, %43
%53 = call i32 @printf(ptr noundef @.str)
br label %58
54: ; preds = %49
br label %55
55: ; preds = %54
%56 = load i32, ptr %11, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %11, align 4
br label %39, !llvm.loop !8
58: ; preds = %52, %39
%59 = call double (...) @tic()
%60 = load double, ptr %10, align 8
%61 = fsub double %59, %60
store double %61, ptr %5, align 8
%62 = load double, ptr %9, align 8
%63 = load double, ptr %9, align 8
%64 = fcmp une double %62, %63
br i1 %64, label %68, label %65
65: ; preds = %58
%66 = load i64, ptr %8, align 8
%67 = icmp slt i64 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %65, %58
%69 = call i32 @printf(ptr noundef @.str)
br label %70
70: ; preds = %68, %65
%71 = load double, ptr %5, align 8
%72 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %72)
ret double %71
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare double @rand_double(...) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare double @tic(...) #2
declare double @stdlib_strided_dnannsumpw(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp9tr_eatn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %6, align 8
%15 = alloca double, i64 %13, align 16
store i64 %13, ptr %7, align 8
store i32 0, ptr %11, align 4
%16 = load i32, ptr %11, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %39
.lr.ph: ; preds = %2
br label %19
19: ; preds = %.lr.ph, %33
%20 = call double (...) @rand_double()
%21 = fcmp olt double %20, 2.000000e-01
br i1 %21, label %22, label %26
22: ; preds = %19
%23 = load i32, ptr %11, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %15, i64 %24
store double 0x7FF8000000000000, ptr %25, align 8
br label %32
26: ; preds = %19
%27 = call double (...) @rand_double()
%28 = call double @llvm.fmuladd.f64(double %27, double 2.000000e+04, double -1.000000e+04)
%29 = load i32, ptr %11, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, ptr %15, i64 %30
store double %28, ptr %31, align 8
br label %32
32: ; preds = %26, %22
br label %33
33: ; preds = %32
%34 = load i32, ptr %11, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %11, align 4
%36 = load i32, ptr %11, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %2
store double 0.000000e+00, ptr %9, align 8
%40 = call double (...) @tic()
store double %40, ptr %10, align 8
store i32 0, ptr %11, align 4
%41 = load i32, ptr %11, align 4
%42 = load i32, ptr %3, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %39
br label %44
44: ; preds = %.lr.ph2, %56
%45 = load i32, ptr %4, align 4
%46 = call double @stdlib_strided_dnannsumpw(i32 noundef %45, ptr noundef %15, i32 noundef 1, ptr noundef %8)
store double %46, ptr %9, align 8
%47 = load double, ptr %9, align 8
%48 = load double, ptr %9, align 8
%49 = fcmp une double %47, %48
br i1 %49, label %53, label %50
50: ; preds = %44
%51 = load i64, ptr %8, align 8
%52 = icmp slt i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %50, %44
%54 = call i32 @printf(ptr noundef @.str)
br label %62
55: ; preds = %50
br label %56
56: ; preds = %55
%57 = load i32, ptr %11, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %11, align 4
%59 = load i32, ptr %11, align 4
%60 = load i32, ptr %3, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %44, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %56
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %39
br label %62
62: ; preds = %.loopexit, %53
%63 = call double (...) @tic()
%64 = load double, ptr %10, align 8
%65 = fsub double %63, %64
store double %65, ptr %5, align 8
%66 = load double, ptr %9, align 8
%67 = load double, ptr %9, align 8
%68 = fcmp une double %66, %67
br i1 %68, label %72, label %69
69: ; preds = %62
%70 = load i64, ptr %8, align 8
%71 = icmp slt i64 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %69, %62
%73 = call i32 @printf(ptr noundef @.str)
br label %74
74: ; preds = %72, %69
%75 = load double, ptr %5, align 8
%76 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %76)
ret double %75
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare double @rand_double(...) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare double @tic(...) #2
declare double @stdlib_strided_dnannsumpw(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpigv4kow4.c'
source_filename = "/tmp/tmpigv4kow4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%04x - \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%02x%c\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"%s%04x - <SPACES/NULS>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @BIO_dump_indent_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [289 x i8], align 16
%13 = alloca [20 x i8], align 16
%14 = alloca [129 x i8], align 16
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i8, align 1
%20 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %18, align 4
br label %21
21: ; preds = %49, %5
%22 = load i32, ptr %9, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %44
24: ; preds = %21
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %9, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 32
br i1 %32, label %42, label %33
33: ; preds = %24
%34 = load ptr, ptr %8, align 8
%35 = load i32, ptr %9, align 4
%36 = sub nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 0
br label %42
42: ; preds = %33, %24
%43 = phi i1 [ true, %24 ], [ %41, %33 ]
br label %44
44: ; preds = %42, %21
%45 = phi i1 [ false, %21 ], [ %43, %42 ]
br i1 %45, label %46, label %52
46: ; preds = %44
%47 = load i32, ptr %18, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %18, align 4
br label %49
49: ; preds = %46
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %50, -1
store i32 %51, ptr %9, align 4
br label %21, !llvm.loop !6
52: ; preds = %44
%53 = load i32, ptr %10, align 4
%54 = icmp slt i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %52
store i32 0, ptr %10, align 4
br label %56
56: ; preds = %55, %52
%57 = load i32, ptr %10, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %67
59: ; preds = %56
%60 = load i32, ptr %10, align 4
%61 = icmp sgt i32 %60, 128
br i1 %61, label %62, label %63
62: ; preds = %59
store i32 128, ptr %10, align 4
br label %63
63: ; preds = %62, %59
%64 = getelementptr inbounds [129 x i8], ptr %14, i64 0, i64 0
%65 = load i32, ptr %10, align 4
%66 = call i32 @memset(ptr noundef %64, i8 noundef signext 32, i32 noundef %65)
br label %67
67: ; preds = %63, %56
%68 = load i32, ptr %10, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [129 x i8], ptr %14, i64 0, i64 %69
store i8 0, ptr %70, align 1
%71 = load i32, ptr %10, align 4
%72 = load i32, ptr %10, align 4
%73 = icmp sgt i32 %72, 6
br i1 %73, label %74, label %75
74: ; preds = %67
br label %77
75: ; preds = %67
%76 = load i32, ptr %10, align 4
br label %77
77: ; preds = %75, %74
%78 = phi i32 [ 6, %74 ], [ %76, %75 ]
%79 = sub nsw i32 %71, %78
%80 = add nsw i32 %79, 3
%81 = sdiv i32 %80, 4
%82 = sub nsw i32 16, %81
store i32 %82, ptr %20, align 4
%83 = load i32, ptr %9, align 4
%84 = load i32, ptr %20, align 4
%85 = sdiv i32 %83, %84
store i32 %85, ptr %17, align 4
%86 = load i32, ptr %17, align 4
%87 = load i32, ptr %20, align 4
%88 = mul nsw i32 %86, %87
%89 = load i32, ptr %9, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %94
91: ; preds = %77
%92 = load i32, ptr %17, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %17, align 4
br label %94
94: ; preds = %91, %77
store i32 0, ptr %15, align 4
br label %95
95: ; preds = %217, %94
%96 = load i32, ptr %15, align 4
%97 = load i32, ptr %17, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %99, label %220
99: ; preds = %95
%100 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%101 = getelementptr inbounds [129 x i8], ptr %14, i64 0, i64 0
%102 = call i32 @strlcpy(ptr noundef %100, ptr noundef %101, i32 noundef 289)
%103 = getelementptr inbounds [20 x i8], ptr %13, i64 0, i64 0
%104 = load i32, ptr %15, align 4
%105 = load i32, ptr %20, align 4
%106 = mul nsw i32 %104, %105
%107 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %103, i32 noundef 20, ptr noundef @.str, i32 noundef %106)
%108 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%109 = getelementptr inbounds [20 x i8], ptr %13, i64 0, i64 0
%110 = call i32 @strlcat(ptr noundef %108, ptr noundef %109, i32 noundef 289)
store i32 0, ptr %16, align 4
br label %111
111: ; preds = %152, %99
%112 = load i32, ptr %16, align 4
%113 = load i32, ptr %20, align 4
%114 = icmp slt i32 %112, %113
br i1 %114, label %115, label %155
115: ; preds = %111
%116 = load i32, ptr %15, align 4
%117 = load i32, ptr %20, align 4
%118 = mul nsw i32 %116, %117
%119 = load i32, ptr %16, align 4
%120 = add nsw i32 %118, %119
%121 = load i32, ptr %9, align 4
%122 = icmp sge i32 %120, %121
br i1 %122, label %123, label %126
123: ; preds = %115
%124 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%125 = call i32 @strlcat(ptr noundef %124, ptr noundef @.str.1, i32 noundef 289)
br label %151
126: ; preds = %115
%127 = load ptr, ptr %8, align 8
%128 = load i32, ptr %15, align 4
%129 = load i32, ptr %20, align 4
%130 = mul nsw i32 %128, %129
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i8, ptr %127, i64 %131
%133 = load i32, ptr %16, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i8, ptr %132, i64 %134
%136 = load i8, ptr %135, align 1
%137 = zext i8 %136 to i32
%138 = and i32 %137, 255
%139 = trunc i32 %138 to i8
store i8 %139, ptr %19, align 1
%140 = getelementptr inbounds [20 x i8], ptr %13, i64 0, i64 0
%141 = load i8, ptr %19, align 1
%142 = zext i8 %141 to i32
%143 = load i32, ptr %16, align 4
%144 = icmp eq i32 %143, 7
%145 = zext i1 %144 to i64
%146 = select i1 %144, i32 45, i32 32
%147 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %140, i32 noundef 20, ptr noundef @.str.2, i32 noundef %142, i32 noundef %146)
%148 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%149 = getelementptr inbounds [20 x i8], ptr %13, i64 0, i64 0
%150 = call i32 @strlcat(ptr noundef %148, ptr noundef %149, i32 noundef 289)
br label %151
151: ; preds = %126, %123
br label %152
152: ; preds = %151
%153 = load i32, ptr %16, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %16, align 4
br label %111, !llvm.loop !8
155: ; preds = %111
%156 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%157 = call i32 @strlcat(ptr noundef %156, ptr noundef @.str.3, i32 noundef 289)
store i32 0, ptr %16, align 4
br label %158
158: ; preds = %203, %155
%159 = load i32, ptr %16, align 4
%160 = load i32, ptr %20, align 4
%161 = icmp slt i32 %159, %160
br i1 %161, label %162, label %206
162: ; preds = %158
%163 = load i32, ptr %15, align 4
%164 = load i32, ptr %20, align 4
%165 = mul nsw i32 %163, %164
%166 = load i32, ptr %16, align 4
%167 = add nsw i32 %165, %166
%168 = load i32, ptr %9, align 4
%169 = icmp sge i32 %167, %168
br i1 %169, label %170, label %171
170: ; preds = %162
br label %206
171: ; preds = %162
%172 = load ptr, ptr %8, align 8
%173 = load i32, ptr %15, align 4
%174 = load i32, ptr %20, align 4
%175 = mul nsw i32 %173, %174
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i8, ptr %172, i64 %176
%178 = load i32, ptr %16, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds i8, ptr %177, i64 %179
%181 = load i8, ptr %180, align 1
%182 = zext i8 %181 to i32
%183 = and i32 %182, 255
%184 = trunc i32 %183 to i8
store i8 %184, ptr %19, align 1
%185 = getelementptr inbounds [20 x i8], ptr %13, i64 0, i64 0
%186 = load i8, ptr %19, align 1
%187 = zext i8 %186 to i32
%188 = icmp sge i32 %187, 32
br i1 %188, label %189, label %196
189: ; preds = %171
%190 = load i8, ptr %19, align 1
%191 = zext i8 %190 to i32
%192 = icmp sle i32 %191, 126
br i1 %192, label %193, label %196
193: ; preds = %189
%194 = load i8, ptr %19, align 1
%195 = zext i8 %194 to i32
br label %197
196: ; preds = %189, %171
br label %197
197: ; preds = %196, %193
%198 = phi i32 [ %195, %193 ], [ 46, %196 ]
%199 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %185, i32 noundef 20, ptr noundef @.str.4, i32 noundef %198)
%200 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%201 = getelementptr inbounds [20 x i8], ptr %13, i64 0, i64 0
%202 = call i32 @strlcat(ptr noundef %200, ptr noundef %201, i32 noundef 289)
br label %203
203: ; preds = %197
%204 = load i32, ptr %16, align 4
%205 = add nsw i32 %204, 1
store i32 %205, ptr %16, align 4
br label %158, !llvm.loop !9
206: ; preds = %170, %158
%207 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%208 = call i32 @strlcat(ptr noundef %207, ptr noundef @.str.5, i32 noundef 289)
%209 = load ptr, ptr %6, align 8
%210 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%211 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%212 = call i64 @strlen(ptr noundef %211)
%213 = load ptr, ptr %7, align 8
%214 = call i32 %209(ptr noundef %210, i64 noundef %212, ptr noundef %213)
%215 = load i32, ptr %11, align 4
%216 = add nsw i32 %215, %214
store i32 %216, ptr %11, align 4
br label %217
217: ; preds = %206
%218 = load i32, ptr %15, align 4
%219 = add nsw i32 %218, 1
store i32 %219, ptr %15, align 4
br label %95, !llvm.loop !10
220: ; preds = %95
%221 = load i32, ptr %18, align 4
%222 = icmp sgt i32 %221, 0
br i1 %222, label %223, label %238
223: ; preds = %220
%224 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%225 = getelementptr inbounds [129 x i8], ptr %14, i64 0, i64 0
%226 = load i32, ptr %9, align 4
%227 = load i32, ptr %18, align 4
%228 = add nsw i32 %226, %227
%229 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %224, i32 noundef 289, ptr noundef @.str.6, ptr noundef %225, i32 noundef %228)
%230 = load ptr, ptr %6, align 8
%231 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%232 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%233 = call i64 @strlen(ptr noundef %232)
%234 = load ptr, ptr %7, align 8
%235 = call i32 %230(ptr noundef %231, i64 noundef %233, ptr noundef %234)
%236 = load i32, ptr %11, align 4
%237 = add nsw i32 %236, %235
store i32 %237, ptr %11, align 4
br label %238
238: ; preds = %223, %220
%239 = load i32, ptr %11, align 4
ret i32 %239
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @strlcat(ptr noundef, ptr noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpigv4kow4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%04x - \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%02x%c\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"%s%04x - <SPACES/NULS>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @BIO_dump_indent_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [289 x i8], align 16
%13 = alloca [20 x i8], align 16
%14 = alloca [129 x i8], align 16
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i8, align 1
%20 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %18, align 4
br label %21
21: ; preds = %49, %5
%22 = load i32, ptr %9, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %44
24: ; preds = %21
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %9, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 32
br i1 %32, label %42, label %33
33: ; preds = %24
%34 = load ptr, ptr %8, align 8
%35 = load i32, ptr %9, align 4
%36 = sub nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 0
br label %42
42: ; preds = %33, %24
%43 = phi i1 [ true, %24 ], [ %41, %33 ]
br label %44
44: ; preds = %42, %21
%45 = phi i1 [ false, %21 ], [ %43, %42 ]
br i1 %45, label %46, label %52
46: ; preds = %44
%47 = load i32, ptr %18, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %18, align 4
br label %49
49: ; preds = %46
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %50, -1
store i32 %51, ptr %9, align 4
br label %21, !llvm.loop !6
52: ; preds = %44
%53 = load i32, ptr %10, align 4
%54 = icmp slt i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %52
store i32 0, ptr %10, align 4
br label %56
56: ; preds = %55, %52
%57 = load i32, ptr %10, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %67
59: ; preds = %56
%60 = load i32, ptr %10, align 4
%61 = icmp sgt i32 %60, 128
br i1 %61, label %62, label %63
62: ; preds = %59
store i32 128, ptr %10, align 4
br label %63
63: ; preds = %62, %59
%64 = getelementptr inbounds [129 x i8], ptr %14, i64 0, i64 0
%65 = load i32, ptr %10, align 4
%66 = call i32 @memset(ptr noundef %64, i8 noundef signext 32, i32 noundef %65)
br label %67
67: ; preds = %63, %56
%68 = load i32, ptr %10, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [129 x i8], ptr %14, i64 0, i64 %69
store i8 0, ptr %70, align 1
%71 = load i32, ptr %10, align 4
%72 = load i32, ptr %10, align 4
%73 = icmp sgt i32 %72, 6
br i1 %73, label %74, label %75
74: ; preds = %67
br label %77
75: ; preds = %67
%76 = load i32, ptr %10, align 4
br label %77
77: ; preds = %75, %74
%78 = phi i32 [ 6, %74 ], [ %76, %75 ]
%79 = sub nsw i32 %71, %78
%80 = add nsw i32 %79, 3
%81 = sdiv i32 %80, 4
%82 = sub nsw i32 16, %81
store i32 %82, ptr %20, align 4
%83 = load i32, ptr %9, align 4
%84 = load i32, ptr %20, align 4
%85 = sdiv i32 %83, %84
store i32 %85, ptr %17, align 4
%86 = load i32, ptr %17, align 4
%87 = load i32, ptr %20, align 4
%88 = mul nsw i32 %86, %87
%89 = load i32, ptr %9, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %94
91: ; preds = %77
%92 = load i32, ptr %17, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %17, align 4
br label %94
94: ; preds = %91, %77
store i32 0, ptr %15, align 4
%95 = load i32, ptr %15, align 4
%96 = load i32, ptr %17, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %.lr.ph4, label %226
.lr.ph4: ; preds = %94
br label %98
98: ; preds = %.lr.ph4, %220
%99 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%100 = getelementptr inbounds [129 x i8], ptr %14, i64 0, i64 0
%101 = call i32 @strlcpy(ptr noundef %99, ptr noundef %100, i32 noundef 289)
%102 = getelementptr inbounds [20 x i8], ptr %13, i64 0, i64 0
%103 = load i32, ptr %15, align 4
%104 = load i32, ptr %20, align 4
%105 = mul nsw i32 %103, %104
%106 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %102, i32 noundef 20, ptr noundef @.str, i32 noundef %105)
%107 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%108 = getelementptr inbounds [20 x i8], ptr %13, i64 0, i64 0
%109 = call i32 @strlcat(ptr noundef %107, ptr noundef %108, i32 noundef 289)
store i32 0, ptr %16, align 4
%110 = load i32, ptr %16, align 4
%111 = load i32, ptr %20, align 4
%112 = icmp slt i32 %110, %111
br i1 %112, label %.lr.ph, label %156
.lr.ph: ; preds = %98
br label %113
113: ; preds = %.lr.ph, %150
%114 = load i32, ptr %15, align 4
%115 = load i32, ptr %20, align 4
%116 = mul nsw i32 %114, %115
%117 = load i32, ptr %16, align 4
%118 = add nsw i32 %116, %117
%119 = load i32, ptr %9, align 4
%120 = icmp sge i32 %118, %119
br i1 %120, label %121, label %124
121: ; preds = %113
%122 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%123 = call i32 @strlcat(ptr noundef %122, ptr noundef @.str.1, i32 noundef 289)
br label %149
124: ; preds = %113
%125 = load ptr, ptr %8, align 8
%126 = load i32, ptr %15, align 4
%127 = load i32, ptr %20, align 4
%128 = mul nsw i32 %126, %127
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds i8, ptr %125, i64 %129
%131 = load i32, ptr %16, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i8, ptr %130, i64 %132
%134 = load i8, ptr %133, align 1
%135 = zext i8 %134 to i32
%136 = and i32 %135, 255
%137 = trunc i32 %136 to i8
store i8 %137, ptr %19, align 1
%138 = getelementptr inbounds [20 x i8], ptr %13, i64 0, i64 0
%139 = load i8, ptr %19, align 1
%140 = zext i8 %139 to i32
%141 = load i32, ptr %16, align 4
%142 = icmp eq i32 %141, 7
%143 = zext i1 %142 to i64
%144 = select i1 %142, i32 45, i32 32
%145 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %138, i32 noundef 20, ptr noundef @.str.2, i32 noundef %140, i32 noundef %144)
%146 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%147 = getelementptr inbounds [20 x i8], ptr %13, i64 0, i64 0
%148 = call i32 @strlcat(ptr noundef %146, ptr noundef %147, i32 noundef 289)
br label %149
149: ; preds = %124, %121
br label %150
150: ; preds = %149
%151 = load i32, ptr %16, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %16, align 4
%153 = load i32, ptr %16, align 4
%154 = load i32, ptr %20, align 4
%155 = icmp slt i32 %153, %154
br i1 %155, label %113, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %150
br label %156
156: ; preds = %._crit_edge, %98
%157 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%158 = call i32 @strlcat(ptr noundef %157, ptr noundef @.str.3, i32 noundef 289)
store i32 0, ptr %16, align 4
%159 = load i32, ptr %16, align 4
%160 = load i32, ptr %20, align 4
%161 = icmp slt i32 %159, %160
br i1 %161, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %156
br label %162
162: ; preds = %.lr.ph2, %203
%163 = load i32, ptr %15, align 4
%164 = load i32, ptr %20, align 4
%165 = mul nsw i32 %163, %164
%166 = load i32, ptr %16, align 4
%167 = add nsw i32 %165, %166
%168 = load i32, ptr %9, align 4
%169 = icmp sge i32 %167, %168
br i1 %169, label %170, label %171
170: ; preds = %162
br label %209
171: ; preds = %162
%172 = load ptr, ptr %8, align 8
%173 = load i32, ptr %15, align 4
%174 = load i32, ptr %20, align 4
%175 = mul nsw i32 %173, %174
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i8, ptr %172, i64 %176
%178 = load i32, ptr %16, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds i8, ptr %177, i64 %179
%181 = load i8, ptr %180, align 1
%182 = zext i8 %181 to i32
%183 = and i32 %182, 255
%184 = trunc i32 %183 to i8
store i8 %184, ptr %19, align 1
%185 = getelementptr inbounds [20 x i8], ptr %13, i64 0, i64 0
%186 = load i8, ptr %19, align 1
%187 = zext i8 %186 to i32
%188 = icmp sge i32 %187, 32
br i1 %188, label %189, label %196
189: ; preds = %171
%190 = load i8, ptr %19, align 1
%191 = zext i8 %190 to i32
%192 = icmp sle i32 %191, 126
br i1 %192, label %193, label %196
193: ; preds = %189
%194 = load i8, ptr %19, align 1
%195 = zext i8 %194 to i32
br label %197
196: ; preds = %189, %171
br label %197
197: ; preds = %196, %193
%198 = phi i32 [ %195, %193 ], [ 46, %196 ]
%199 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %185, i32 noundef 20, ptr noundef @.str.4, i32 noundef %198)
%200 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%201 = getelementptr inbounds [20 x i8], ptr %13, i64 0, i64 0
%202 = call i32 @strlcat(ptr noundef %200, ptr noundef %201, i32 noundef 289)
br label %203
203: ; preds = %197
%204 = load i32, ptr %16, align 4
%205 = add nsw i32 %204, 1
store i32 %205, ptr %16, align 4
%206 = load i32, ptr %16, align 4
%207 = load i32, ptr %20, align 4
%208 = icmp slt i32 %206, %207
br i1 %208, label %162, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %203
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %156
br label %209
209: ; preds = %.loopexit, %170
%210 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%211 = call i32 @strlcat(ptr noundef %210, ptr noundef @.str.5, i32 noundef 289)
%212 = load ptr, ptr %6, align 8
%213 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%214 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%215 = call i64 @strlen(ptr noundef %214)
%216 = load ptr, ptr %7, align 8
%217 = call i32 %212(ptr noundef %213, i64 noundef %215, ptr noundef %216)
%218 = load i32, ptr %11, align 4
%219 = add nsw i32 %218, %217
store i32 %219, ptr %11, align 4
br label %220
220: ; preds = %209
%221 = load i32, ptr %15, align 4
%222 = add nsw i32 %221, 1
store i32 %222, ptr %15, align 4
%223 = load i32, ptr %15, align 4
%224 = load i32, ptr %17, align 4
%225 = icmp slt i32 %223, %224
br i1 %225, label %98, label %._crit_edge5, !llvm.loop !10
._crit_edge5: ; preds = %220
br label %226
226: ; preds = %._crit_edge5, %94
%227 = load i32, ptr %18, align 4
%228 = icmp sgt i32 %227, 0
br i1 %228, label %229, label %244
229: ; preds = %226
%230 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%231 = getelementptr inbounds [129 x i8], ptr %14, i64 0, i64 0
%232 = load i32, ptr %9, align 4
%233 = load i32, ptr %18, align 4
%234 = add nsw i32 %232, %233
%235 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %230, i32 noundef 289, ptr noundef @.str.6, ptr noundef %231, i32 noundef %234)
%236 = load ptr, ptr %6, align 8
%237 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%238 = getelementptr inbounds [289 x i8], ptr %12, i64 0, i64 0
%239 = call i64 @strlen(ptr noundef %238)
%240 = load ptr, ptr %7, align 8
%241 = call i32 %236(ptr noundef %237, i64 noundef %239, ptr noundef %240)
%242 = load i32, ptr %11, align 4
%243 = add nsw i32 %242, %241
store i32 %243, ptr %11, align 4
br label %244
244: ; preds = %229, %226
%245 = load i32, ptr %11, align 4
ret i32 %245
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @strlcat(ptr noundef, ptr noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpe7kk9a3c.c'
source_filename = "/tmp/tmpe7kk9a3c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %14, %0
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %17
12: ; preds = %8
%13 = call i32 @rotr(ptr noundef %2, ptr noundef %3, ptr noundef %4)
br label %14
14: ; preds = %12
%15 = load i32, ptr %6, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %6, align 4
br label %8, !llvm.loop !6
17: ; preds = %8
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18, i32 noundef %19, i32 noundef %20)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @rotr(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe7kk9a3c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %13
%12 = call i32 @rotr(ptr noundef %2, ptr noundef %3, ptr noundef %4)
br label %13
13: ; preds = %11
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %19
19: ; preds = %._crit_edge, %0
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %21, i32 noundef %22)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @rotr(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpd8xllnvw.c'
source_filename = "/tmp/tmpd8xllnvw.c"
target datalayout = "e-m:e-p270: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/tmpd8xllnvw.c"
target datalayout = "e-m:e-p270: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/tmpfxyi11f8.c'
source_filename = "/tmp/tmpfxyi11f8.c"
target datalayout = "e-m:e-p270: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/tmpfxyi11f8.c"
target datalayout = "e-m:e-p270: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/tmp4pdwbgxo.c'
source_filename = "/tmp/tmp4pdwbgxo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @ft_itoa(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @ft_putstr(ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @free(ptr noundef %8)
ret void
}
declare ptr @ft_itoa(i32 noundef) #1
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4pdwbgxo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @ft_itoa(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @ft_putstr(ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @free(ptr noundef %8)
ret void
}
declare ptr @ft_itoa(i32 noundef) #1
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk83ujtc2.c'
source_filename = "/tmp/tmpk83ujtc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"File error.\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"Memory error.\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Read error.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 0, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %1
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %12)
store ptr null, ptr %2, align 8
br label %51
14: ; preds = %1
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr @SEEK_END, align 4
%17 = call i32 @fseek(ptr noundef %15, i32 noundef 0, i32 noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = call i64 @ftell(ptr noundef %18)
store i64 %19, ptr %4, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @rewind(ptr noundef %20)
%22 = load i64, ptr %4, align 8
%23 = call i64 @malloc(i64 noundef %22)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %6, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %30, label %27
27: ; preds = %14
%28 = load i32, ptr @stderr, align 4
%29 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %28)
store ptr null, ptr %2, align 8
br label %51
30: ; preds = %14
%31 = load ptr, ptr %6, align 8
%32 = load i64, ptr %4, align 8
%33 = load ptr, ptr %5, align 8
%34 = call i64 @fread(ptr noundef %31, i32 noundef 1, i64 noundef %32, ptr noundef %33)
%35 = load i64, ptr %4, align 8
%36 = icmp ne i64 %34, %35
br i1 %36, label %37, label %40
37: ; preds = %30
%38 = load i32, ptr @stderr, align 4
%39 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %38)
store ptr null, ptr %2, align 8
br label %51
40: ; preds = %30
%41 = load ptr, ptr %5, align 8
%42 = call i32 @fclose(ptr noundef %41)
%43 = load ptr, ptr %6, align 8
%44 = load i64, ptr %4, align 8
%45 = add i64 %44, 1
%46 = call ptr @realloc(ptr noundef %43, i64 noundef %45)
store ptr %46, ptr %6, align 8
%47 = load ptr, ptr %6, align 8
%48 = load i64, ptr %4, align 8
%49 = getelementptr inbounds i8, ptr %47, i64 %48
store i8 0, ptr %49, align 1
%50 = load ptr, ptr %6, align 8
store ptr %50, ptr %2, align 8
br label %51
51: ; preds = %40, %37, %27, %11
%52 = load ptr, ptr %2, align 8
ret ptr %52
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare ptr @realloc(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/tmpk83ujtc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"File error.\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"Memory error.\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Read error.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @readFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 0, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %1
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %12)
store ptr null, ptr %2, align 8
br label %51
14: ; preds = %1
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr @SEEK_END, align 4
%17 = call i32 @fseek(ptr noundef %15, i32 noundef 0, i32 noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = call i64 @ftell(ptr noundef %18)
store i64 %19, ptr %4, align 8
%20 = load ptr, ptr %5, align 8
%21 = call i32 @rewind(ptr noundef %20)
%22 = load i64, ptr %4, align 8
%23 = call i64 @malloc(i64 noundef %22)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %6, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %30, label %27
27: ; preds = %14
%28 = load i32, ptr @stderr, align 4
%29 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %28)
store ptr null, ptr %2, align 8
br label %51
30: ; preds = %14
%31 = load ptr, ptr %6, align 8
%32 = load i64, ptr %4, align 8
%33 = load ptr, ptr %5, align 8
%34 = call i64 @fread(ptr noundef %31, i32 noundef 1, i64 noundef %32, ptr noundef %33)
%35 = load i64, ptr %4, align 8
%36 = icmp ne i64 %34, %35
br i1 %36, label %37, label %40
37: ; preds = %30
%38 = load i32, ptr @stderr, align 4
%39 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %38)
store ptr null, ptr %2, align 8
br label %51
40: ; preds = %30
%41 = load ptr, ptr %5, align 8
%42 = call i32 @fclose(ptr noundef %41)
%43 = load ptr, ptr %6, align 8
%44 = load i64, ptr %4, align 8
%45 = add i64 %44, 1
%46 = call ptr @realloc(ptr noundef %43, i64 noundef %45)
store ptr %46, ptr %6, align 8
%47 = load ptr, ptr %6, align 8
%48 = load i64, ptr %4, align 8
%49 = getelementptr inbounds i8, ptr %47, i64 %48
store i8 0, ptr %49, align 1
%50 = load ptr, ptr %6, align 8
store ptr %50, ptr %2, align 8
br label %51
51: ; preds = %40, %37, %27, %11
%52 = load ptr, ptr %2, align 8
ret ptr %52
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare ptr @realloc(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/tmpbdk3t_2x.c'
source_filename = "/tmp/tmpbdk3t_2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"type casting\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @init(ptr noundef @.str)
%3 = call i32 (...) @test()
%4 = call i32 (...) @ok()
ret i32 %4
}
declare i32 @init(ptr noundef) #1
declare i32 @test(...) #1
declare i32 @ok(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbdk3t_2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"type casting\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @init(ptr noundef @.str)
%3 = call i32 (...) @test()
%4 = call i32 (...) @ok()
ret i32 %4
}
declare i32 @init(ptr noundef) #1
declare i32 @test(...) #1
declare i32 @ok(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwhci8gix.c'
source_filename = "/tmp/tmpwhci8gix.c"
target datalayout = "e-m:e-p270: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.rusage = type { ptr, ptr, ptr, ptr }
@RUSAGE_SELF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"Failed to get memory usage: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"Max Resident Set Size: %li\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Shared Text Memory Size: %li\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"Unshared Data Size: %li\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Unshared Stack Size: %li\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printMemory() #0 {
%1 = alloca %struct.rusage, align 8
%2 = call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 32)
%3 = load i32, ptr @RUSAGE_SELF, align 4
%4 = call i64 @getrusage(i32 noundef %3, ptr noundef %1)
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %0
%7 = load i32, ptr @errno, align 4
%8 = call ptr @strerror(i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
br label %23
10: ; preds = %0
%11 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12)
%14 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 @printf(ptr noundef @.str.2, ptr noundef %15)
%17 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 2
%18 = load ptr, ptr %17, align 8
%19 = call i32 @printf(ptr noundef @.str.3, ptr noundef %18)
%20 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 3
%21 = load ptr, ptr %20, align 8
%22 = call i32 @printf(ptr noundef @.str.4, ptr noundef %21)
br label %23
23: ; preds = %10, %6
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @getrusage(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @strerror(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/tmpwhci8gix.c"
target datalayout = "e-m:e-p270: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.rusage = type { ptr, ptr, ptr, ptr }
@RUSAGE_SELF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"Failed to get memory usage: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"Max Resident Set Size: %li\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Shared Text Memory Size: %li\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"Unshared Data Size: %li\0A\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Unshared Stack Size: %li\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printMemory() #0 {
%1 = alloca %struct.rusage, align 8
%2 = call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 32)
%3 = load i32, ptr @RUSAGE_SELF, align 4
%4 = call i64 @getrusage(i32 noundef %3, ptr noundef %1)
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %0
%7 = load i32, ptr @errno, align 4
%8 = call ptr @strerror(i32 noundef %7)
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
br label %23
10: ; preds = %0
%11 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12)
%14 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 @printf(ptr noundef @.str.2, ptr noundef %15)
%17 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 2
%18 = load ptr, ptr %17, align 8
%19 = call i32 @printf(ptr noundef @.str.3, ptr noundef %18)
%20 = getelementptr inbounds %struct.rusage, ptr %1, i32 0, i32 3
%21 = load ptr, ptr %20, align 8
%22 = call i32 @printf(ptr noundef @.str.4, ptr noundef %21)
br label %23
23: ; preds = %10, %6
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @getrusage(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @strerror(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/tmpl_zq1ns3.c'
source_filename = "/tmp/tmpl_zq1ns3.c"
target datalayout = "e-m:e-p270: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/tmpl_zq1ns3.c"
target datalayout = "e-m:e-p270: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/tmplip7zw2c.c'
source_filename = "/tmp/tmplip7zw2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"dcbrt\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @time(ptr noundef null)
%9 = call i32 @srand(i32 noundef %8)
%10 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
store i32 1, ptr %6, align 4
br label %11
11: ; preds = %41, %0
%12 = load i32, ptr %6, align 4
%13 = icmp sle i32 %12, 6
br i1 %13, label %14, label %44
14: ; preds = %11
%15 = load i32, ptr %6, align 4
%16 = call i32 @pow(i32 noundef 10, i32 noundef %15)
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = sub nsw i32 %17, 1
%19 = call i32 @pow(i32 noundef 10, i32 noundef %18)
%20 = sdiv i32 10000000, %19
store i32 %20, ptr %4, align 4
store i32 0, ptr %7, align 4
br label %21
21: ; preds = %37, %14
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %22, 3
br i1 %23, label %24, label %40
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %5, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %27)
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %5, align 4
%31 = call double @benchmark(i32 noundef %29, i32 noundef %30)
store double %31, ptr %2, align 8
%32 = load i32, ptr %4, align 4
%33 = load double, ptr %2, align 8
%34 = call i32 @print_results(i32 noundef %32, double noundef %33)
%35 = load i32, ptr %3, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
br label %37
37: ; preds = %24
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
br label %21, !llvm.loop !6
40: ; preds = %21
br label %41
41: ; preds = %40
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
br label %11, !llvm.loop !8
44: ; preds = %11
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %3, align 4
%47 = call i32 @print_summary(i32 noundef %45, i32 noundef %46)
%48 = load i32, ptr %1, align 4
ret i32 %48
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(i32 noundef, i32 noundef) #1
declare i32 @print_results(i32 noundef, double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplip7zw2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"dcbrt\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @time(ptr noundef null)
%9 = call i32 @srand(i32 noundef %8)
%10 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
store i32 1, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sle i32 %11, 6
br i1 %12, label %.lr.ph2, label %46
.lr.ph2: ; preds = %0
br label %13
13: ; preds = %.lr.ph2, %41
%14 = load i32, ptr %6, align 4
%15 = call i32 @pow(i32 noundef 10, i32 noundef %14)
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @pow(i32 noundef 10, i32 noundef %17)
%19 = sdiv i32 10000000, %18
store i32 %19, ptr %4, align 4
store i32 0, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %.lr.ph, label %40
.lr.ph: ; preds = %13
br label %22
22: ; preds = %.lr.ph, %35
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %5, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %25)
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %5, align 4
%29 = call double @benchmark(i32 noundef %27, i32 noundef %28)
store double %29, ptr %2, align 8
%30 = load i32, ptr %4, align 4
%31 = load double, ptr %2, align 8
%32 = call i32 @print_results(i32 noundef %30, double noundef %31)
%33 = load i32, ptr %3, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33)
br label %35
35: ; preds = %22
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %38, 3
br i1 %39, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %40
40: ; preds = %._crit_edge, %13
br label %41
41: ; preds = %40
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp sle i32 %44, 6
br i1 %45, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %46
46: ; preds = %._crit_edge3, %0
%47 = load i32, ptr %3, align 4
%48 = load i32, ptr %3, align 4
%49 = call i32 @print_summary(i32 noundef %47, i32 noundef %48)
%50 = load i32, ptr %1, align 4
ret i32 %50
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(i32 noundef, i32 noundef) #1
declare i32 @print_results(i32 noundef, double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplkgbu2a4.c'
source_filename = "/tmp/tmplkgbu2a4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
%struct.timespec = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @timespec_now(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.timeval, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null)
%5 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
store i32 %6, ptr %8, align 4
%9 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = mul nsw i32 %10, 1000
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
store i32 %11, ptr %13, align 4
ret void
}
declare i32 @gettimeofday(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/tmplkgbu2a4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
%struct.timespec = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @timespec_now(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.timeval, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null)
%5 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
store i32 %6, ptr %8, align 4
%9 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = mul nsw i32 %10, 1000
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
store i32 %11, ptr %13, align 4
ret void
}
declare i32 @gettimeofday(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/tmpio0a452d.c'
source_filename = "/tmp/tmpio0a452d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"localhost\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"data\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"set /controls/engines/engine[%d]/throttle %d\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"get /sim/aircraft\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"READ: \09<%s>\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp sgt i32 %10, 1
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
br label %17
16: ; preds = %2
br label %17
17: ; preds = %16, %12
%18 = phi ptr [ %15, %12 ], [ @.str, %16 ]
store ptr %18, ptr %8, align 8
%19 = load i32, ptr %4, align 4
%20 = icmp sgt i32 %19, 2
br i1 %20, label %21, label %26
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 2
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
br label %27
26: ; preds = %17
br label %27
27: ; preds = %26, %21
%28 = phi i32 [ %25, %21 ], [ 5501, %26 ]
store i32 %28, ptr %7, align 4
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %7, align 4
%31 = call i32 @fgfsconnect(ptr noundef %29, i32 noundef %30)
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %27
%35 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %35, ptr %3, align 4
br label %56
36: ; preds = %27
%37 = load i32, ptr %6, align 4
%38 = call i32 (i32, ptr, ...) @fgfswrite(i32 noundef %37, ptr noundef @.str.1)
%39 = load i32, ptr %6, align 4
%40 = call i32 (i32, ptr, ...) @fgfswrite(i32 noundef %39, ptr noundef @.str.2, i32 noundef 0, i32 noundef 1)
%41 = load i32, ptr %6, align 4
%42 = call i32 (i32, ptr, ...) @fgfswrite(i32 noundef %41, ptr noundef @.str.3)
%43 = load i32, ptr %6, align 4
%44 = call ptr @fgfsread(i32 noundef %43, i32 noundef 3)
store ptr %44, ptr %9, align 8
%45 = load ptr, ptr %9, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %47, label %50
47: ; preds = %36
%48 = load ptr, ptr %9, align 8
%49 = call i32 @printf(ptr noundef @.str.4, ptr noundef %48)
br label %50
50: ; preds = %47, %36
%51 = load i32, ptr %6, align 4
%52 = call i32 (i32, ptr, ...) @fgfswrite(i32 noundef %51, ptr noundef @.str.5)
%53 = load i32, ptr %6, align 4
%54 = call i32 @close(i32 noundef %53)
%55 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %55, ptr %3, align 4
br label %56
56: ; preds = %50, %34
%57 = load i32, ptr %3, align 4
ret i32 %57
}
declare i32 @atoi(ptr noundef) #1
declare i32 @fgfsconnect(ptr noundef, i32 noundef) #1
declare i32 @fgfswrite(i32 noundef, ptr noundef, ...) #1
declare ptr @fgfsread(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpio0a452d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"localhost\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"data\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"set /controls/engines/engine[%d]/throttle %d\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"get /sim/aircraft\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"READ: \09<%s>\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp sgt i32 %10, 1
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
br label %17
16: ; preds = %2
br label %17
17: ; preds = %16, %12
%18 = phi ptr [ %15, %12 ], [ @.str, %16 ]
store ptr %18, ptr %8, align 8
%19 = load i32, ptr %4, align 4
%20 = icmp sgt i32 %19, 2
br i1 %20, label %21, label %26
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 2
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
br label %27
26: ; preds = %17
br label %27
27: ; preds = %26, %21
%28 = phi i32 [ %25, %21 ], [ 5501, %26 ]
store i32 %28, ptr %7, align 4
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %7, align 4
%31 = call i32 @fgfsconnect(ptr noundef %29, i32 noundef %30)
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %27
%35 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %35, ptr %3, align 4
br label %56
36: ; preds = %27
%37 = load i32, ptr %6, align 4
%38 = call i32 (i32, ptr, ...) @fgfswrite(i32 noundef %37, ptr noundef @.str.1)
%39 = load i32, ptr %6, align 4
%40 = call i32 (i32, ptr, ...) @fgfswrite(i32 noundef %39, ptr noundef @.str.2, i32 noundef 0, i32 noundef 1)
%41 = load i32, ptr %6, align 4
%42 = call i32 (i32, ptr, ...) @fgfswrite(i32 noundef %41, ptr noundef @.str.3)
%43 = load i32, ptr %6, align 4
%44 = call ptr @fgfsread(i32 noundef %43, i32 noundef 3)
store ptr %44, ptr %9, align 8
%45 = load ptr, ptr %9, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %47, label %50
47: ; preds = %36
%48 = load ptr, ptr %9, align 8
%49 = call i32 @printf(ptr noundef @.str.4, ptr noundef %48)
br label %50
50: ; preds = %47, %36
%51 = load i32, ptr %6, align 4
%52 = call i32 (i32, ptr, ...) @fgfswrite(i32 noundef %51, ptr noundef @.str.5)
%53 = load i32, ptr %6, align 4
%54 = call i32 @close(i32 noundef %53)
%55 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %55, ptr %3, align 4
br label %56
56: ; preds = %50, %34
%57 = load i32, ptr %3, align 4
ret i32 %57
}
declare i32 @atoi(ptr noundef) #1
declare i32 @fgfsconnect(ptr noundef, i32 noundef) #1
declare i32 @fgfswrite(i32 noundef, ptr noundef, ...) #1
declare ptr @fgfsread(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkrojqjcw.c'
source_filename = "/tmp/tmpkrojqjcw.c"
target datalayout = "e-m:e-p270: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/tmpkrojqjcw.c"
target datalayout = "e-m:e-p270: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/tmpclm4ydwf.c'
source_filename = "/tmp/tmpclm4ydwf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_LIGHTING = dso_local global i32 0, align 4
@GL_LIGHT0 = dso_local global i32 0, align 4
@GL_LESS = dso_local global i32 0, align 4
@GL_DEPTH_TEST = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myinit() #0 {
%1 = load i32, ptr @GL_LIGHTING, align 4
%2 = call i32 @glEnable(i32 noundef %1)
%3 = load i32, ptr @GL_LIGHT0, align 4
%4 = call i32 @glEnable(i32 noundef %3)
%5 = load i32, ptr @GL_LESS, align 4
%6 = call i32 @glDepthFunc(i32 noundef %5)
%7 = load i32, ptr @GL_DEPTH_TEST, align 4
%8 = call i32 @glEnable(i32 noundef %7)
ret void
}
declare i32 @glEnable(i32 noundef) #1
declare i32 @glDepthFunc(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/tmpclm4ydwf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_LIGHTING = dso_local global i32 0, align 4
@GL_LIGHT0 = dso_local global i32 0, align 4
@GL_LESS = dso_local global i32 0, align 4
@GL_DEPTH_TEST = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myinit() #0 {
%1 = load i32, ptr @GL_LIGHTING, align 4
%2 = call i32 @glEnable(i32 noundef %1)
%3 = load i32, ptr @GL_LIGHT0, align 4
%4 = call i32 @glEnable(i32 noundef %3)
%5 = load i32, ptr @GL_LESS, align 4
%6 = call i32 @glDepthFunc(i32 noundef %5)
%7 = load i32, ptr @GL_DEPTH_TEST, align 4
%8 = call i32 @glEnable(i32 noundef %7)
ret void
}
declare i32 @glEnable(i32 noundef) #1
declare i32 @glDepthFunc(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/tmpobzu3mth.c'
source_filename = "/tmp/tmpobzu3mth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @betha(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = fsub double %6, 1.000000e+00
%8 = call double @factorial(double noundef %7)
%9 = load double, ptr %4, align 8
%10 = fsub double %9, 1.000000e+00
%11 = call double @factorial(double noundef %10)
%12 = fmul double %8, %11
%13 = load double, ptr %3, align 8
%14 = load double, ptr %4, align 8
%15 = fadd double %13, %14
%16 = fsub double %15, 1.000000e+00
%17 = call double @factorial(double noundef %16)
%18 = fdiv double %12, %17
store double %18, ptr %5, align 8
%19 = load double, ptr %5, align 8
ret double %19
}
declare double @factorial(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpobzu3mth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @betha(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = fsub double %6, 1.000000e+00
%8 = call double @factorial(double noundef %7)
%9 = load double, ptr %4, align 8
%10 = fsub double %9, 1.000000e+00
%11 = call double @factorial(double noundef %10)
%12 = fmul double %8, %11
%13 = load double, ptr %3, align 8
%14 = load double, ptr %4, align 8
%15 = fadd double %13, %14
%16 = fsub double %15, 1.000000e+00
%17 = call double @factorial(double noundef %16)
%18 = fdiv double %12, %17
store double %18, ptr %5, align 8
%19 = load double, ptr %5, align 8
ret double %19
}
declare double @factorial(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbtryowuq.c'
source_filename = "/tmp/tmpbtryowuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dyadup_2D_feed_odd_row(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %9, align 4
%19 = mul nsw i32 %17, %18
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 8
%22 = trunc i64 %21 to i32
%23 = call ptr @malloc(i32 noundef %22)
store ptr %23, ptr %15, align 8
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %8, align 4
%27 = load ptr, ptr %15, align 8
%28 = load i32, ptr %12, align 4
%29 = load i32, ptr %8, align 4
%30 = call i32 @matrix_tran(ptr noundef %24, i32 noundef %25, i32 noundef %26, ptr noundef %27, i32 noundef %28, i32 noundef %29)
%31 = load i32, ptr %11, align 4
%32 = load i32, ptr %9, align 4
%33 = mul nsw i32 %31, %32
%34 = sext i32 %33 to i64
%35 = mul i64 %34, 8
%36 = trunc i64 %35 to i32
%37 = call ptr @malloc(i32 noundef %36)
store ptr %37, ptr %16, align 8
store i32 0, ptr %13, align 4
br label %38
38: ; preds = %81, %6
%39 = load i32, ptr %13, align 4
%40 = load i32, ptr %8, align 4
%41 = sub nsw i32 %40, 1
%42 = icmp slt i32 %39, %41
br i1 %42, label %43, label %84
43: ; preds = %38
store i32 0, ptr %14, align 4
br label %44
44: ; preds = %77, %43
%45 = load i32, ptr %14, align 4
%46 = load i32, ptr %9, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %80
48: ; preds = %44
%49 = load ptr, ptr %15, align 8
%50 = load i32, ptr %14, align 4
%51 = load i32, ptr %13, align 4
%52 = load i32, ptr %9, align 4
%53 = mul nsw i32 %51, %52
%54 = add nsw i32 %50, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, ptr %49, i64 %55
%57 = load double, ptr %56, align 8
%58 = load ptr, ptr %16, align 8
%59 = load i32, ptr %14, align 4
%60 = load i32, ptr %13, align 4
%61 = mul nsw i32 2, %60
%62 = load i32, ptr %9, align 4
%63 = mul nsw i32 %61, %62
%64 = add nsw i32 %59, %63
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, ptr %58, i64 %65
store double %57, ptr %66, align 8
%67 = load ptr, ptr %16, align 8
%68 = load i32, ptr %14, align 4
%69 = load i32, ptr %13, align 4
%70 = mul nsw i32 2, %69
%71 = add nsw i32 %70, 1
%72 = load i32, ptr %9, align 4
%73 = mul nsw i32 %71, %72
%74 = add nsw i32 %68, %73
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %67, i64 %75
store double 0.000000e+00, ptr %76, align 8
br label %77
77: ; preds = %48
%78 = load i32, ptr %14, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %14, align 4
br label %44, !llvm.loop !6
80: ; preds = %44
br label %81
81: ; preds = %80
%82 = load i32, ptr %13, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %13, align 4
br label %38, !llvm.loop !8
84: ; preds = %38
store i32 0, ptr %14, align 4
br label %85
85: ; preds = %109, %84
%86 = load i32, ptr %14, align 4
%87 = load i32, ptr %9, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %89, label %112
89: ; preds = %85
%90 = load ptr, ptr %15, align 8
%91 = load i32, ptr %14, align 4
%92 = load i32, ptr %8, align 4
%93 = sub nsw i32 %92, 1
%94 = load i32, ptr %9, align 4
%95 = mul nsw i32 %93, %94
%96 = add nsw i32 %91, %95
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, ptr %90, i64 %97
%99 = load double, ptr %98, align 8
%100 = load ptr, ptr %16, align 8
%101 = load i32, ptr %14, align 4
%102 = load i32, ptr %11, align 4
%103 = sub nsw i32 %102, 1
%104 = load i32, ptr %9, align 4
%105 = mul nsw i32 %103, %104
%106 = add nsw i32 %101, %105
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds double, ptr %100, i64 %107
store double %99, ptr %108, align 8
br label %109
109: ; preds = %89
%110 = load i32, ptr %14, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %14, align 4
br label %85, !llvm.loop !9
112: ; preds = %85
%113 = load ptr, ptr %15, align 8
%114 = call i32 @free(ptr noundef %113)
%115 = load ptr, ptr %16, align 8
%116 = load i32, ptr %11, align 4
%117 = load i32, ptr %9, align 4
%118 = load ptr, ptr %10, align 8
%119 = load i32, ptr %8, align 4
%120 = load i32, ptr %12, align 4
%121 = call i32 @matrix_tran(ptr noundef %115, i32 noundef %116, i32 noundef %117, ptr noundef %118, i32 noundef %119, i32 noundef %120)
%122 = load ptr, ptr %16, align 8
%123 = call i32 @free(ptr noundef %122)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @matrix_tran(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbtryowuq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dyadup_2D_feed_odd_row(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %9, align 4
%19 = mul nsw i32 %17, %18
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 8
%22 = trunc i64 %21 to i32
%23 = call ptr @malloc(i32 noundef %22)
store ptr %23, ptr %15, align 8
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %8, align 4
%27 = load ptr, ptr %15, align 8
%28 = load i32, ptr %12, align 4
%29 = load i32, ptr %8, align 4
%30 = call i32 @matrix_tran(ptr noundef %24, i32 noundef %25, i32 noundef %26, ptr noundef %27, i32 noundef %28, i32 noundef %29)
%31 = load i32, ptr %11, align 4
%32 = load i32, ptr %9, align 4
%33 = mul nsw i32 %31, %32
%34 = sext i32 %33 to i64
%35 = mul i64 %34, 8
%36 = trunc i64 %35 to i32
%37 = call ptr @malloc(i32 noundef %36)
store ptr %37, ptr %16, align 8
store i32 0, ptr %13, align 4
%38 = load i32, ptr %13, align 4
%39 = load i32, ptr %8, align 4
%40 = sub nsw i32 %39, 1
%41 = icmp slt i32 %38, %40
br i1 %41, label %.lr.ph2, label %89
.lr.ph2: ; preds = %6
br label %42
42: ; preds = %.lr.ph2, %82
store i32 0, ptr %14, align 4
%43 = load i32, ptr %14, align 4
%44 = load i32, ptr %9, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %.lr.ph, label %81
.lr.ph: ; preds = %42
br label %46
46: ; preds = %.lr.ph, %75
%47 = load ptr, ptr %15, align 8
%48 = load i32, ptr %14, align 4
%49 = load i32, ptr %13, align 4
%50 = load i32, ptr %9, align 4
%51 = mul nsw i32 %49, %50
%52 = add nsw i32 %48, %51
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %47, i64 %53
%55 = load double, ptr %54, align 8
%56 = load ptr, ptr %16, align 8
%57 = load i32, ptr %14, align 4
%58 = load i32, ptr %13, align 4
%59 = mul nsw i32 2, %58
%60 = load i32, ptr %9, align 4
%61 = mul nsw i32 %59, %60
%62 = add nsw i32 %57, %61
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %56, i64 %63
store double %55, ptr %64, align 8
%65 = load ptr, ptr %16, align 8
%66 = load i32, ptr %14, align 4
%67 = load i32, ptr %13, align 4
%68 = mul nsw i32 2, %67
%69 = add nsw i32 %68, 1
%70 = load i32, ptr %9, align 4
%71 = mul nsw i32 %69, %70
%72 = add nsw i32 %66, %71
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %65, i64 %73
store double 0.000000e+00, ptr %74, align 8
br label %75
75: ; preds = %46
%76 = load i32, ptr %14, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %14, align 4
%78 = load i32, ptr %14, align 4
%79 = load i32, ptr %9, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %81
81: ; preds = %._crit_edge, %42
br label %82
82: ; preds = %81
%83 = load i32, ptr %13, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %13, align 4
%85 = load i32, ptr %13, align 4
%86 = load i32, ptr %8, align 4
%87 = sub nsw i32 %86, 1
%88 = icmp slt i32 %85, %87
br i1 %88, label %42, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %82
br label %89
89: ; preds = %._crit_edge3, %6
store i32 0, ptr %14, align 4
%90 = load i32, ptr %14, align 4
%91 = load i32, ptr %9, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %.lr.ph5, label %119
.lr.ph5: ; preds = %89
br label %93
93: ; preds = %.lr.ph5, %113
%94 = load ptr, ptr %15, align 8
%95 = load i32, ptr %14, align 4
%96 = load i32, ptr %8, align 4
%97 = sub nsw i32 %96, 1
%98 = load i32, ptr %9, align 4
%99 = mul nsw i32 %97, %98
%100 = add nsw i32 %95, %99
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, ptr %94, i64 %101
%103 = load double, ptr %102, align 8
%104 = load ptr, ptr %16, align 8
%105 = load i32, ptr %14, align 4
%106 = load i32, ptr %11, align 4
%107 = sub nsw i32 %106, 1
%108 = load i32, ptr %9, align 4
%109 = mul nsw i32 %107, %108
%110 = add nsw i32 %105, %109
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double, ptr %104, i64 %111
store double %103, ptr %112, align 8
br label %113
113: ; preds = %93
%114 = load i32, ptr %14, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %14, align 4
%116 = load i32, ptr %14, align 4
%117 = load i32, ptr %9, align 4
%118 = icmp slt i32 %116, %117
br i1 %118, label %93, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %113
br label %119
119: ; preds = %._crit_edge6, %89
%120 = load ptr, ptr %15, align 8
%121 = call i32 @free(ptr noundef %120)
%122 = load ptr, ptr %16, align 8
%123 = load i32, ptr %11, align 4
%124 = load i32, ptr %9, align 4
%125 = load ptr, ptr %10, align 8
%126 = load i32, ptr %8, align 4
%127 = load i32, ptr %12, align 4
%128 = call i32 @matrix_tran(ptr noundef %122, i32 noundef %123, i32 noundef %124, ptr noundef %125, i32 noundef %126, i32 noundef %127)
%129 = load ptr, ptr %16, align 8
%130 = call i32 @free(ptr noundef %129)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @matrix_tran(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpmf7xrydo.c'
source_filename = "/tmp/tmpmf7xrydo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.s2 = private unnamed_addr constant [100 x i8] c"abracadabra\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [12 x i8] c"%s, %s, %i\0A\00", align 1
@__const.main.s3 = private unnamed_addr constant [100 x i8] c"booster\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.main.s4 = private unnamed_addr constant [100 x i8] c"booster seat\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca [100 x i8], align 16
%4 = alloca [100 x i8], align 16
%5 = alloca [100 x i8], align 16
%6 = alloca [100 x i8], align 16
%7 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 100, i1 false)
%8 = getelementptr inbounds [100 x i8], ptr %2, i32 0, i32 0
store i8 97, ptr %8, align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.s2, i64 100, i1 false)
%9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%10 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%11 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%12 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @begins(ptr noundef %11, ptr noundef %12)
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %9, ptr noundef %10, i32 noundef %13)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.s3, i64 100, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.s4, i64 100, i1 false)
%15 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%16 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%17 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%18 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%19 = call i32 @begins(ptr noundef %17, ptr noundef %18)
%20 = call i32 @printf(ptr noundef @.str, ptr noundef %15, ptr noundef %16, i32 noundef %19)
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 100, i1 false)
%21 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 0
store i8 116, ptr %21, align 16
%22 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 1
store i8 101, ptr %22, align 1
%23 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 2
store i8 110, ptr %23, align 2
%24 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 3
store i8 110, ptr %24, align 1
%25 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 4
store i8 105, ptr %25, align 4
%26 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 5
store i8 115, ptr %26, align 1
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 100, i1 false)
%27 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 0
store i8 104, ptr %27, align 16
%28 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 1
store i8 111, ptr %28, align 1
%29 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 2
store i8 99, ptr %29, align 2
%30 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 3
store i8 107, ptr %30, align 1
%31 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 4
store i8 101, ptr %31, align 4
%32 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 5
store i8 121, ptr %32, align 1
%33 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%34 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%35 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%36 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%37 = call i32 @begins(ptr noundef %35, ptr noundef %36)
%38 = call i32 @printf(ptr noundef @.str, ptr noundef %33, ptr noundef %34, i32 noundef %37)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #3
declare i32 @begins(ptr noundef, ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmf7xrydo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.s2 = private unnamed_addr constant [100 x i8] c"abracadabra\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [12 x i8] c"%s, %s, %i\0A\00", align 1
@__const.main.s3 = private unnamed_addr constant [100 x i8] c"booster\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.main.s4 = private unnamed_addr constant [100 x i8] c"booster seat\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca [100 x i8], align 16
%4 = alloca [100 x i8], align 16
%5 = alloca [100 x i8], align 16
%6 = alloca [100 x i8], align 16
%7 = alloca [100 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 100, i1 false)
%8 = getelementptr inbounds [100 x i8], ptr %2, i32 0, i32 0
store i8 97, ptr %8, align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.s2, i64 100, i1 false)
%9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%10 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%11 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%12 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @begins(ptr noundef %11, ptr noundef %12)
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %9, ptr noundef %10, i32 noundef %13)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.s3, i64 100, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.s4, i64 100, i1 false)
%15 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%16 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%17 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%18 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%19 = call i32 @begins(ptr noundef %17, ptr noundef %18)
%20 = call i32 @printf(ptr noundef @.str, ptr noundef %15, ptr noundef %16, i32 noundef %19)
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 100, i1 false)
%21 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 0
store i8 116, ptr %21, align 16
%22 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 1
store i8 101, ptr %22, align 1
%23 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 2
store i8 110, ptr %23, align 2
%24 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 3
store i8 110, ptr %24, align 1
%25 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 4
store i8 105, ptr %25, align 4
%26 = getelementptr inbounds [100 x i8], ptr %6, i32 0, i32 5
store i8 115, ptr %26, align 1
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 100, i1 false)
%27 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 0
store i8 104, ptr %27, align 16
%28 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 1
store i8 111, ptr %28, align 1
%29 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 2
store i8 99, ptr %29, align 2
%30 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 3
store i8 107, ptr %30, align 1
%31 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 4
store i8 101, ptr %31, align 4
%32 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 5
store i8 121, ptr %32, align 1
%33 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%34 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%35 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%36 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%37 = call i32 @begins(ptr noundef %35, ptr noundef %36)
%38 = call i32 @printf(ptr noundef @.str, ptr noundef %33, ptr noundef %34, i32 noundef %37)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #3
declare i32 @begins(ptr noundef, ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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"}
|
; ModuleID = '/tmp/tmpkeipei4c.c'
source_filename = "/tmp/tmpkeipei4c.c"
target datalayout = "e-m:e-p270: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/tmpkeipei4c.c"
target datalayout = "e-m:e-p270: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/tmpikugsf_c.c'
source_filename = "/tmp/tmpikugsf_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_16__ = type { i32, ptr }
%struct.TYPE_18__ = type { %struct.TYPE_12__ }
%struct.TYPE_12__ = type { i32, ptr }
%struct.TYPE_17__ = type { %struct.TYPE_15__ }
%struct.TYPE_15__ = type { i64, i32, ptr, ptr }
%struct.TYPE_14__ = type { %struct.TYPE_13__ }
%struct.TYPE_13__ = type { i64 }
@.str = private unnamed_addr constant [16 x i8] c"wrongParameters\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"cvtStringToWidget\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"xtToolkitError\00", align 1
@.str.3 = private unnamed_addr constant [50 x i8] c"String To Widget conversion needs parent argument\00", align 1
@False = dso_local global i32 0, align 4
@XmuNewCvtStringToWidget.static_val = internal global ptr null, align 8
@True = dso_local global i32 0, align 4
@XmuNewCvtStringToWidget.static_val.4 = internal global ptr null, align 8
@XmuNewCvtStringToWidget.static_val.5 = internal global ptr null, align 8
@XmuNewCvtStringToWidget.static_val.6 = internal global ptr null, align 8
@XtRWidget = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @XmuNewCvtStringToWidget(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%18 = load ptr, ptr %11, align 8
%19 = getelementptr inbounds %struct.TYPE_16__, ptr %18, i32 0, i32 1
%20 = load ptr, ptr %19, align 8
%21 = call i64 @XrmStringToName(ptr noundef %20)
store i64 %21, ptr %16, align 8
%22 = load ptr, ptr %10, align 8
%23 = load i32, ptr %22, align 4
%24 = icmp ne i32 %23, 1
br i1 %24, label %25, label %29
25: ; preds = %6
%26 = load ptr, ptr %8, align 8
%27 = call i32 @XtDisplayToApplicationContext(ptr noundef %26)
%28 = call i32 @XtAppWarningMsg(i32 noundef %27, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null, ptr noundef null)
br label %29
29: ; preds = %25, %6
%30 = load ptr, ptr %9, align 8
%31 = getelementptr inbounds %struct.TYPE_16__, ptr %30, i64 0
%32 = getelementptr inbounds %struct.TYPE_16__, ptr %31, i32 0, i32 1
%33 = load ptr, ptr %32, align 8
%34 = load ptr, ptr %33, align 8
store ptr %34, ptr %15, align 8
%35 = load ptr, ptr %15, align 8
%36 = call i64 @XtIsComposite(ptr noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %95
38: ; preds = %29
%39 = load ptr, ptr %15, align 8
%40 = getelementptr inbounds %struct.TYPE_18__, ptr %39, i32 0, i32 0
%41 = getelementptr inbounds %struct.TYPE_12__, ptr %40, i32 0, i32 0
%42 = load i32, ptr %41, align 8
store i32 %42, ptr %17, align 4
%43 = load ptr, ptr %15, align 8
%44 = getelementptr inbounds %struct.TYPE_18__, ptr %43, i32 0, i32 0
%45 = getelementptr inbounds %struct.TYPE_12__, ptr %44, i32 0, i32 1
%46 = load ptr, ptr %45, align 8
store ptr %46, ptr %14, align 8
br label %47
47: ; preds = %89, %38
%48 = load i32, ptr %17, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %94
50: ; preds = %47
%51 = load ptr, ptr %14, align 8
%52 = load ptr, ptr %51, align 8
%53 = getelementptr inbounds %struct.TYPE_17__, ptr %52, i32 0, i32 0
%54 = getelementptr inbounds %struct.TYPE_15__, ptr %53, i32 0, i32 0
%55 = load i64, ptr %54, align 8
%56 = load i64, ptr %16, align 8
%57 = icmp eq i64 %55, %56
br i1 %57, label %58, label %88
58: ; preds = %50
%59 = load ptr, ptr %12, align 8
%60 = getelementptr inbounds %struct.TYPE_16__, ptr %59, i32 0, i32 1
%61 = load ptr, ptr %60, align 8
%62 = icmp ne ptr %61, null
br i1 %62, label %63, label %79
63: ; preds = %58
%64 = load ptr, ptr %12, align 8
%65 = getelementptr inbounds %struct.TYPE_16__, ptr %64, i32 0, i32 0
%66 = load i32, ptr %65, align 8
%67 = sext i32 %66 to i64
%68 = icmp ult i64 %67, 8
br i1 %68, label %69, label %73
69: ; preds = %63
%70 = load ptr, ptr %12, align 8
%71 = getelementptr inbounds %struct.TYPE_16__, ptr %70, i32 0, i32 0
store i32 8, ptr %71, align 8
%72 = load i32, ptr @False, align 4
store i32 %72, ptr %7, align 4
br label %283
73: ; preds = %63
%74 = load ptr, ptr %14, align 8
%75 = load ptr, ptr %74, align 8
%76 = load ptr, ptr %12, align 8
%77 = getelementptr inbounds %struct.TYPE_16__, ptr %76, i32 0, i32 1
%78 = load ptr, ptr %77, align 8
store ptr %75, ptr %78, align 8
br label %84
79: ; preds = %58
%80 = load ptr, ptr %14, align 8
%81 = load ptr, ptr %80, align 8
store ptr %81, ptr @XmuNewCvtStringToWidget.static_val, align 8
%82 = load ptr, ptr %12, align 8
%83 = getelementptr inbounds %struct.TYPE_16__, ptr %82, i32 0, i32 1
store ptr @XmuNewCvtStringToWidget.static_val, ptr %83, align 8
br label %84
84: ; preds = %79, %73
%85 = load ptr, ptr %12, align 8
%86 = getelementptr inbounds %struct.TYPE_16__, ptr %85, i32 0, i32 0
store i32 8, ptr %86, align 8
%87 = load i32, ptr @True, align 4
store i32 %87, ptr %7, align 4
br label %283
88: ; preds = %50
br label %89
89: ; preds = %88
%90 = load i32, ptr %17, align 4
%91 = add nsw i32 %90, -1
store i32 %91, ptr %17, align 4
%92 = load ptr, ptr %14, align 8
%93 = getelementptr inbounds ptr, ptr %92, i32 1
store ptr %93, ptr %14, align 8
br label %47, !llvm.loop !6
94: ; preds = %47
br label %95
95: ; preds = %94, %29
%96 = load ptr, ptr %15, align 8
%97 = getelementptr inbounds %struct.TYPE_17__, ptr %96, i32 0, i32 0
%98 = getelementptr inbounds %struct.TYPE_15__, ptr %97, i32 0, i32 1
%99 = load i32, ptr %98, align 8
store i32 %99, ptr %17, align 4
%100 = load ptr, ptr %15, align 8
%101 = getelementptr inbounds %struct.TYPE_17__, ptr %100, i32 0, i32 0
%102 = getelementptr inbounds %struct.TYPE_15__, ptr %101, i32 0, i32 3
%103 = load ptr, ptr %102, align 8
store ptr %103, ptr %14, align 8
br label %104
104: ; preds = %146, %95
%105 = load i32, ptr %17, align 4
%106 = icmp ne i32 %105, 0
br i1 %106, label %107, label %151
107: ; preds = %104
%108 = load ptr, ptr %14, align 8
%109 = load ptr, ptr %108, align 8
%110 = getelementptr inbounds %struct.TYPE_17__, ptr %109, i32 0, i32 0
%111 = getelementptr inbounds %struct.TYPE_15__, ptr %110, i32 0, i32 0
%112 = load i64, ptr %111, align 8
%113 = load i64, ptr %16, align 8
%114 = icmp eq i64 %112, %113
br i1 %114, label %115, label %145
115: ; preds = %107
%116 = load ptr, ptr %12, align 8
%117 = getelementptr inbounds %struct.TYPE_16__, ptr %116, i32 0, i32 1
%118 = load ptr, ptr %117, align 8
%119 = icmp ne ptr %118, null
br i1 %119, label %120, label %136
120: ; preds = %115
%121 = load ptr, ptr %12, align 8
%122 = getelementptr inbounds %struct.TYPE_16__, ptr %121, i32 0, i32 0
%123 = load i32, ptr %122, align 8
%124 = sext i32 %123 to i64
%125 = icmp ult i64 %124, 8
br i1 %125, label %126, label %130
126: ; preds = %120
%127 = load ptr, ptr %12, align 8
%128 = getelementptr inbounds %struct.TYPE_16__, ptr %127, i32 0, i32 0
store i32 8, ptr %128, align 8
%129 = load i32, ptr @False, align 4
store i32 %129, ptr %7, align 4
br label %283
130: ; preds = %120
%131 = load ptr, ptr %14, align 8
%132 = load ptr, ptr %131, align 8
%133 = load ptr, ptr %12, align 8
%134 = getelementptr inbounds %struct.TYPE_16__, ptr %133, i32 0, i32 1
%135 = load ptr, ptr %134, align 8
store ptr %132, ptr %135, align 8
br label %141
136: ; preds = %115
%137 = load ptr, ptr %14, align 8
%138 = load ptr, ptr %137, align 8
store ptr %138, ptr @XmuNewCvtStringToWidget.static_val.4, align 8
%139 = load ptr, ptr %12, align 8
%140 = getelementptr inbounds %struct.TYPE_16__, ptr %139, i32 0, i32 1
store ptr @XmuNewCvtStringToWidget.static_val.4, ptr %140, align 8
br label %141
141: ; preds = %136, %130
%142 = load ptr, ptr %12, align 8
%143 = getelementptr inbounds %struct.TYPE_16__, ptr %142, i32 0, i32 0
store i32 8, ptr %143, align 8
%144 = load i32, ptr @True, align 4
store i32 %144, ptr %7, align 4
br label %283
145: ; preds = %107
br label %146
146: ; preds = %145
%147 = load i32, ptr %17, align 4
%148 = add nsw i32 %147, -1
store i32 %148, ptr %17, align 4
%149 = load ptr, ptr %14, align 8
%150 = getelementptr inbounds ptr, ptr %149, i32 1
store ptr %150, ptr %14, align 8
br label %104, !llvm.loop !8
151: ; preds = %104
%152 = load ptr, ptr %15, align 8
%153 = call i64 @XtIsComposite(ptr noundef %152)
%154 = icmp ne i64 %153, 0
br i1 %154, label %155, label %215
155: ; preds = %151
%156 = load ptr, ptr %15, align 8
%157 = getelementptr inbounds %struct.TYPE_18__, ptr %156, i32 0, i32 0
%158 = getelementptr inbounds %struct.TYPE_12__, ptr %157, i32 0, i32 0
%159 = load i32, ptr %158, align 8
store i32 %159, ptr %17, align 4
%160 = load ptr, ptr %15, align 8
%161 = getelementptr inbounds %struct.TYPE_18__, ptr %160, i32 0, i32 0
%162 = getelementptr inbounds %struct.TYPE_12__, ptr %161, i32 0, i32 1
%163 = load ptr, ptr %162, align 8
store ptr %163, ptr %14, align 8
br label %164
164: ; preds = %209, %155
%165 = load i32, ptr %17, align 4
%166 = icmp ne i32 %165, 0
br i1 %166, label %167, label %214
167: ; preds = %164
%168 = load ptr, ptr %14, align 8
%169 = load ptr, ptr %168, align 8
%170 = getelementptr inbounds %struct.TYPE_17__, ptr %169, i32 0, i32 0
%171 = getelementptr inbounds %struct.TYPE_15__, ptr %170, i32 0, i32 2
%172 = load ptr, ptr %171, align 8
%173 = getelementptr inbounds %struct.TYPE_14__, ptr %172, i32 0, i32 0
%174 = getelementptr inbounds %struct.TYPE_13__, ptr %173, i32 0, i32 0
%175 = load i64, ptr %174, align 8
%176 = load i64, ptr %16, align 8
%177 = icmp eq i64 %175, %176
br i1 %177, label %178, label %208
178: ; preds = %167
%179 = load ptr, ptr %12, align 8
%180 = getelementptr inbounds %struct.TYPE_16__, ptr %179, i32 0, i32 1
%181 = load ptr, ptr %180, align 8
%182 = icmp ne ptr %181, null
br i1 %182, label %183, label %199
183: ; preds = %178
%184 = load ptr, ptr %12, align 8
%185 = getelementptr inbounds %struct.TYPE_16__, ptr %184, i32 0, i32 0
%186 = load i32, ptr %185, align 8
%187 = sext i32 %186 to i64
%188 = icmp ult i64 %187, 8
br i1 %188, label %189, label %193
189: ; preds = %183
%190 = load ptr, ptr %12, align 8
%191 = getelementptr inbounds %struct.TYPE_16__, ptr %190, i32 0, i32 0
store i32 8, ptr %191, align 8
%192 = load i32, ptr @False, align 4
store i32 %192, ptr %7, align 4
br label %283
193: ; preds = %183
%194 = load ptr, ptr %14, align 8
%195 = load ptr, ptr %194, align 8
%196 = load ptr, ptr %12, align 8
%197 = getelementptr inbounds %struct.TYPE_16__, ptr %196, i32 0, i32 1
%198 = load ptr, ptr %197, align 8
store ptr %195, ptr %198, align 8
br label %204
199: ; preds = %178
%200 = load ptr, ptr %14, align 8
%201 = load ptr, ptr %200, align 8
store ptr %201, ptr @XmuNewCvtStringToWidget.static_val.5, align 8
%202 = load ptr, ptr %12, align 8
%203 = getelementptr inbounds %struct.TYPE_16__, ptr %202, i32 0, i32 1
store ptr @XmuNewCvtStringToWidget.static_val.5, ptr %203, align 8
br label %204
204: ; preds = %199, %193
%205 = load ptr, ptr %12, align 8
%206 = getelementptr inbounds %struct.TYPE_16__, ptr %205, i32 0, i32 0
store i32 8, ptr %206, align 8
%207 = load i32, ptr @True, align 4
store i32 %207, ptr %7, align 4
br label %283
208: ; preds = %167
br label %209
209: ; preds = %208
%210 = load i32, ptr %17, align 4
%211 = add nsw i32 %210, -1
store i32 %211, ptr %17, align 4
%212 = load ptr, ptr %14, align 8
%213 = getelementptr inbounds ptr, ptr %212, i32 1
store ptr %213, ptr %14, align 8
br label %164, !llvm.loop !9
214: ; preds = %164
br label %215
215: ; preds = %214, %151
%216 = load ptr, ptr %15, align 8
%217 = getelementptr inbounds %struct.TYPE_17__, ptr %216, i32 0, i32 0
%218 = getelementptr inbounds %struct.TYPE_15__, ptr %217, i32 0, i32 1
%219 = load i32, ptr %218, align 8
store i32 %219, ptr %17, align 4
%220 = load ptr, ptr %15, align 8
%221 = getelementptr inbounds %struct.TYPE_17__, ptr %220, i32 0, i32 0
%222 = getelementptr inbounds %struct.TYPE_15__, ptr %221, i32 0, i32 3
%223 = load ptr, ptr %222, align 8
store ptr %223, ptr %14, align 8
br label %224
224: ; preds = %269, %215
%225 = load i32, ptr %17, align 4
%226 = icmp ne i32 %225, 0
br i1 %226, label %227, label %274
227: ; preds = %224
%228 = load ptr, ptr %14, align 8
%229 = load ptr, ptr %228, align 8
%230 = getelementptr inbounds %struct.TYPE_17__, ptr %229, i32 0, i32 0
%231 = getelementptr inbounds %struct.TYPE_15__, ptr %230, i32 0, i32 2
%232 = load ptr, ptr %231, align 8
%233 = getelementptr inbounds %struct.TYPE_14__, ptr %232, i32 0, i32 0
%234 = getelementptr inbounds %struct.TYPE_13__, ptr %233, i32 0, i32 0
%235 = load i64, ptr %234, align 8
%236 = load i64, ptr %16, align 8
%237 = icmp eq i64 %235, %236
br i1 %237, label %238, label %268
238: ; preds = %227
%239 = load ptr, ptr %12, align 8
%240 = getelementptr inbounds %struct.TYPE_16__, ptr %239, i32 0, i32 1
%241 = load ptr, ptr %240, align 8
%242 = icmp ne ptr %241, null
br i1 %242, label %243, label %259
243: ; preds = %238
%244 = load ptr, ptr %12, align 8
%245 = getelementptr inbounds %struct.TYPE_16__, ptr %244, i32 0, i32 0
%246 = load i32, ptr %245, align 8
%247 = sext i32 %246 to i64
%248 = icmp ult i64 %247, 8
br i1 %248, label %249, label %253
249: ; preds = %243
%250 = load ptr, ptr %12, align 8
%251 = getelementptr inbounds %struct.TYPE_16__, ptr %250, i32 0, i32 0
store i32 8, ptr %251, align 8
%252 = load i32, ptr @False, align 4
store i32 %252, ptr %7, align 4
br label %283
253: ; preds = %243
%254 = load ptr, ptr %14, align 8
%255 = load ptr, ptr %254, align 8
%256 = load ptr, ptr %12, align 8
%257 = getelementptr inbounds %struct.TYPE_16__, ptr %256, i32 0, i32 1
%258 = load ptr, ptr %257, align 8
store ptr %255, ptr %258, align 8
br label %264
259: ; preds = %238
%260 = load ptr, ptr %14, align 8
%261 = load ptr, ptr %260, align 8
store ptr %261, ptr @XmuNewCvtStringToWidget.static_val.6, align 8
%262 = load ptr, ptr %12, align 8
%263 = getelementptr inbounds %struct.TYPE_16__, ptr %262, i32 0, i32 1
store ptr @XmuNewCvtStringToWidget.static_val.6, ptr %263, align 8
br label %264
264: ; preds = %259, %253
%265 = load ptr, ptr %12, align 8
%266 = getelementptr inbounds %struct.TYPE_16__, ptr %265, i32 0, i32 0
store i32 8, ptr %266, align 8
%267 = load i32, ptr @True, align 4
store i32 %267, ptr %7, align 4
br label %283
268: ; preds = %227
br label %269
269: ; preds = %268
%270 = load i32, ptr %17, align 4
%271 = add nsw i32 %270, -1
store i32 %271, ptr %17, align 4
%272 = load ptr, ptr %14, align 8
%273 = getelementptr inbounds ptr, ptr %272, i32 1
store ptr %273, ptr %14, align 8
br label %224, !llvm.loop !10
274: ; preds = %224
%275 = load ptr, ptr %8, align 8
%276 = load ptr, ptr %11, align 8
%277 = getelementptr inbounds %struct.TYPE_16__, ptr %276, i32 0, i32 1
%278 = load ptr, ptr %277, align 8
%279 = ptrtoint ptr %278 to i32
%280 = load i32, ptr @XtRWidget, align 4
%281 = call i32 @XtDisplayStringConversionWarning(ptr noundef %275, i32 noundef %279, i32 noundef %280)
%282 = load i32, ptr @False, align 4
store i32 %282, ptr %7, align 4
br label %283
283: ; preds = %274, %264, %249, %204, %189, %141, %126, %84, %69
%284 = load i32, ptr %7, align 4
ret i32 %284
}
declare i64 @XrmStringToName(ptr noundef) #1
declare i32 @XtAppWarningMsg(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @XtDisplayToApplicationContext(ptr noundef) #1
declare i64 @XtIsComposite(ptr noundef) #1
declare i32 @XtDisplayStringConversionWarning(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpikugsf_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_16__ = type { i32, ptr }
%struct.TYPE_18__ = type { %struct.TYPE_12__ }
%struct.TYPE_12__ = type { i32, ptr }
%struct.TYPE_17__ = type { %struct.TYPE_15__ }
%struct.TYPE_15__ = type { i64, i32, ptr, ptr }
%struct.TYPE_14__ = type { %struct.TYPE_13__ }
%struct.TYPE_13__ = type { i64 }
@.str = private unnamed_addr constant [16 x i8] c"wrongParameters\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"cvtStringToWidget\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"xtToolkitError\00", align 1
@.str.3 = private unnamed_addr constant [50 x i8] c"String To Widget conversion needs parent argument\00", align 1
@False = dso_local global i32 0, align 4
@XmuNewCvtStringToWidget.static_val = internal global ptr null, align 8
@True = dso_local global i32 0, align 4
@XmuNewCvtStringToWidget.static_val.4 = internal global ptr null, align 8
@XmuNewCvtStringToWidget.static_val.5 = internal global ptr null, align 8
@XmuNewCvtStringToWidget.static_val.6 = internal global ptr null, align 8
@XtRWidget = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @XmuNewCvtStringToWidget(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%18 = load ptr, ptr %11, align 8
%19 = getelementptr inbounds %struct.TYPE_16__, ptr %18, i32 0, i32 1
%20 = load ptr, ptr %19, align 8
%21 = call i64 @XrmStringToName(ptr noundef %20)
store i64 %21, ptr %16, align 8
%22 = load ptr, ptr %10, align 8
%23 = load i32, ptr %22, align 4
%24 = icmp ne i32 %23, 1
br i1 %24, label %25, label %29
25: ; preds = %6
%26 = load ptr, ptr %8, align 8
%27 = call i32 @XtDisplayToApplicationContext(ptr noundef %26)
%28 = call i32 @XtAppWarningMsg(i32 noundef %27, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null, ptr noundef null)
br label %29
29: ; preds = %25, %6
%30 = load ptr, ptr %9, align 8
%31 = getelementptr inbounds %struct.TYPE_16__, ptr %30, i64 0
%32 = getelementptr inbounds %struct.TYPE_16__, ptr %31, i32 0, i32 1
%33 = load ptr, ptr %32, align 8
%34 = load ptr, ptr %33, align 8
store ptr %34, ptr %15, align 8
%35 = load ptr, ptr %15, align 8
%36 = call i64 @XtIsComposite(ptr noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %96
38: ; preds = %29
%39 = load ptr, ptr %15, align 8
%40 = getelementptr inbounds %struct.TYPE_18__, ptr %39, i32 0, i32 0
%41 = getelementptr inbounds %struct.TYPE_12__, ptr %40, i32 0, i32 0
%42 = load i32, ptr %41, align 8
store i32 %42, ptr %17, align 4
%43 = load ptr, ptr %15, align 8
%44 = getelementptr inbounds %struct.TYPE_18__, ptr %43, i32 0, i32 0
%45 = getelementptr inbounds %struct.TYPE_12__, ptr %44, i32 0, i32 1
%46 = load ptr, ptr %45, align 8
store ptr %46, ptr %14, align 8
%47 = load i32, ptr %17, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %.lr.ph, label %95
.lr.ph: ; preds = %38
br label %49
49: ; preds = %.lr.ph, %88
%50 = load ptr, ptr %14, align 8
%51 = load ptr, ptr %50, align 8
%52 = getelementptr inbounds %struct.TYPE_17__, ptr %51, i32 0, i32 0
%53 = getelementptr inbounds %struct.TYPE_15__, ptr %52, i32 0, i32 0
%54 = load i64, ptr %53, align 8
%55 = load i64, ptr %16, align 8
%56 = icmp eq i64 %54, %55
br i1 %56, label %57, label %87
57: ; preds = %49
%58 = load ptr, ptr %12, align 8
%59 = getelementptr inbounds %struct.TYPE_16__, ptr %58, i32 0, i32 1
%60 = load ptr, ptr %59, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %78
62: ; preds = %57
%63 = load ptr, ptr %12, align 8
%64 = getelementptr inbounds %struct.TYPE_16__, ptr %63, i32 0, i32 0
%65 = load i32, ptr %64, align 8
%66 = sext i32 %65 to i64
%67 = icmp ult i64 %66, 8
br i1 %67, label %68, label %72
68: ; preds = %62
%69 = load ptr, ptr %12, align 8
%70 = getelementptr inbounds %struct.TYPE_16__, ptr %69, i32 0, i32 0
store i32 8, ptr %70, align 8
%71 = load i32, ptr @False, align 4
store i32 %71, ptr %7, align 4
br label %287
72: ; preds = %62
%73 = load ptr, ptr %14, align 8
%74 = load ptr, ptr %73, align 8
%75 = load ptr, ptr %12, align 8
%76 = getelementptr inbounds %struct.TYPE_16__, ptr %75, i32 0, i32 1
%77 = load ptr, ptr %76, align 8
store ptr %74, ptr %77, align 8
br label %83
78: ; preds = %57
%79 = load ptr, ptr %14, align 8
%80 = load ptr, ptr %79, align 8
store ptr %80, ptr @XmuNewCvtStringToWidget.static_val, align 8
%81 = load ptr, ptr %12, align 8
%82 = getelementptr inbounds %struct.TYPE_16__, ptr %81, i32 0, i32 1
store ptr @XmuNewCvtStringToWidget.static_val, ptr %82, align 8
br label %83
83: ; preds = %78, %72
%84 = load ptr, ptr %12, align 8
%85 = getelementptr inbounds %struct.TYPE_16__, ptr %84, i32 0, i32 0
store i32 8, ptr %85, align 8
%86 = load i32, ptr @True, align 4
store i32 %86, ptr %7, align 4
br label %287
87: ; preds = %49
br label %88
88: ; preds = %87
%89 = load i32, ptr %17, align 4
%90 = add nsw i32 %89, -1
store i32 %90, ptr %17, align 4
%91 = load ptr, ptr %14, align 8
%92 = getelementptr inbounds ptr, ptr %91, i32 1
store ptr %92, ptr %14, align 8
%93 = load i32, ptr %17, align 4
%94 = icmp ne i32 %93, 0
br i1 %94, label %49, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %88
br label %95
95: ; preds = %._crit_edge, %38
br label %96
96: ; preds = %95, %29
%97 = load ptr, ptr %15, align 8
%98 = getelementptr inbounds %struct.TYPE_17__, ptr %97, i32 0, i32 0
%99 = getelementptr inbounds %struct.TYPE_15__, ptr %98, i32 0, i32 1
%100 = load i32, ptr %99, align 8
store i32 %100, ptr %17, align 4
%101 = load ptr, ptr %15, align 8
%102 = getelementptr inbounds %struct.TYPE_17__, ptr %101, i32 0, i32 0
%103 = getelementptr inbounds %struct.TYPE_15__, ptr %102, i32 0, i32 3
%104 = load ptr, ptr %103, align 8
store ptr %104, ptr %14, align 8
%105 = load i32, ptr %17, align 4
%106 = icmp ne i32 %105, 0
br i1 %106, label %.lr.ph2, label %153
.lr.ph2: ; preds = %96
br label %107
107: ; preds = %.lr.ph2, %146
%108 = load ptr, ptr %14, align 8
%109 = load ptr, ptr %108, align 8
%110 = getelementptr inbounds %struct.TYPE_17__, ptr %109, i32 0, i32 0
%111 = getelementptr inbounds %struct.TYPE_15__, ptr %110, i32 0, i32 0
%112 = load i64, ptr %111, align 8
%113 = load i64, ptr %16, align 8
%114 = icmp eq i64 %112, %113
br i1 %114, label %115, label %145
115: ; preds = %107
%116 = load ptr, ptr %12, align 8
%117 = getelementptr inbounds %struct.TYPE_16__, ptr %116, i32 0, i32 1
%118 = load ptr, ptr %117, align 8
%119 = icmp ne ptr %118, null
br i1 %119, label %120, label %136
120: ; preds = %115
%121 = load ptr, ptr %12, align 8
%122 = getelementptr inbounds %struct.TYPE_16__, ptr %121, i32 0, i32 0
%123 = load i32, ptr %122, align 8
%124 = sext i32 %123 to i64
%125 = icmp ult i64 %124, 8
br i1 %125, label %126, label %130
126: ; preds = %120
%127 = load ptr, ptr %12, align 8
%128 = getelementptr inbounds %struct.TYPE_16__, ptr %127, i32 0, i32 0
store i32 8, ptr %128, align 8
%129 = load i32, ptr @False, align 4
store i32 %129, ptr %7, align 4
br label %287
130: ; preds = %120
%131 = load ptr, ptr %14, align 8
%132 = load ptr, ptr %131, align 8
%133 = load ptr, ptr %12, align 8
%134 = getelementptr inbounds %struct.TYPE_16__, ptr %133, i32 0, i32 1
%135 = load ptr, ptr %134, align 8
store ptr %132, ptr %135, align 8
br label %141
136: ; preds = %115
%137 = load ptr, ptr %14, align 8
%138 = load ptr, ptr %137, align 8
store ptr %138, ptr @XmuNewCvtStringToWidget.static_val.4, align 8
%139 = load ptr, ptr %12, align 8
%140 = getelementptr inbounds %struct.TYPE_16__, ptr %139, i32 0, i32 1
store ptr @XmuNewCvtStringToWidget.static_val.4, ptr %140, align 8
br label %141
141: ; preds = %136, %130
%142 = load ptr, ptr %12, align 8
%143 = getelementptr inbounds %struct.TYPE_16__, ptr %142, i32 0, i32 0
store i32 8, ptr %143, align 8
%144 = load i32, ptr @True, align 4
store i32 %144, ptr %7, align 4
br label %287
145: ; preds = %107
br label %146
146: ; preds = %145
%147 = load i32, ptr %17, align 4
%148 = add nsw i32 %147, -1
store i32 %148, ptr %17, align 4
%149 = load ptr, ptr %14, align 8
%150 = getelementptr inbounds ptr, ptr %149, i32 1
store ptr %150, ptr %14, align 8
%151 = load i32, ptr %17, align 4
%152 = icmp ne i32 %151, 0
br i1 %152, label %107, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %146
br label %153
153: ; preds = %._crit_edge3, %96
%154 = load ptr, ptr %15, align 8
%155 = call i64 @XtIsComposite(ptr noundef %154)
%156 = icmp ne i64 %155, 0
br i1 %156, label %157, label %218
157: ; preds = %153
%158 = load ptr, ptr %15, align 8
%159 = getelementptr inbounds %struct.TYPE_18__, ptr %158, i32 0, i32 0
%160 = getelementptr inbounds %struct.TYPE_12__, ptr %159, i32 0, i32 0
%161 = load i32, ptr %160, align 8
store i32 %161, ptr %17, align 4
%162 = load ptr, ptr %15, align 8
%163 = getelementptr inbounds %struct.TYPE_18__, ptr %162, i32 0, i32 0
%164 = getelementptr inbounds %struct.TYPE_12__, ptr %163, i32 0, i32 1
%165 = load ptr, ptr %164, align 8
store ptr %165, ptr %14, align 8
%166 = load i32, ptr %17, align 4
%167 = icmp ne i32 %166, 0
br i1 %167, label %.lr.ph5, label %217
.lr.ph5: ; preds = %157
br label %168
168: ; preds = %.lr.ph5, %210
%169 = load ptr, ptr %14, align 8
%170 = load ptr, ptr %169, align 8
%171 = getelementptr inbounds %struct.TYPE_17__, ptr %170, i32 0, i32 0
%172 = getelementptr inbounds %struct.TYPE_15__, ptr %171, i32 0, i32 2
%173 = load ptr, ptr %172, align 8
%174 = getelementptr inbounds %struct.TYPE_14__, ptr %173, i32 0, i32 0
%175 = getelementptr inbounds %struct.TYPE_13__, ptr %174, i32 0, i32 0
%176 = load i64, ptr %175, align 8
%177 = load i64, ptr %16, align 8
%178 = icmp eq i64 %176, %177
br i1 %178, label %179, label %209
179: ; preds = %168
%180 = load ptr, ptr %12, align 8
%181 = getelementptr inbounds %struct.TYPE_16__, ptr %180, i32 0, i32 1
%182 = load ptr, ptr %181, align 8
%183 = icmp ne ptr %182, null
br i1 %183, label %184, label %200
184: ; preds = %179
%185 = load ptr, ptr %12, align 8
%186 = getelementptr inbounds %struct.TYPE_16__, ptr %185, i32 0, i32 0
%187 = load i32, ptr %186, align 8
%188 = sext i32 %187 to i64
%189 = icmp ult i64 %188, 8
br i1 %189, label %190, label %194
190: ; preds = %184
%191 = load ptr, ptr %12, align 8
%192 = getelementptr inbounds %struct.TYPE_16__, ptr %191, i32 0, i32 0
store i32 8, ptr %192, align 8
%193 = load i32, ptr @False, align 4
store i32 %193, ptr %7, align 4
br label %287
194: ; preds = %184
%195 = load ptr, ptr %14, align 8
%196 = load ptr, ptr %195, align 8
%197 = load ptr, ptr %12, align 8
%198 = getelementptr inbounds %struct.TYPE_16__, ptr %197, i32 0, i32 1
%199 = load ptr, ptr %198, align 8
store ptr %196, ptr %199, align 8
br label %205
200: ; preds = %179
%201 = load ptr, ptr %14, align 8
%202 = load ptr, ptr %201, align 8
store ptr %202, ptr @XmuNewCvtStringToWidget.static_val.5, align 8
%203 = load ptr, ptr %12, align 8
%204 = getelementptr inbounds %struct.TYPE_16__, ptr %203, i32 0, i32 1
store ptr @XmuNewCvtStringToWidget.static_val.5, ptr %204, align 8
br label %205
205: ; preds = %200, %194
%206 = load ptr, ptr %12, align 8
%207 = getelementptr inbounds %struct.TYPE_16__, ptr %206, i32 0, i32 0
store i32 8, ptr %207, align 8
%208 = load i32, ptr @True, align 4
store i32 %208, ptr %7, align 4
br label %287
209: ; preds = %168
br label %210
210: ; preds = %209
%211 = load i32, ptr %17, align 4
%212 = add nsw i32 %211, -1
store i32 %212, ptr %17, align 4
%213 = load ptr, ptr %14, align 8
%214 = getelementptr inbounds ptr, ptr %213, i32 1
store ptr %214, ptr %14, align 8
%215 = load i32, ptr %17, align 4
%216 = icmp ne i32 %215, 0
br i1 %216, label %168, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %210
br label %217
217: ; preds = %._crit_edge6, %157
br label %218
218: ; preds = %217, %153
%219 = load ptr, ptr %15, align 8
%220 = getelementptr inbounds %struct.TYPE_17__, ptr %219, i32 0, i32 0
%221 = getelementptr inbounds %struct.TYPE_15__, ptr %220, i32 0, i32 1
%222 = load i32, ptr %221, align 8
store i32 %222, ptr %17, align 4
%223 = load ptr, ptr %15, align 8
%224 = getelementptr inbounds %struct.TYPE_17__, ptr %223, i32 0, i32 0
%225 = getelementptr inbounds %struct.TYPE_15__, ptr %224, i32 0, i32 3
%226 = load ptr, ptr %225, align 8
store ptr %226, ptr %14, align 8
%227 = load i32, ptr %17, align 4
%228 = icmp ne i32 %227, 0
br i1 %228, label %.lr.ph8, label %278
.lr.ph8: ; preds = %218
br label %229
229: ; preds = %.lr.ph8, %271
%230 = load ptr, ptr %14, align 8
%231 = load ptr, ptr %230, align 8
%232 = getelementptr inbounds %struct.TYPE_17__, ptr %231, i32 0, i32 0
%233 = getelementptr inbounds %struct.TYPE_15__, ptr %232, i32 0, i32 2
%234 = load ptr, ptr %233, align 8
%235 = getelementptr inbounds %struct.TYPE_14__, ptr %234, i32 0, i32 0
%236 = getelementptr inbounds %struct.TYPE_13__, ptr %235, i32 0, i32 0
%237 = load i64, ptr %236, align 8
%238 = load i64, ptr %16, align 8
%239 = icmp eq i64 %237, %238
br i1 %239, label %240, label %270
240: ; preds = %229
%241 = load ptr, ptr %12, align 8
%242 = getelementptr inbounds %struct.TYPE_16__, ptr %241, i32 0, i32 1
%243 = load ptr, ptr %242, align 8
%244 = icmp ne ptr %243, null
br i1 %244, label %245, label %261
245: ; preds = %240
%246 = load ptr, ptr %12, align 8
%247 = getelementptr inbounds %struct.TYPE_16__, ptr %246, i32 0, i32 0
%248 = load i32, ptr %247, align 8
%249 = sext i32 %248 to i64
%250 = icmp ult i64 %249, 8
br i1 %250, label %251, label %255
251: ; preds = %245
%252 = load ptr, ptr %12, align 8
%253 = getelementptr inbounds %struct.TYPE_16__, ptr %252, i32 0, i32 0
store i32 8, ptr %253, align 8
%254 = load i32, ptr @False, align 4
store i32 %254, ptr %7, align 4
br label %287
255: ; preds = %245
%256 = load ptr, ptr %14, align 8
%257 = load ptr, ptr %256, align 8
%258 = load ptr, ptr %12, align 8
%259 = getelementptr inbounds %struct.TYPE_16__, ptr %258, i32 0, i32 1
%260 = load ptr, ptr %259, align 8
store ptr %257, ptr %260, align 8
br label %266
261: ; preds = %240
%262 = load ptr, ptr %14, align 8
%263 = load ptr, ptr %262, align 8
store ptr %263, ptr @XmuNewCvtStringToWidget.static_val.6, align 8
%264 = load ptr, ptr %12, align 8
%265 = getelementptr inbounds %struct.TYPE_16__, ptr %264, i32 0, i32 1
store ptr @XmuNewCvtStringToWidget.static_val.6, ptr %265, align 8
br label %266
266: ; preds = %261, %255
%267 = load ptr, ptr %12, align 8
%268 = getelementptr inbounds %struct.TYPE_16__, ptr %267, i32 0, i32 0
store i32 8, ptr %268, align 8
%269 = load i32, ptr @True, align 4
store i32 %269, ptr %7, align 4
br label %287
270: ; preds = %229
br label %271
271: ; preds = %270
%272 = load i32, ptr %17, align 4
%273 = add nsw i32 %272, -1
store i32 %273, ptr %17, align 4
%274 = load ptr, ptr %14, align 8
%275 = getelementptr inbounds ptr, ptr %274, i32 1
store ptr %275, ptr %14, align 8
%276 = load i32, ptr %17, align 4
%277 = icmp ne i32 %276, 0
br i1 %277, label %229, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %271
br label %278
278: ; preds = %._crit_edge9, %218
%279 = load ptr, ptr %8, align 8
%280 = load ptr, ptr %11, align 8
%281 = getelementptr inbounds %struct.TYPE_16__, ptr %280, i32 0, i32 1
%282 = load ptr, ptr %281, align 8
%283 = ptrtoint ptr %282 to i32
%284 = load i32, ptr @XtRWidget, align 4
%285 = call i32 @XtDisplayStringConversionWarning(ptr noundef %279, i32 noundef %283, i32 noundef %284)
%286 = load i32, ptr @False, align 4
store i32 %286, ptr %7, align 4
br label %287
287: ; preds = %278, %266, %251, %205, %190, %141, %126, %83, %68
%288 = load i32, ptr %7, align 4
ret i32 %288
}
declare i64 @XrmStringToName(ptr noundef) #1
declare i32 @XtAppWarningMsg(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @XtDisplayToApplicationContext(ptr noundef) #1
declare i64 @XtIsComposite(ptr noundef) #1
declare i32 @XtDisplayStringConversionWarning(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp1mi8qwhm.c'
source_filename = "/tmp/tmp1mi8qwhm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@LOG_DEBUG = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1mi8qwhm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@LOG_DEBUG = dso_local global i32 0, align 4
@LOG_ERR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkilz2sgh.c'
source_filename = "/tmp/tmpkilz2sgh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"This is a loop\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
br label %7
7: ; preds = %17, %2
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %20
10: ; preds = %7
%11 = load i32, ptr %6, align 4
%12 = srem i32 %11, 2
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = call i32 @printf(ptr noundef @.str)
br label %16
16: ; preds = %14, %10
br label %17
17: ; preds = %16
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
br label %7, !llvm.loop !6
20: ; preds = %7
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkilz2sgh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"This is a loop\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 %6, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load i32, ptr %6, align 4
%11 = srem i32 %10, 2
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @printf(ptr noundef @.str)
br label %15
15: ; preds = %13, %9
br label %16
16: ; preds = %15
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %19, 10
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %2
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/tmpv1kdmdqe.c'
source_filename = "/tmp/tmpv1kdmdqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap(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 ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %7, align 8
%12 = alloca i8, i64 %10, align 16
store i64 %10, ptr %8, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = call i32 @strcpy(ptr noundef %18, ptr noundef %12)
%20 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %20)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strcpy(ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv1kdmdqe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap(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 ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %7, align 8
%12 = alloca i8, i64 %10, align 16
store i64 %10, ptr %8, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = call i32 @strcpy(ptr noundef %18, ptr noundef %12)
%20 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %20)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @strcpy(ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps2md0xoo.c'
source_filename = "/tmp/tmps2md0xoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @down(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 @opsem(i32 noundef %3, i32 noundef -1)
ret void
}
declare i32 @opsem(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/tmps2md0xoo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @down(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 @opsem(i32 noundef %3, i32 noundef -1)
ret void
}
declare i32 @opsem(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/tmpze_ftaoq.c'
source_filename = "/tmp/tmpze_ftaoq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A sticks remaining :%d\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"\0A Computer takes 2\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"\0Asticks left :%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"\0A computer lost\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"\0Auser lost\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @firstComputer(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %4, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %8, 2
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %13, %1
%11 = load i32, ptr %2, align 4
%12 = icmp sgt i32 %11, 1
br i1 %12, label %13, label %26
13: ; preds = %10
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 0
%16 = zext i1 %15 to i64
%17 = select i1 %15, i32 1, i32 0
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %2, align 4
%20 = call i32 @getChoosing(i32 noundef %18, i32 noundef %19)
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %2, align 4
%23 = sub nsw i32 %22, %21
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24)
br label %10, !llvm.loop !6
26: ; preds = %10
%27 = load i32, ptr %4, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %33
31: ; preds = %26
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %33
33: ; preds = %31, %29
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getChoosing(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpze_ftaoq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A sticks remaining :%d\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"\0A Computer takes 2\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"\0Asticks left :%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"\0A computer lost\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"\0Auser lost\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @firstComputer(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %4, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %8, 2
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp sgt i32 %10, 1
br i1 %11, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %12
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i64
%16 = select i1 %14, i32 1, i32 0
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %2, align 4
%19 = call i32 @getChoosing(i32 noundef %17, i32 noundef %18)
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %2, align 4
%22 = sub nsw i32 %21, %20
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23)
%25 = load i32, ptr %2, align 4
%26 = icmp sgt i32 %25, 1
br i1 %26, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %27
27: ; preds = %._crit_edge, %1
%28 = load i32, ptr %4, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %34
32: ; preds = %27
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %34
34: ; preds = %32, %30
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getChoosing(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4_sl6_jb.c'
source_filename = "/tmp/tmp4_sl6_jb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"The value of INT_MAX is %i\0A\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"The value of INT_MIN is %i\0A\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [24 x i8] c"An int takes %li bytes\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"The value of FLT_MAX is %f\0A\00", align 1
@FLT_MAX = dso_local global double 0.000000e+00, align 8
@.str.4 = private unnamed_addr constant [31 x i8] c"The value of FLT_MIN is %.50f\0A\00", align 1
@FLT_MIN = dso_local global double 0.000000e+00, align 8
@.str.5 = private unnamed_addr constant [25 x i8] c"A float takes %li bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @INT_MAX, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = load i32, ptr @INT_MIN, align 4
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4)
%7 = load double, ptr @FLT_MAX, align 8
%8 = fptosi double %7 to i32
%9 = call i32 @printf(ptr noundef @.str.3, i32 noundef %8)
%10 = load double, ptr @FLT_MIN, align 8
%11 = fptosi double %10 to i32
%12 = call i32 @printf(ptr noundef @.str.4, i32 noundef %11)
%13 = call i32 @printf(ptr noundef @.str.5, i32 noundef 4)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4_sl6_jb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"The value of INT_MAX is %i\0A\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"The value of INT_MIN is %i\0A\00", align 1
@INT_MIN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [24 x i8] c"An int takes %li bytes\0A\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"The value of FLT_MAX is %f\0A\00", align 1
@FLT_MAX = dso_local global double 0.000000e+00, align 8
@.str.4 = private unnamed_addr constant [31 x i8] c"The value of FLT_MIN is %.50f\0A\00", align 1
@FLT_MIN = dso_local global double 0.000000e+00, align 8
@.str.5 = private unnamed_addr constant [25 x i8] c"A float takes %li bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @INT_MAX, align 4
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = load i32, ptr @INT_MIN, align 4
%5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4)
%7 = load double, ptr @FLT_MAX, align 8
%8 = fptosi double %7 to i32
%9 = call i32 @printf(ptr noundef @.str.3, i32 noundef %8)
%10 = load double, ptr @FLT_MIN, align 8
%11 = fptosi double %10 to i32
%12 = call i32 @printf(ptr noundef @.str.4, i32 noundef %11)
%13 = call i32 @printf(ptr noundef @.str.5, i32 noundef 4)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjdhrvril.c'
source_filename = "/tmp/tmpjdhrvril.c"
target datalayout = "e-m:e-p270: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/tmpjdhrvril.c"
target datalayout = "e-m:e-p270: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/tmpmni0b28r.c'
source_filename = "/tmp/tmpmni0b28r.c"
target datalayout = "e-m:e-p270: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/tmpmni0b28r.c"
target datalayout = "e-m:e-p270: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/tmpyiiebir0.c'
source_filename = "/tmp/tmpyiiebir0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @keyboard(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i8, ptr %4, align 1
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @exit(i32 noundef 0) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyiiebir0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @keyboard(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i8, ptr %4, align 1
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = call i32 @exit(i32 noundef 0) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplyok9ph3.c'
source_filename = "/tmp/tmplyok9ph3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_exit() #0 {
%1 = call i32 (...) @write_score_file()
%2 = call i32 (...) @endwin()
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @write_score_file(...) #1
declare i32 @endwin(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplyok9ph3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_exit() #0 {
%1 = call i32 (...) @write_score_file()
%2 = call i32 (...) @endwin()
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @write_score_file(...) #1
declare i32 @endwin(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy1cue92c.c'
source_filename = "/tmp/tmpy1cue92c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"ip link set dev lo mtu 1500\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"ip link set mtu\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"ip addr add dev lo 172.17.0.1/24\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"ip addr add\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [5 x i8] c"OK\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @parse_opts(i32 noundef %6, ptr noundef %7)
%9 = call i64 @system(ptr noundef @.str)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr @errno, align 4
%13 = call i32 @error(i32 noundef 1, i32 noundef %12, ptr noundef @.str.1)
br label %14
14: ; preds = %11, %2
%15 = call i64 @system(ptr noundef @.str.2)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr @errno, align 4
%19 = call i32 @error(i32 noundef 1, i32 noundef %18, ptr noundef @.str.3)
br label %20
20: ; preds = %17, %14
%21 = call i32 (...) @run_test()
%22 = load i32, ptr @stderr, align 4
%23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.4)
ret i32 0
}
declare i32 @parse_opts(i32 noundef, ptr noundef) #1
declare i64 @system(ptr noundef) #1
declare i32 @error(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @run_test(...) #1
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/tmpy1cue92c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"ip link set dev lo mtu 1500\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"ip link set mtu\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"ip addr add dev lo 172.17.0.1/24\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"ip addr add\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [5 x i8] c"OK\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @parse_opts(i32 noundef %6, ptr noundef %7)
%9 = call i64 @system(ptr noundef @.str)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr @errno, align 4
%13 = call i32 @error(i32 noundef 1, i32 noundef %12, ptr noundef @.str.1)
br label %14
14: ; preds = %11, %2
%15 = call i64 @system(ptr noundef @.str.2)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr @errno, align 4
%19 = call i32 @error(i32 noundef 1, i32 noundef %18, ptr noundef @.str.3)
br label %20
20: ; preds = %17, %14
%21 = call i32 (...) @run_test()
%22 = load i32, ptr @stderr, align 4
%23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.4)
ret i32 0
}
declare i32 @parse_opts(i32 noundef, ptr noundef) #1
declare i64 @system(ptr noundef) #1
declare i32 @error(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @run_test(...) #1
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/tmp3hggvq2b.c'
source_filename = "/tmp/tmp3hggvq2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local float @softboundcets_fabsf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @llvm.fabs.f32(float %3)
ret float %4
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3hggvq2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local float @softboundcets_fabsf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @llvm.fabs.f32(float %3)
ret float %4
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk0peofnx.c'
source_filename = "/tmp/tmpk0peofnx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%04tx:\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"<\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fhexdump(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = ptrtoint ptr %11 to i64
%13 = and i64 %12, 15
%14 = sub i64 0, %13
%15 = getelementptr inbounds i8, ptr %10, i64 %14
store ptr %15, ptr %7, align 8
br label %16
16: ; preds = %125, %3
%17 = load ptr, ptr %7, align 8
%18 = load ptr, ptr %4, align 8
%19 = load i64, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %18, i64 %19
%21 = icmp ult ptr %17, %20
br i1 %21, label %22, label %128
22: ; preds = %16
%23 = load ptr, ptr %6, align 8
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %4, align 8
%26 = ptrtoint ptr %24 to i64
%27 = ptrtoint ptr %25 to i64
%28 = sub i64 %26, %27
%29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str, i64 noundef %28)
store i32 0, ptr %8, align 4
br label %30
30: ; preds = %69, %22
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %31, 16
br i1 %32, label %33, label %72
33: ; preds = %30
%34 = load i32, ptr %8, align 4
%35 = srem i32 %34, 8
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %33
%38 = load ptr, ptr %6, align 8
%39 = call i32 @fputc(i8 noundef signext 32, ptr noundef %38)
br label %40
40: ; preds = %37, %33
%41 = load ptr, ptr %4, align 8
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = icmp ule ptr %41, %45
br i1 %46, label %47, label %65
47: ; preds = %40
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %8, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load ptr, ptr %4, align 8
%53 = load i64, ptr %5, align 8
%54 = getelementptr inbounds i8, ptr %52, i64 %53
%55 = icmp ult ptr %51, %54
br i1 %55, label %56, label %65
56: ; preds = %47
%57 = load ptr, ptr %6, align 8
%58 = load ptr, ptr %7, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = zext i8 %62 to i32
%64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef @.str.1, i32 noundef %63)
br label %68
65: ; preds = %47, %40
%66 = load ptr, ptr %6, align 8
%67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.2)
br label %68
68: ; preds = %65, %56
br label %69
69: ; preds = %68
%70 = load i32, ptr %8, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %8, align 4
br label %30, !llvm.loop !6
72: ; preds = %30
%73 = load ptr, ptr %6, align 8
%74 = call i32 @fputc(i8 noundef signext 62, ptr noundef %73)
store i32 0, ptr %8, align 4
br label %75
75: ; preds = %119, %72
%76 = load i32, ptr %8, align 4
%77 = icmp slt i32 %76, 16
br i1 %77, label %78, label %122
78: ; preds = %75
%79 = load ptr, ptr %4, align 8
%80 = load ptr, ptr %7, align 8
%81 = load i32, ptr %8, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
%84 = icmp ule ptr %79, %83
br i1 %84, label %85, label %115
85: ; preds = %78
%86 = load ptr, ptr %7, align 8
%87 = load i32, ptr %8, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %86, i64 %88
%90 = load ptr, ptr %4, align 8
%91 = load i64, ptr %5, align 8
%92 = getelementptr inbounds i8, ptr %90, i64 %91
%93 = icmp ult ptr %89, %92
br i1 %93, label %94, label %115
94: ; preds = %85
%95 = load ptr, ptr %7, align 8
%96 = load i32, ptr %8, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i8, ptr %95, i64 %97
%99 = load i8, ptr %98, align 1
%100 = zext i8 %99 to i32
store i32 %100, ptr %9, align 4
%101 = load i32, ptr %9, align 4
%102 = icmp slt i32 %101, 32
br i1 %102, label %106, label %103
103: ; preds = %94
%104 = load i32, ptr %9, align 4
%105 = icmp sgt i32 %104, 126
br i1 %105, label %106, label %109
106: ; preds = %103, %94
%107 = load ptr, ptr %6, align 8
%108 = call i32 @fputc(i8 noundef signext 46, ptr noundef %107)
br label %114
109: ; preds = %103
%110 = load i32, ptr %9, align 4
%111 = trunc i32 %110 to i8
%112 = load ptr, ptr %6, align 8
%113 = call i32 @fputc(i8 noundef signext %111, ptr noundef %112)
br label %114
114: ; preds = %109, %106
br label %118
115: ; preds = %85, %78
%116 = load ptr, ptr %6, align 8
%117 = call i32 @fputc(i8 noundef signext 32, ptr noundef %116)
br label %118
118: ; preds = %115, %114
br label %119
119: ; preds = %118
%120 = load i32, ptr %8, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %8, align 4
br label %75, !llvm.loop !8
122: ; preds = %75
%123 = load ptr, ptr %6, align 8
%124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %123, ptr noundef @.str.3)
br label %125
125: ; preds = %122
%126 = load ptr, ptr %7, align 8
%127 = getelementptr inbounds i8, ptr %126, i64 16
store ptr %127, ptr %7, align 8
br label %16, !llvm.loop !9
128: ; preds = %16
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpk0peofnx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%04tx:\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"<\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fhexdump(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = ptrtoint ptr %11 to i64
%13 = and i64 %12, 15
%14 = sub i64 0, %13
%15 = getelementptr inbounds i8, ptr %10, i64 %14
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %7, align 8
%17 = load ptr, ptr %4, align 8
%18 = load i64, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = icmp ult ptr %16, %19
br i1 %20, label %.lr.ph5, label %134
.lr.ph5: ; preds = %3
br label %21
21: ; preds = %.lr.ph5, %126
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %4, align 8
%25 = ptrtoint ptr %23 to i64
%26 = ptrtoint ptr %24 to i64
%27 = sub i64 %25, %26
%28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef @.str, i64 noundef %27)
store i32 0, ptr %8, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp slt i32 %29, 16
br i1 %30, label %.lr.ph, label %72
.lr.ph: ; preds = %21
br label %31
31: ; preds = %.lr.ph, %67
%32 = load i32, ptr %8, align 4
%33 = srem i32 %32, 8
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = load ptr, ptr %6, align 8
%37 = call i32 @fputc(i8 noundef signext 32, ptr noundef %36)
br label %38
38: ; preds = %35, %31
%39 = load ptr, ptr %4, align 8
%40 = load ptr, ptr %7, align 8
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = icmp ule ptr %39, %43
br i1 %44, label %45, label %63
45: ; preds = %38
%46 = load ptr, ptr %7, align 8
%47 = load i32, ptr %8, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load ptr, ptr %4, align 8
%51 = load i64, ptr %5, align 8
%52 = getelementptr inbounds i8, ptr %50, i64 %51
%53 = icmp ult ptr %49, %52
br i1 %53, label %54, label %63
54: ; preds = %45
%55 = load ptr, ptr %6, align 8
%56 = load ptr, ptr %7, align 8
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
%61 = zext i8 %60 to i32
%62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.1, i32 noundef %61)
br label %66
63: ; preds = %45, %38
%64 = load ptr, ptr %6, align 8
%65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef @.str.2)
br label %66
66: ; preds = %63, %54
br label %67
67: ; preds = %66
%68 = load i32, ptr %8, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %8, align 4
%70 = load i32, ptr %8, align 4
%71 = icmp slt i32 %70, 16
br i1 %71, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %67
br label %72
72: ; preds = %._crit_edge, %21
%73 = load ptr, ptr %6, align 8
%74 = call i32 @fputc(i8 noundef signext 62, ptr noundef %73)
store i32 0, ptr %8, align 4
%75 = load i32, ptr %8, align 4
%76 = icmp slt i32 %75, 16
br i1 %76, label %.lr.ph2, label %123
.lr.ph2: ; preds = %72
br label %77
77: ; preds = %.lr.ph2, %118
%78 = load ptr, ptr %4, align 8
%79 = load ptr, ptr %7, align 8
%80 = load i32, ptr %8, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = icmp ule ptr %78, %82
br i1 %83, label %84, label %114
84: ; preds = %77
%85 = load ptr, ptr %7, align 8
%86 = load i32, ptr %8, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %85, i64 %87
%89 = load ptr, ptr %4, align 8
%90 = load i64, ptr %5, align 8
%91 = getelementptr inbounds i8, ptr %89, i64 %90
%92 = icmp ult ptr %88, %91
br i1 %92, label %93, label %114
93: ; preds = %84
%94 = load ptr, ptr %7, align 8
%95 = load i32, ptr %8, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %94, i64 %96
%98 = load i8, ptr %97, align 1
%99 = zext i8 %98 to i32
store i32 %99, ptr %9, align 4
%100 = load i32, ptr %9, align 4
%101 = icmp slt i32 %100, 32
br i1 %101, label %105, label %102
102: ; preds = %93
%103 = load i32, ptr %9, align 4
%104 = icmp sgt i32 %103, 126
br i1 %104, label %105, label %108
105: ; preds = %102, %93
%106 = load ptr, ptr %6, align 8
%107 = call i32 @fputc(i8 noundef signext 46, ptr noundef %106)
br label %113
108: ; preds = %102
%109 = load i32, ptr %9, align 4
%110 = trunc i32 %109 to i8
%111 = load ptr, ptr %6, align 8
%112 = call i32 @fputc(i8 noundef signext %110, ptr noundef %111)
br label %113
113: ; preds = %108, %105
br label %117
114: ; preds = %84, %77
%115 = load ptr, ptr %6, align 8
%116 = call i32 @fputc(i8 noundef signext 32, ptr noundef %115)
br label %117
117: ; preds = %114, %113
br label %118
118: ; preds = %117
%119 = load i32, ptr %8, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %8, align 4
%121 = load i32, ptr %8, align 4
%122 = icmp slt i32 %121, 16
br i1 %122, label %77, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %118
br label %123
123: ; preds = %._crit_edge3, %72
%124 = load ptr, ptr %6, align 8
%125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef @.str.3)
br label %126
126: ; preds = %123
%127 = load ptr, ptr %7, align 8
%128 = getelementptr inbounds i8, ptr %127, i64 16
store ptr %128, ptr %7, align 8
%129 = load ptr, ptr %7, align 8
%130 = load ptr, ptr %4, align 8
%131 = load i64, ptr %5, align 8
%132 = getelementptr inbounds i8, ptr %130, i64 %131
%133 = icmp ult ptr %129, %132
br i1 %133, label %21, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %126
br label %134
134: ; preds = %._crit_edge6, %3
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fputc(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp81xchbvq.c'
source_filename = "/tmp/tmp81xchbvq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @U_WMRCORE_SIZE16_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @U_WMRCORE_SIZE16_swap(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/tmp81xchbvq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @U_WMRCORE_SIZE16_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @U_WMRCORE_SIZE16_swap(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/tmp2x_sj3dk.c'
source_filename = "/tmp/tmp2x_sj3dk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GMP_RNDN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tripledouble_to_mpfr(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%11 = load i32, ptr %5, align 4
%12 = call i32 @mpfr_get_prec(i32 noundef %11)
store i32 %12, ptr %10, align 4
%13 = load i32, ptr %10, align 4
%14 = icmp slt i32 %13, 53
br i1 %14, label %15, label %16
15: ; preds = %4
store i32 53, ptr %10, align 4
br label %16
16: ; preds = %15, %4
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %10, align 4
%19 = call i32 @mpfr_init2(i32 noundef %17, i32 noundef %18)
%20 = load i32, ptr %5, align 4
%21 = load double, ptr %6, align 8
%22 = load i32, ptr @GMP_RNDN, align 4
%23 = call i32 @mpfr_set_d(i32 noundef %20, double noundef %21, i32 noundef %22)
%24 = load i32, ptr %9, align 4
%25 = load double, ptr %7, align 8
%26 = load i32, ptr @GMP_RNDN, align 4
%27 = call i32 @mpfr_set_d(i32 noundef %24, double noundef %25, i32 noundef %26)
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr @GMP_RNDN, align 4
%32 = call i32 @mpfr_add(i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31)
%33 = load i32, ptr %9, align 4
%34 = load double, ptr %8, align 8
%35 = load i32, ptr @GMP_RNDN, align 4
%36 = call i32 @mpfr_set_d(i32 noundef %33, double noundef %34, i32 noundef %35)
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr @GMP_RNDN, align 4
%41 = call i32 @mpfr_add(i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40)
%42 = load i32, ptr %9, align 4
%43 = call i32 @mpfr_clear(i32 noundef %42)
ret void
}
declare i32 @mpfr_get_prec(i32 noundef) #1
declare i32 @mpfr_init2(i32 noundef, i32 noundef) #1
declare i32 @mpfr_set_d(i32 noundef, double noundef, i32 noundef) #1
declare i32 @mpfr_add(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_clear(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/tmp2x_sj3dk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GMP_RNDN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tripledouble_to_mpfr(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%11 = load i32, ptr %5, align 4
%12 = call i32 @mpfr_get_prec(i32 noundef %11)
store i32 %12, ptr %10, align 4
%13 = load i32, ptr %10, align 4
%14 = icmp slt i32 %13, 53
br i1 %14, label %15, label %16
15: ; preds = %4
store i32 53, ptr %10, align 4
br label %16
16: ; preds = %15, %4
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %10, align 4
%19 = call i32 @mpfr_init2(i32 noundef %17, i32 noundef %18)
%20 = load i32, ptr %5, align 4
%21 = load double, ptr %6, align 8
%22 = load i32, ptr @GMP_RNDN, align 4
%23 = call i32 @mpfr_set_d(i32 noundef %20, double noundef %21, i32 noundef %22)
%24 = load i32, ptr %9, align 4
%25 = load double, ptr %7, align 8
%26 = load i32, ptr @GMP_RNDN, align 4
%27 = call i32 @mpfr_set_d(i32 noundef %24, double noundef %25, i32 noundef %26)
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr @GMP_RNDN, align 4
%32 = call i32 @mpfr_add(i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31)
%33 = load i32, ptr %9, align 4
%34 = load double, ptr %8, align 8
%35 = load i32, ptr @GMP_RNDN, align 4
%36 = call i32 @mpfr_set_d(i32 noundef %33, double noundef %34, i32 noundef %35)
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr @GMP_RNDN, align 4
%41 = call i32 @mpfr_add(i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40)
%42 = load i32, ptr %9, align 4
%43 = call i32 @mpfr_clear(i32 noundef %42)
ret void
}
declare i32 @mpfr_get_prec(i32 noundef) #1
declare i32 @mpfr_init2(i32 noundef, i32 noundef) #1
declare i32 @mpfr_set_d(i32 noundef, double noundef, i32 noundef) #1
declare i32 @mpfr_add(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mpfr_clear(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/tmpgy2eshcz.c'
source_filename = "/tmp/tmpgy2eshcz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @operation(i8 noundef signext %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca i8, align 1
%6 = alloca double, align 8
%7 = alloca double, align 8
store i8 %0, ptr %5, align 1
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
%8 = load i8, ptr %5, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 43
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = load double, ptr %6, align 8
%13 = load double, ptr %7, align 8
%14 = fadd double %12, %13
store double %14, ptr %4, align 8
br label %47
15: ; preds = %3
%16 = load i8, ptr %5, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 45
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = load double, ptr %6, align 8
%21 = load double, ptr %7, align 8
%22 = fsub double %20, %21
store double %22, ptr %4, align 8
br label %47
23: ; preds = %15
%24 = load i8, ptr %5, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 42
br i1 %26, label %27, label %31
27: ; preds = %23
%28 = load double, ptr %6, align 8
%29 = load double, ptr %7, align 8
%30 = fmul double %28, %29
store double %30, ptr %4, align 8
br label %47
31: ; preds = %23
%32 = load i8, ptr %5, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 47
br i1 %34, label %35, label %39
35: ; preds = %31
%36 = load double, ptr %6, align 8
%37 = load double, ptr %7, align 8
%38 = fdiv double %36, %37
store double %38, ptr %4, align 8
br label %47
39: ; preds = %31
%40 = load i8, ptr %5, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 94
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = load double, ptr %6, align 8
%45 = load double, ptr %7, align 8
%46 = call double @pow(double noundef %44, double noundef %45) #2
store double %46, ptr %4, align 8
br label %47
47: ; preds = %11, %19, %27, %35, %43, %39
%48 = load double, ptr %4, align 8
ret double %48
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgy2eshcz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @operation(i8 noundef signext %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca i8, align 1
%6 = alloca double, align 8
%7 = alloca double, align 8
store i8 %0, ptr %5, align 1
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
%8 = load i8, ptr %5, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 43
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = load double, ptr %6, align 8
%13 = load double, ptr %7, align 8
%14 = fadd double %12, %13
store double %14, ptr %4, align 8
br label %47
15: ; preds = %3
%16 = load i8, ptr %5, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 45
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = load double, ptr %6, align 8
%21 = load double, ptr %7, align 8
%22 = fsub double %20, %21
store double %22, ptr %4, align 8
br label %47
23: ; preds = %15
%24 = load i8, ptr %5, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 42
br i1 %26, label %27, label %31
27: ; preds = %23
%28 = load double, ptr %6, align 8
%29 = load double, ptr %7, align 8
%30 = fmul double %28, %29
store double %30, ptr %4, align 8
br label %47
31: ; preds = %23
%32 = load i8, ptr %5, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 47
br i1 %34, label %35, label %39
35: ; preds = %31
%36 = load double, ptr %6, align 8
%37 = load double, ptr %7, align 8
%38 = fdiv double %36, %37
store double %38, ptr %4, align 8
br label %47
39: ; preds = %31
%40 = load i8, ptr %5, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 94
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = load double, ptr %6, align 8
%45 = load double, ptr %7, align 8
%46 = call double @pow(double noundef %44, double noundef %45) #2
store double %46, ptr %4, align 8
br label %47
47: ; preds = %43, %39, %35, %27, %19, %11
%48 = load double, ptr %4, align 8
ret double %48
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3vejvv7y.c'
source_filename = "/tmp/tmp3vejvv7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @substr(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 ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = add nsw i32 %8, 1
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i32, ptr %6, align 4
%17 = call i32 @memcpy(ptr noundef %11, ptr noundef %15, i32 noundef %16)
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 0, ptr %21, align 1
%22 = load ptr, ptr %7, align 8
ret ptr %22
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3vejvv7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @substr(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 ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = add nsw i32 %8, 1
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i32, ptr %6, align 4
%17 = call i32 @memcpy(ptr noundef %11, ptr noundef %15, i32 noundef %16)
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 0, ptr %21, align 1
%22 = load ptr, ptr %7, align 8
ret ptr %22
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptglk9xip.c'
source_filename = "/tmp/tmptglk9xip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_get_threshold_double_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca double, 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 %3, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %12, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 %14, 8
%16 = trunc i64 %15 to i32
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %9, align 8
store i32 0, ptr %11, align 4
br label %19
19: ; preds = %34, %4
%20 = load i32, ptr %11, align 4
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %21, align 4
%23 = icmp slt i32 %20, %22
br i1 %23, label %24, label %37
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %11, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %25, i64 %27
%29 = load double, ptr %28, align 8
%30 = load ptr, ptr %9, align 8
%31 = load i32, ptr %11, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %30, i64 %32
store double %29, ptr %33, align 8
br label %34
34: ; preds = %24
%35 = load i32, ptr %11, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %11, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = load ptr, ptr %9, align 8
%39 = load ptr, ptr %6, align 8
%40 = call i32 @quicksort_double_(ptr noundef %38, ptr noundef %39)
%41 = load ptr, ptr %7, align 8
%42 = load double, ptr %41, align 8
%43 = fsub double 1.000000e+00, %42
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %44, align 4
%46 = sitofp i32 %45 to double
%47 = call double @llvm.fmuladd.f64(double %43, double %46, double 5.000000e-01)
%48 = fptosi double %47 to i32
store i32 %48, ptr %11, align 4
%49 = load i32, ptr %11, align 4
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %50, align 4
%52 = icmp sge i32 %49, %51
br i1 %52, label %53, label %57
53: ; preds = %37
%54 = load ptr, ptr %6, align 8
%55 = load i32, ptr %54, align 4
%56 = sub nsw i32 %55, 1
store i32 %56, ptr %11, align 4
br label %57
57: ; preds = %53, %37
%58 = load i32, ptr %11, align 4
%59 = icmp slt i32 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %57
store i32 0, ptr %11, align 4
br label %61
61: ; preds = %60, %57
%62 = load ptr, ptr %9, align 8
%63 = load i32, ptr %11, align 4
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, ptr %62, i64 %65
%67 = load double, ptr %66, align 8
%68 = load ptr, ptr %9, align 8
%69 = load i32, ptr %11, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %68, i64 %70
%72 = load double, ptr %71, align 8
%73 = fcmp ogt double %67, %72
br i1 %73, label %74, label %107
74: ; preds = %61
%75 = load ptr, ptr %7, align 8
%76 = load double, ptr %75, align 8
%77 = load i32, ptr %11, align 4
%78 = sitofp i32 %77 to double
%79 = fmul double 1.000000e+00, %78
%80 = load ptr, ptr %6, align 8
%81 = load i32, ptr %80, align 4
%82 = sitofp i32 %81 to double
%83 = fdiv double %79, %82
%84 = fadd double %76, %83
store double %84, ptr %10, align 8
%85 = load ptr, ptr %9, align 8
%86 = load i32, ptr %11, align 4
%87 = sub nsw i32 %86, 1
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, ptr %85, i64 %88
%90 = load double, ptr %89, align 8
%91 = load ptr, ptr %9, align 8
%92 = load i32, ptr %11, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, ptr %91, i64 %93
%95 = load double, ptr %94, align 8
%96 = load ptr, ptr %9, align 8
%97 = load i32, ptr %11, align 4
%98 = sub nsw i32 %97, 1
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, ptr %96, i64 %99
%101 = load double, ptr %100, align 8
%102 = fsub double %95, %101
%103 = load double, ptr %10, align 8
%104 = fsub double 1.000000e+00, %103
%105 = call double @llvm.fmuladd.f64(double %102, double %104, double %90)
%106 = load ptr, ptr %8, align 8
store double %105, ptr %106, align 8
br label %115
107: ; preds = %61
%108 = load ptr, ptr %9, align 8
%109 = load i32, ptr %11, align 4
%110 = sub nsw i32 %109, 1
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double, ptr %108, i64 %111
%113 = load double, ptr %112, align 8
%114 = load ptr, ptr %8, align 8
store double %113, ptr %114, align 8
br label %115
115: ; preds = %107, %74
%116 = load ptr, ptr %9, align 8
%117 = call i32 @free(ptr noundef %116)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @quicksort_double_(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptglk9xip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @array_get_threshold_double_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca double, 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 %3, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %12, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 %14, 8
%16 = trunc i64 %15 to i32
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %9, align 8
store i32 0, ptr %11, align 4
%19 = load i32, ptr %11, align 4
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %20, align 4
%22 = icmp slt i32 %19, %21
br i1 %22, label %.lr.ph, label %40
.lr.ph: ; preds = %4
br label %23
23: ; preds = %.lr.ph, %33
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %11, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
%28 = load double, ptr %27, align 8
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
store double %28, ptr %32, align 8
br label %33
33: ; preds = %23
%34 = load i32, ptr %11, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %11, align 4
%36 = load i32, ptr %11, align 4
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %37, align 4
%39 = icmp slt i32 %36, %38
br i1 %39, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %40
40: ; preds = %._crit_edge, %4
%41 = load ptr, ptr %9, align 8
%42 = load ptr, ptr %6, align 8
%43 = call i32 @quicksort_double_(ptr noundef %41, ptr noundef %42)
%44 = load ptr, ptr %7, align 8
%45 = load double, ptr %44, align 8
%46 = fsub double 1.000000e+00, %45
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %47, align 4
%49 = sitofp i32 %48 to double
%50 = call double @llvm.fmuladd.f64(double %46, double %49, double 5.000000e-01)
%51 = fptosi double %50 to i32
store i32 %51, ptr %11, align 4
%52 = load i32, ptr %11, align 4
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %53, align 4
%55 = icmp sge i32 %52, %54
br i1 %55, label %56, label %60
56: ; preds = %40
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %57, align 4
%59 = sub nsw i32 %58, 1
store i32 %59, ptr %11, align 4
br label %60
60: ; preds = %56, %40
%61 = load i32, ptr %11, align 4
%62 = icmp slt i32 %61, 0
br i1 %62, label %63, label %64
63: ; preds = %60
store i32 0, ptr %11, align 4
br label %64
64: ; preds = %63, %60
%65 = load ptr, ptr %9, align 8
%66 = load i32, ptr %11, align 4
%67 = add nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %65, i64 %68
%70 = load double, ptr %69, align 8
%71 = load ptr, ptr %9, align 8
%72 = load i32, ptr %11, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %71, i64 %73
%75 = load double, ptr %74, align 8
%76 = fcmp ogt double %70, %75
br i1 %76, label %77, label %110
77: ; preds = %64
%78 = load ptr, ptr %7, align 8
%79 = load double, ptr %78, align 8
%80 = load i32, ptr %11, align 4
%81 = sitofp i32 %80 to double
%82 = fmul double 1.000000e+00, %81
%83 = load ptr, ptr %6, align 8
%84 = load i32, ptr %83, align 4
%85 = sitofp i32 %84 to double
%86 = fdiv double %82, %85
%87 = fadd double %79, %86
store double %87, ptr %10, align 8
%88 = load ptr, ptr %9, align 8
%89 = load i32, ptr %11, align 4
%90 = sub nsw i32 %89, 1
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, ptr %88, i64 %91
%93 = load double, ptr %92, align 8
%94 = load ptr, ptr %9, align 8
%95 = load i32, ptr %11, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds double, ptr %94, i64 %96
%98 = load double, ptr %97, align 8
%99 = load ptr, ptr %9, align 8
%100 = load i32, ptr %11, align 4
%101 = sub nsw i32 %100, 1
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, ptr %99, i64 %102
%104 = load double, ptr %103, align 8
%105 = fsub double %98, %104
%106 = load double, ptr %10, align 8
%107 = fsub double 1.000000e+00, %106
%108 = call double @llvm.fmuladd.f64(double %105, double %107, double %93)
%109 = load ptr, ptr %8, align 8
store double %108, ptr %109, align 8
br label %118
110: ; preds = %64
%111 = load ptr, ptr %9, align 8
%112 = load i32, ptr %11, align 4
%113 = sub nsw i32 %112, 1
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %111, i64 %114
%116 = load double, ptr %115, align 8
%117 = load ptr, ptr %8, align 8
store double %116, ptr %117, align 8
br label %118
118: ; preds = %110, %77
%119 = load ptr, ptr %9, align 8
%120 = call i32 @free(ptr noundef %119)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @quicksort_double_(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfsceoqgm.c'
source_filename = "/tmp/tmpfsceoqgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET6 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ssock_v6(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @AF_INET6, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @ssock(i32 noundef %3, ptr noundef %4)
ret i32 %5
}
declare i32 @ssock(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/tmpfsceoqgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET6 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ssock_v6(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @AF_INET6, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @ssock(i32 noundef %3, ptr noundef %4)
ret i32 %5
}
declare i32 @ssock(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/tmpdy089ywt.c'
source_filename = "/tmp/tmpdy089ywt.c"
target datalayout = "e-m:e-p270: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 [48 x i8] c"usage: huffman [--debug] <--encode | --decode> \00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"<infile> <outfile>\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 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdy089ywt.c"
target datalayout = "e-m:e-p270: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 [48 x i8] c"usage: huffman [--debug] <--encode | --decode> \00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"<infile> <outfile>\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 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo8sn58zf.c'
source_filename = "/tmp/tmpo8sn58zf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xmapping_send_event(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo8sn58zf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xmapping_send_event(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzniq2jn4.c'
source_filename = "/tmp/tmpzniq2jn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = sub nsw i32 %6, 97
%8 = sub nsw i32 122, %7
%9 = trunc i32 %8 to i8
store i8 %9, ptr %3, align 1
%10 = load i8, ptr %3, align 1
%11 = call i32 @printf(ptr noundef @.str, i8 noundef signext %10)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzniq2jn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = sub nsw i32 %6, 97
%8 = sub nsw i32 122, %7
%9 = trunc i32 %8 to i8
store i8 %9, ptr %3, align 1
%10 = load i8, ptr %3, align 1
%11 = call i32 @printf(ptr noundef @.str, i8 noundef signext %10)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
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"}
|
; ModuleID = '/tmp/tmpd1ed6t28.c'
source_filename = "/tmp/tmpd1ed6t28.c"
target datalayout = "e-m:e-p270: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/tmpd1ed6t28.c"
target datalayout = "e-m:e-p270: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/tmpuj30ouqh.c'
source_filename = "/tmp/tmpuj30ouqh.c"
target datalayout = "e-m:e-p270: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/tmpuj30ouqh.c"
target datalayout = "e-m:e-p270: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/tmpzuu56jin.c'
source_filename = "/tmp/tmpzuu56jin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/fb0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rgba_open_fb() #0 {
%1 = load i32, ptr @O_RDWR, align 4
%2 = call i32 @open(ptr noundef @.str, i32 noundef %1)
ret i32 %2
}
declare i32 @open(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/tmpzuu56jin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/fb0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rgba_open_fb() #0 {
%1 = load i32, ptr @O_RDWR, align 4
%2 = call i32 @open(ptr noundef @.str, i32 noundef %1)
ret i32 %2
}
declare i32 @open(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/tmppmhubca9.c'
source_filename = "/tmp/tmppmhubca9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Empty table!\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"Delete chain record error!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @delAclEntry(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = call i32 @mib_chain_total(i32 noundef 356)
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %19
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = sub nsw i32 %11, 1
%13 = call i32 @mib_chain_delete(i32 noundef 356, i32 noundef %12)
%14 = icmp ne i32 %13, 1
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %19
17: ; preds = %10
%18 = call i32 (...) @restart_acl()
store i32 0, ptr %2, align 4
br label %19
19: ; preds = %17, %15, %8
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i32 @mib_chain_total(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @mib_chain_delete(i32 noundef, i32 noundef) #1
declare i32 @restart_acl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppmhubca9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Empty table!\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"Delete chain record error!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @delAclEntry(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = call i32 @mib_chain_total(i32 noundef 356)
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %19
10: ; preds = %1
%11 = load i32, ptr %3, align 4
%12 = sub nsw i32 %11, 1
%13 = call i32 @mib_chain_delete(i32 noundef 356, i32 noundef %12)
%14 = icmp ne i32 %13, 1
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %19
17: ; preds = %10
%18 = call i32 (...) @restart_acl()
store i32 0, ptr %2, align 4
br label %19
19: ; preds = %17, %15, %8
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i32 @mib_chain_total(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @mib_chain_delete(i32 noundef, i32 noundef) #1
declare i32 @restart_acl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgfl7bm77.c'
source_filename = "/tmp/tmpgfl7bm77.c"
target datalayout = "e-m:e-p270: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/tmpgfl7bm77.c"
target datalayout = "e-m:e-p270: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/tmpo4pz91lq.c'
source_filename = "/tmp/tmpo4pz91lq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @test()
%7 = load i32, ptr %4, align 4
%8 = mul nsw i32 %7, 10
ret i32 %8
}
declare i32 @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/tmpo4pz91lq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @test()
%7 = load i32, ptr %4, align 4
%8 = mul nsw i32 %7, 10
ret i32 %8
}
declare i32 @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/tmpgmlaxmi_.c'
source_filename = "/tmp/tmpgmlaxmi_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Carrot\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Onion\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Potato\00", align 1
@__const.main.a = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16
@.str.3 = private unnamed_addr constant [4 x i8] c"%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 [3 x ptr], align 16
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.a, i64 24, i1 false)
%5 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 0
store ptr %5, ptr %4, align 8
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %18, %0
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %9, label %21
9: ; preds = %6
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds ptr, ptr %10, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 1
%16 = load i8, ptr %15, align 1
%17 = call i32 @printf(ptr noundef @.str.3, i8 noundef signext %16)
br label %18
18: ; preds = %9
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
br label %6, !llvm.loop !6
21: ; preds = %6
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgmlaxmi_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Carrot\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Onion\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Potato\00", align 1
@__const.main.a = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16
@.str.3 = private unnamed_addr constant [4 x i8] c"%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 [3 x ptr], align 16
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.a, i64 24, i1 false)
%5 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 0
store ptr %5, ptr %4, align 8
store i32 0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 3
br i1 %7, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %17
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds ptr, ptr %9, i64 %11
%13 = load ptr, ptr %12, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
%15 = load i8, ptr %14, align 1
%16 = call i32 @printf(ptr noundef @.str.3, i8 noundef signext %15)
br label %17
17: ; preds = %8
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj2d7wgxb.c'
source_filename = "/tmp/tmpj2d7wgxb.c"
target datalayout = "e-m:e-p270: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/tmpj2d7wgxb.c"
target datalayout = "e-m:e-p270: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/tmp99y83cl8.c'
source_filename = "/tmp/tmp99y83cl8.c"
target datalayout = "e-m:e-p270: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/tmp99y83cl8.c"
target datalayout = "e-m:e-p270: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/tmp8ogysks0.c'
source_filename = "/tmp/tmp8ogysks0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @I2C4_EV_IRQHandler() #0 {
%1 = call i32 (...) @default_handler()
ret void
}
declare i32 @default_handler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ogysks0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @I2C4_EV_IRQHandler() #0 {
%1 = call i32 (...) @default_handler()
ret void
}
declare i32 @default_handler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5gywamvf.c'
source_filename = "/tmp/tmp5gywamvf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getHashValue(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 131, ptr %5, align 4
store i32 0, ptr %3, align 4
br label %10
10: ; preds = %25, %1
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp ult i32 %11, %12
br i1 %13, label %14, label %28
14: ; preds = %10
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = mul i32 %15, %16
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = zext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = add i32 %17, %23
store i32 %24, ptr %6, align 4
br label %25
25: ; preds = %14
%26 = load i32, ptr %3, align 4
%27 = add i32 %26, 1
store i32 %27, ptr %3, align 4
br label %10, !llvm.loop !6
28: ; preds = %10
%29 = load i32, ptr %6, align 4
%30 = urem i32 %29, 10000
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %7, align 4
ret i32 %31
}
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/tmp5gywamvf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getHashValue(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 131, ptr %5, align 4
store i32 0, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %.lr.ph, label %30
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %24
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = mul i32 %14, %15
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = zext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = add i32 %16, %22
store i32 %23, ptr %6, align 4
br label %24
24: ; preds = %13
%25 = load i32, ptr %3, align 4
%26 = add i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp ult i32 %27, %28
br i1 %29, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %1
%31 = load i32, ptr %6, align 4
%32 = urem i32 %31, 10000
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
ret i32 %33
}
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/tmpq9070dv1.c'
source_filename = "/tmp/tmpq9070dv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%7 = load i32, ptr %4, align 4
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %6, align 4
br label %9
9: ; preds = %12, %2
%10 = load i32, ptr %6, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call i32 @ft_putstr(ptr noundef %17)
%19 = call i32 @ft_putchar(i8 noundef signext 10)
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %6, align 4
br label %9, !llvm.loop !6
22: ; preds = %9
ret i32 0
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @ft_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/tmpq9070dv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%7 = load i32, ptr %4, align 4
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %11
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = call i32 @ft_putstr(ptr noundef %16)
%18 = call i32 @ft_putchar(i8 noundef signext 10)
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %23
23: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @ft_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/tmpysn_ylwk.c'
source_filename = "/tmp/tmpysn_ylwk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @proxy_worker_connect(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @proxy_worker_resolve(ptr noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %14
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @proxy_worker_try_connect(ptr noundef %12)
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %11, %9
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @proxy_worker_resolve(ptr noundef) #1
declare i32 @proxy_worker_try_connect(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpysn_ylwk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @proxy_worker_connect(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @proxy_worker_resolve(ptr noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %14
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @proxy_worker_try_connect(ptr noundef %12)
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %11, %9
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @proxy_worker_resolve(ptr noundef) #1
declare i32 @proxy_worker_try_connect(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_hijnuw4.c'
source_filename = "/tmp/tmp_hijnuw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"1c0111001f010100061a024b53535009181c\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"686974207468652062756c6c277320657965\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"746865206b696420646f6e277420706c6179\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Set 1 Challenge 2: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"PASS\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"FAIL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_1_challenge_2() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [18 x i8], align 16
%5 = alloca [18 x i8], align 16
%6 = alloca [18 x i8], align 16
%7 = alloca [37 x i8], align 16
store ptr @.str, ptr %1, align 8
store ptr @.str.1, ptr %2, align 8
store ptr @.str.2, ptr %3, align 8
%8 = load ptr, ptr %1, align 8
%9 = getelementptr inbounds [18 x i8], ptr %4, i64 0, i64 0
%10 = call i32 @hex_decode(ptr noundef %8, ptr noundef %9, i32 noundef 18, ptr noundef null)
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds [18 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @hex_decode(ptr noundef %11, ptr noundef %12, i32 noundef 18, ptr noundef null)
%14 = getelementptr inbounds [18 x i8], ptr %4, i64 0, i64 0
%15 = getelementptr inbounds [18 x i8], ptr %5, i64 0, i64 0
%16 = getelementptr inbounds [18 x i8], ptr %6, i64 0, i64 0
%17 = call i32 @xor_perform(ptr noundef %14, i32 noundef 18, i32 noundef 1, ptr noundef %15, i32 noundef 18, ptr noundef %16, i32 noundef 18)
%18 = getelementptr inbounds [18 x i8], ptr %6, i64 0, i64 0
%19 = getelementptr inbounds [37 x i8], ptr %7, i64 0, i64 0
%20 = call i32 @hex_encode(ptr noundef %18, i32 noundef 18, ptr noundef %19, i32 noundef 37)
%21 = getelementptr inbounds [37 x i8], ptr %7, i64 0, i64 0
%22 = load ptr, ptr %3, align 8
%23 = call i64 @strcmp(ptr noundef %21, ptr noundef %22)
%24 = icmp eq i64 %23, 0
%25 = zext i1 %24 to i64
%26 = select i1 %24, ptr @.str.4, ptr @.str.5
%27 = call i32 @printf(ptr noundef @.str.3, ptr noundef %26)
ret void
}
declare i32 @hex_decode(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @xor_perform(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @hex_encode(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_hijnuw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"1c0111001f010100061a024b53535009181c\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"686974207468652062756c6c277320657965\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"746865206b696420646f6e277420706c6179\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Set 1 Challenge 2: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"PASS\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"FAIL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_1_challenge_2() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [18 x i8], align 16
%5 = alloca [18 x i8], align 16
%6 = alloca [18 x i8], align 16
%7 = alloca [37 x i8], align 16
store ptr @.str, ptr %1, align 8
store ptr @.str.1, ptr %2, align 8
store ptr @.str.2, ptr %3, align 8
%8 = load ptr, ptr %1, align 8
%9 = getelementptr inbounds [18 x i8], ptr %4, i64 0, i64 0
%10 = call i32 @hex_decode(ptr noundef %8, ptr noundef %9, i32 noundef 18, ptr noundef null)
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds [18 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @hex_decode(ptr noundef %11, ptr noundef %12, i32 noundef 18, ptr noundef null)
%14 = getelementptr inbounds [18 x i8], ptr %4, i64 0, i64 0
%15 = getelementptr inbounds [18 x i8], ptr %5, i64 0, i64 0
%16 = getelementptr inbounds [18 x i8], ptr %6, i64 0, i64 0
%17 = call i32 @xor_perform(ptr noundef %14, i32 noundef 18, i32 noundef 1, ptr noundef %15, i32 noundef 18, ptr noundef %16, i32 noundef 18)
%18 = getelementptr inbounds [18 x i8], ptr %6, i64 0, i64 0
%19 = getelementptr inbounds [37 x i8], ptr %7, i64 0, i64 0
%20 = call i32 @hex_encode(ptr noundef %18, i32 noundef 18, ptr noundef %19, i32 noundef 37)
%21 = getelementptr inbounds [37 x i8], ptr %7, i64 0, i64 0
%22 = load ptr, ptr %3, align 8
%23 = call i64 @strcmp(ptr noundef %21, ptr noundef %22)
%24 = icmp eq i64 %23, 0
%25 = zext i1 %24 to i64
%26 = select i1 %24, ptr @.str.4, ptr @.str.5
%27 = call i32 @printf(ptr noundef @.str.3, ptr noundef %26)
ret void
}
declare i32 @hex_decode(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @xor_perform(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @hex_encode(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpggbw4vpo.c'
source_filename = "/tmp/tmpggbw4vpo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local i32 @finitef(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @isfinite(float noundef %3)
ret i32 %4
}
declare i32 @isfinite(float noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpggbw4vpo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local i32 @finitef(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @isfinite(float noundef %3)
ret i32 %4
}
declare i32 @isfinite(float noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpojzmdi7o.c'
source_filename = "/tmp/tmpojzmdi7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @realloc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
ret ptr %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpojzmdi7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @realloc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
ret ptr %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqw9ucxm0.c'
source_filename = "/tmp/tmpqw9ucxm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mdyhms_datecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 6
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 6
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = sub nsw i32 %9, %13
%15 = icmp ne i32 %14, 0
br i1 %15, label %53, label %16
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 7
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 7
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = sub nsw i32 %20, %24
%26 = icmp ne i32 %25, 0
br i1 %26, label %53, label %27
27: ; preds = %16
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = sub nsw i32 %31, %35
%37 = icmp ne i32 %36, 0
br i1 %37, label %53, label %38
38: ; preds = %27
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 9
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 9
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = sub nsw i32 %42, %46
%48 = icmp ne i32 %47, 0
br i1 %48, label %53, label %49
49: ; preds = %38
%50 = load ptr, ptr %4, align 8
%51 = load ptr, ptr %5, align 8
%52 = call i32 @strcmp(ptr noundef %50, ptr noundef %51)
store i32 %52, ptr %3, align 4
br label %59
53: ; preds = %38, %27, %16, %2
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds i8, ptr %54, i64 6
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds i8, ptr %56, i64 6
%58 = call i32 @strncmp(ptr noundef %55, ptr noundef %57, i32 noundef 4)
store i32 %58, ptr %3, align 4
br label %59
59: ; preds = %53, %49
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strncmp(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/tmpqw9ucxm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mdyhms_datecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 6
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 6
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = sub nsw i32 %9, %13
%15 = icmp ne i32 %14, 0
br i1 %15, label %53, label %16
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 7
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 7
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = sub nsw i32 %20, %24
%26 = icmp ne i32 %25, 0
br i1 %26, label %53, label %27
27: ; preds = %16
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = sub nsw i32 %31, %35
%37 = icmp ne i32 %36, 0
br i1 %37, label %53, label %38
38: ; preds = %27
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 9
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 9
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = sub nsw i32 %42, %46
%48 = icmp ne i32 %47, 0
br i1 %48, label %53, label %49
49: ; preds = %38
%50 = load ptr, ptr %4, align 8
%51 = load ptr, ptr %5, align 8
%52 = call i32 @strcmp(ptr noundef %50, ptr noundef %51)
store i32 %52, ptr %3, align 4
br label %59
53: ; preds = %38, %27, %16, %2
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds i8, ptr %54, i64 6
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds i8, ptr %56, i64 6
%58 = call i32 @strncmp(ptr noundef %55, ptr noundef %57, i32 noundef 4)
store i32 %58, ptr %3, align 4
br label %59
59: ; preds = %53, %49
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strncmp(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/tmpfwj86d0a.c'
source_filename = "/tmp/tmpfwj86d0a.c"
target datalayout = "e-m:e-p270: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.winsize = type { i32 }
@TIOCGWINSZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.winsize, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = 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
%13 = load i32, ptr @TIOCGWINSZ, align 4
%14 = call i32 @ioctl(i32 noundef 0, i32 noundef %13, ptr noundef %6)
%15 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %2
%19 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0
%20 = load i32, ptr %19, align 4
br label %22
21: ; preds = %2
br label %22
22: ; preds = %21, %18
%23 = phi i32 [ %20, %18 ], [ 80, %21 ]
store i32 %23, ptr %7, align 4
store i32 1, ptr %8, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp sgt i32 %24, 1
br i1 %25, label %26, label %31
26: ; preds = %22
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
store i32 %30, ptr %8, align 4
br label %31
31: ; preds = %26, %22
%32 = load i32, ptr %7, align 4
%33 = zext i32 %32 to i64
%34 = call ptr @llvm.stacksave()
store ptr %34, ptr %9, align 8
%35 = alloca i8, i64 %33, align 16
store i64 %33, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %36
36: ; preds = %44, %31
%37 = load i32, ptr %11, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %47
40: ; preds = %36
%41 = load i32, ptr %11, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %35, i64 %42
store i8 35, ptr %43, align 1
br label %44
44: ; preds = %40
%45 = load i32, ptr %11, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %11, align 4
br label %36, !llvm.loop !6
47: ; preds = %36
store i32 1, ptr %12, align 4
br label %48
48: ; preds = %54, %47
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr %8, align 4
%51 = icmp sle i32 %49, %50
br i1 %51, label %52, label %57
52: ; preds = %48
%53 = call i32 @printf(ptr noundef @.str, ptr noundef %35)
br label %54
54: ; preds = %52
%55 = load i32, ptr %12, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %12, align 4
br label %48, !llvm.loop !8
57: ; preds = %48
store i32 0, ptr %3, align 4
%58 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %58)
%59 = load i32, ptr %3, align 4
ret i32 %59
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfwj86d0a.c"
target datalayout = "e-m:e-p270: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.winsize = type { i32 }
@TIOCGWINSZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.winsize, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = 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
%13 = load i32, ptr @TIOCGWINSZ, align 4
%14 = call i32 @ioctl(i32 noundef 0, i32 noundef %13, ptr noundef %6)
%15 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %2
%19 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0
%20 = load i32, ptr %19, align 4
br label %22
21: ; preds = %2
br label %22
22: ; preds = %21, %18
%23 = phi i32 [ %20, %18 ], [ 80, %21 ]
store i32 %23, ptr %7, align 4
store i32 1, ptr %8, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp sgt i32 %24, 1
br i1 %25, label %26, label %31
26: ; preds = %22
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
store i32 %30, ptr %8, align 4
br label %31
31: ; preds = %26, %22
%32 = load i32, ptr %7, align 4
%33 = zext i32 %32 to i64
%34 = call ptr @llvm.stacksave()
store ptr %34, ptr %9, align 8
%35 = alloca i8, i64 %33, align 16
store i64 %33, ptr %10, align 8
store i32 0, ptr %11, align 4
%36 = load i32, ptr %11, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph, label %49
.lr.ph: ; preds = %31
br label %39
39: ; preds = %.lr.ph, %43
%40 = load i32, ptr %11, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %35, i64 %41
store i8 35, ptr %42, align 1
br label %43
43: ; preds = %39
%44 = load i32, ptr %11, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %11, align 4
%46 = load i32, ptr %11, align 4
%47 = load i32, ptr %7, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %49
49: ; preds = %._crit_edge, %31
store i32 1, ptr %12, align 4
%50 = load i32, ptr %12, align 4
%51 = load i32, ptr %8, align 4
%52 = icmp sle i32 %50, %51
br i1 %52, label %.lr.ph2, label %61
.lr.ph2: ; preds = %49
br label %53
53: ; preds = %.lr.ph2, %55
%54 = call i32 @printf(ptr noundef @.str, ptr noundef %35)
br label %55
55: ; preds = %53
%56 = load i32, ptr %12, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %12, align 4
%58 = load i32, ptr %12, align 4
%59 = load i32, ptr %8, align 4
%60 = icmp sle i32 %58, %59
br i1 %60, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %55
br label %61
61: ; preds = %._crit_edge3, %49
store i32 0, ptr %3, align 4
%62 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %62)
%63 = load i32, ptr %3, align 4
ret i32 %63
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmptvcysgcr.c'
source_filename = "/tmp/tmptvcysgcr.c"
target datalayout = "e-m:e-p270: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/tmptvcysgcr.c"
target datalayout = "e-m:e-p270: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/tmpew9g6dju.c'
source_filename = "/tmp/tmpew9g6dju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wots_sign(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [35 x i32], align 16
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%13 = getelementptr inbounds [35 x i32], ptr %11, i64 0, i64 0
%14 = load ptr, ptr %7, align 8
%15 = call i32 @chain_lengths(ptr noundef %13, ptr noundef %14)
store i32 0, ptr %12, align 4
br label %16
16: ; preds = %48, %5
%17 = load i32, ptr %12, align 4
%18 = icmp slt i32 %17, 35
br i1 %18, label %19, label %51
19: ; preds = %16
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %12, align 4
%22 = call i32 @set_chain_addr(ptr noundef %20, i32 noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %12, align 4
%25 = mul nsw i32 %24, 16
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
%28 = load ptr, ptr %8, align 8
%29 = load ptr, ptr %10, align 8
%30 = call i32 @wots_gen_sk(ptr noundef %27, ptr noundef %28, ptr noundef %29)
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %12, align 4
%33 = mul nsw i32 %32, 16
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %12, align 4
%38 = mul nsw i32 %37, 16
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
%41 = load i32, ptr %12, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [35 x i32], ptr %11, i64 0, i64 %42
%44 = load i32, ptr %43, align 4
%45 = load ptr, ptr %9, align 8
%46 = load ptr, ptr %10, align 8
%47 = call i32 @gen_chain(ptr noundef %35, ptr noundef %40, i32 noundef 0, i32 noundef %44, ptr noundef %45, ptr noundef %46)
br label %48
48: ; preds = %19
%49 = load i32, ptr %12, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %12, align 4
br label %16, !llvm.loop !6
51: ; preds = %16
ret void
}
declare i32 @chain_lengths(ptr noundef, ptr noundef) #1
declare i32 @set_chain_addr(ptr noundef, i32 noundef) #1
declare i32 @wots_gen_sk(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gen_chain(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpew9g6dju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wots_sign(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca [35 x i32], align 16
%12 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%13 = getelementptr inbounds [35 x i32], ptr %11, i64 0, i64 0
%14 = load ptr, ptr %7, align 8
%15 = call i32 @chain_lengths(ptr noundef %13, ptr noundef %14)
store i32 0, ptr %12, align 4
%16 = load i32, ptr %12, align 4
%17 = icmp slt i32 %16, 35
br i1 %17, label %.lr.ph, label %52
.lr.ph: ; preds = %5
br label %18
18: ; preds = %.lr.ph, %47
%19 = load ptr, ptr %10, align 8
%20 = load i32, ptr %12, align 4
%21 = call i32 @set_chain_addr(ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %12, align 4
%24 = mul nsw i32 %23, 16
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
%27 = load ptr, ptr %8, align 8
%28 = load ptr, ptr %10, align 8
%29 = call i32 @wots_gen_sk(ptr noundef %26, ptr noundef %27, ptr noundef %28)
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %12, align 4
%32 = mul nsw i32 %31, 16
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %30, i64 %33
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %12, align 4
%37 = mul nsw i32 %36, 16
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %35, i64 %38
%40 = load i32, ptr %12, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [35 x i32], ptr %11, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %9, align 8
%45 = load ptr, ptr %10, align 8
%46 = call i32 @gen_chain(ptr noundef %34, ptr noundef %39, i32 noundef 0, i32 noundef %43, ptr noundef %44, ptr noundef %45)
br label %47
47: ; preds = %18
%48 = load i32, ptr %12, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %12, align 4
%50 = load i32, ptr %12, align 4
%51 = icmp slt i32 %50, 35
br i1 %51, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %52
52: ; preds = %._crit_edge, %5
ret void
}
declare i32 @chain_lengths(ptr noundef, ptr noundef) #1
declare i32 @set_chain_addr(ptr noundef, i32 noundef) #1
declare i32 @wots_gen_sk(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gen_chain(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpey4kq02k.c'
source_filename = "/tmp/tmpey4kq02k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.s = private unnamed_addr constant [13 x i8] c"hello, world\00", align 1
@.str = private unnamed_addr constant [8 x i8] c"s = %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 [13 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.s, i64 13, i1 false)
%7 = getelementptr inbounds [13 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @reverse(ptr noundef %7, i32 noundef 12)
%9 = getelementptr inbounds [13 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @reverse(ptr noundef, i32 noundef) #2
declare i32 @printf(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/tmpey4kq02k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.s = private unnamed_addr constant [13 x i8] c"hello, world\00", align 1
@.str = private unnamed_addr constant [8 x i8] c"s = %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 [13 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.s, i64 13, i1 false)
%7 = getelementptr inbounds [13 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @reverse(ptr noundef %7, i32 noundef 12)
%9 = getelementptr inbounds [13 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @reverse(ptr noundef, i32 noundef) #2
declare i32 @printf(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/tmprmfnacxk.c'
source_filename = "/tmp/tmprmfnacxk.c"
target datalayout = "e-m:e-p270: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/tmprmfnacxk.c"
target datalayout = "e-m:e-p270: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/tmpxkipp8ud.c'
source_filename = "/tmp/tmpxkipp8ud.c"
target datalayout = "e-m:e-p270: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 [18 x i8] c"Not enough memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ensure_capacity(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = call i64 @malloc(i32 noundef 256)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %5, align 8
br label %30
13: ; preds = %3
%14 = load ptr, ptr %7, align 8
%15 = load i64, ptr %14, align 8
%16 = load i64, ptr %6, align 8
%17 = sub i64 %15, %16
%18 = icmp ult i64 %17, 256
br i1 %18, label %19, label %29
19: ; preds = %13
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %21, align 8
%23 = add i64 %22, 256
%24 = call i64 @realloc(ptr noundef %20, i64 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %5, align 8
%26 = load ptr, ptr %7, align 8
%27 = load i64, ptr %26, align 8
%28 = add i64 %27, 256
store i64 %28, ptr %26, align 8
br label %29
29: ; preds = %19, %13
br label %30
30: ; preds = %29, %10
%31 = load ptr, ptr %5, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = load i32, ptr @stderr, align 4
%35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str)
store ptr null, ptr %4, align 8
br label %38
36: ; preds = %30
%37 = load ptr, ptr %5, align 8
store ptr %37, ptr %4, align 8
br label %38
38: ; preds = %36, %33
%39 = load ptr, ptr %4, align 8
ret ptr %39
}
declare i64 @malloc(i32 noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
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/tmpxkipp8ud.c"
target datalayout = "e-m:e-p270: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 [18 x i8] c"Not enough memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ensure_capacity(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = call i64 @malloc(i32 noundef 256)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %5, align 8
br label %30
13: ; preds = %3
%14 = load ptr, ptr %7, align 8
%15 = load i64, ptr %14, align 8
%16 = load i64, ptr %6, align 8
%17 = sub i64 %15, %16
%18 = icmp ult i64 %17, 256
br i1 %18, label %19, label %29
19: ; preds = %13
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %21, align 8
%23 = add i64 %22, 256
%24 = call i64 @realloc(ptr noundef %20, i64 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %5, align 8
%26 = load ptr, ptr %7, align 8
%27 = load i64, ptr %26, align 8
%28 = add i64 %27, 256
store i64 %28, ptr %26, align 8
br label %29
29: ; preds = %19, %13
br label %30
30: ; preds = %29, %10
%31 = load ptr, ptr %5, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = load i32, ptr @stderr, align 4
%35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str)
store ptr null, ptr %4, align 8
br label %38
36: ; preds = %30
%37 = load ptr, ptr %5, align 8
store ptr %37, ptr %4, align 8
br label %38
38: ; preds = %36, %33
%39 = load ptr, ptr %4, align 8
ret ptr %39
}
declare i64 @malloc(i32 noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
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/tmpfbwqf8i_.c'
source_filename = "/tmp/tmpfbwqf8i_.c"
target datalayout = "e-m:e-p270: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/tmpfbwqf8i_.c"
target datalayout = "e-m:e-p270: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/tmpod_5gq0m.c'
source_filename = "/tmp/tmpod_5gq0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_raise_priority\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_raise_priority() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpod_5gq0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_raise_priority\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_raise_priority() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpri60p6sy.c'
source_filename = "/tmp/tmpri60p6sy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caml_js_external() #0 {
%1 = call i32 @exit(i32 noundef 1) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpri60p6sy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caml_js_external() #0 {
%1 = call i32 @exit(i32 noundef 1) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.