llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpqqfcc3yb.c'
source_filename = "/tmp/tmpqqfcc3yb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_data_int(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store ptr null, ptr %9, align 8
%12 = load ptr, ptr %5, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %9, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %4
%17 = load ptr, ptr %5, align 8
%18 = call i32 @print_error_global(ptr noundef @.str.1, ptr noundef %17, i32 noundef 0)
br label %19
19: ; preds = %16, %4
store i32 0, ptr %10, align 4
br label %20
20: ; preds = %60, %19
%21 = load i32, ptr %10, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %63
24: ; preds = %20
store i32 0, ptr %11, align 4
br label %25
25: ; preds = %42, %24
%26 = load i32, ptr %11, align 4
%27 = load i32, ptr %7, align 4
%28 = sub nsw i32 %27, 1
%29 = icmp slt i32 %26, %28
br i1 %29, label %30, label %45
30: ; preds = %25
%31 = load ptr, ptr %9, align 8
%32 = load ptr, ptr %8, align 8
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %7, align 4
%35 = mul nsw i32 %33, %34
%36 = load i32, ptr %11, align 4
%37 = add nsw i32 %35, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %32, i64 %38
%40 = load i32, ptr %39, align 4
%41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.2, i32 noundef %40)
br label %42
42: ; preds = %30
%43 = load i32, ptr %11, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %11, align 4
br label %25, !llvm.loop !6
45: ; preds = %25
%46 = load ptr, ptr %9, align 8
%47 = load ptr, ptr %8, align 8
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %7, align 4
%50 = mul nsw i32 %48, %49
%51 = load i32, ptr %7, align 4
%52 = sub nsw i32 %51, 1
%53 = add nsw i32 %50, %52
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %47, i64 %54
%56 = load i32, ptr %55, align 4
%57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str.3, i32 noundef %56)
%58 = load ptr, ptr %9, align 8
%59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str.4)
br label %60
60: ; preds = %45
%61 = load i32, ptr %10, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %10, align 4
br label %20, !llvm.loop !8
63: ; preds = %20
%64 = load ptr, ptr %9, align 8
%65 = call i32 @fclose(ptr noundef %64)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @print_error_global(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqqfcc3yb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_data_int(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store ptr null, ptr %9, align 8
%12 = load ptr, ptr %5, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %9, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %4
%17 = load ptr, ptr %5, align 8
%18 = call i32 @print_error_global(ptr noundef @.str.1, ptr noundef %17, i32 noundef 0)
br label %19
19: ; preds = %16, %4
store i32 0, ptr %10, align 4
%20 = load i32, ptr %10, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph2, label %68
.lr.ph2: ; preds = %19
br label %23
23: ; preds = %.lr.ph2, %62
store i32 0, ptr %11, align 4
%24 = load i32, ptr %11, align 4
%25 = load i32, ptr %7, align 4
%26 = sub nsw i32 %25, 1
%27 = icmp slt i32 %24, %26
br i1 %27, label %.lr.ph, label %47
.lr.ph: ; preds = %23
br label %28
28: ; preds = %.lr.ph, %40
%29 = load ptr, ptr %9, align 8
%30 = load ptr, ptr %8, align 8
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %7, align 4
%33 = mul nsw i32 %31, %32
%34 = load i32, ptr %11, align 4
%35 = add nsw i32 %33, %34
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %30, i64 %36
%38 = load i32, ptr %37, align 4
%39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.2, i32 noundef %38)
br label %40
40: ; preds = %28
%41 = load i32, ptr %11, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %11, align 4
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %7, align 4
%45 = sub nsw i32 %44, 1
%46 = icmp slt i32 %43, %45
br i1 %46, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %47
47: ; preds = %._crit_edge, %23
%48 = load ptr, ptr %9, align 8
%49 = load ptr, ptr %8, align 8
%50 = load i32, ptr %10, align 4
%51 = load i32, ptr %7, align 4
%52 = mul nsw i32 %50, %51
%53 = load i32, ptr %7, align 4
%54 = sub nsw i32 %53, 1
%55 = add nsw i32 %52, %54
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %49, i64 %56
%58 = load i32, ptr %57, align 4
%59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.3, i32 noundef %58)
%60 = load ptr, ptr %9, align 8
%61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.4)
br label %62
62: ; preds = %47
%63 = load i32, ptr %10, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %10, align 4
%65 = load i32, ptr %10, align 4
%66 = load i32, ptr %6, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %68
68: ; preds = %._crit_edge3, %19
%69 = load ptr, ptr %9, align 8
%70 = call i32 @fclose(ptr noundef %69)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @print_error_global(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8ecrulve.c'
source_filename = "/tmp/tmp8ecrulve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [154 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/JulienBoubechtoulaAmabis/roswell/refs/heads/maBranche/src/opt.c\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"name_\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_getenv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @q_internal(ptr noundef %5, ptr noundef @.str, i32 noundef 151)
%7 = call ptr @substitute_char(i8 noundef signext 95, i8 noundef signext 46, i32 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @getenv(ptr noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @s_internal(ptr noundef %10, ptr noundef @.str.1, ptr noundef @.str, i32 noundef 153)
%12 = load ptr, ptr %4, align 8
ret ptr %12
}
declare ptr @substitute_char(i8 noundef signext, i8 noundef signext, i32 noundef) #1
declare i32 @q_internal(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @s_internal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ecrulve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [154 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/JulienBoubechtoulaAmabis/roswell/refs/heads/maBranche/src/opt.c\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"name_\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @_getenv(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @q_internal(ptr noundef %5, ptr noundef @.str, i32 noundef 151)
%7 = call ptr @substitute_char(i8 noundef signext 95, i8 noundef signext 46, i32 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @getenv(ptr noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i32 @s_internal(ptr noundef %10, ptr noundef @.str.1, ptr noundef @.str, i32 noundef 153)
%12 = load ptr, ptr %4, align 8
ret ptr %12
}
declare ptr @substitute_char(i8 noundef signext, i8 noundef signext, i32 noundef) #1
declare i32 @q_internal(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @s_internal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ipc1mg6.c'
source_filename = "/tmp/tmp8ipc1mg6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @skgetc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %5, align 4
%7 = call i32 @recv(i32 noundef %6, ptr noundef %3, i32 noundef 1, i32 noundef 0)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %1
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %10, %1
%14 = load i32, ptr @EOF, align 4
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %13, %10
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ipc1mg6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @skgetc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %5, align 4
%7 = call i32 @recv(i32 noundef %6, ptr noundef %3, i32 noundef 1, i32 noundef 0)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %1
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %10, %1
%14 = load i32, ptr @EOF, align 4
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %13, %10
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpykdm5c4g.c'
source_filename = "/tmp/tmpykdm5c4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pkey_to_string(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr null, ptr %8, align 8
store i64 0, ptr %9, align 8
%10 = call i32 (...) @BIO_s_mem()
%11 = call ptr @BIO_new(i32 noundef %10)
store ptr %11, ptr %8, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %3
store i64 0, ptr %4, align 8
br label %28
14: ; preds = %3
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %5, align 8
%17 = call i32 @PEM_write_bio_PrivateKey(ptr noundef %15, ptr noundef %16, ptr noundef null, ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef null)
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %8, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i64, ptr %7, align 8
%23 = call i64 @BIO_read(ptr noundef %20, ptr noundef %21, i64 noundef %22)
store i64 %23, ptr %9, align 8
br label %24
24: ; preds = %19, %14
%25 = load ptr, ptr %8, align 8
%26 = call i32 @BIO_free(ptr noundef %25)
%27 = load i64, ptr %9, align 8
store i64 %27, ptr %4, align 8
br label %28
28: ; preds = %24, %13
%29 = load i64, ptr %4, align 8
ret i64 %29
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_mem(...) #1
declare i32 @PEM_write_bio_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @BIO_read(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @BIO_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/tmpykdm5c4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pkey_to_string(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr null, ptr %8, align 8
store i64 0, ptr %9, align 8
%10 = call i32 (...) @BIO_s_mem()
%11 = call ptr @BIO_new(i32 noundef %10)
store ptr %11, ptr %8, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %3
store i64 0, ptr %4, align 8
br label %28
14: ; preds = %3
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %5, align 8
%17 = call i32 @PEM_write_bio_PrivateKey(ptr noundef %15, ptr noundef %16, ptr noundef null, ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef null)
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %8, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i64, ptr %7, align 8
%23 = call i64 @BIO_read(ptr noundef %20, ptr noundef %21, i64 noundef %22)
store i64 %23, ptr %9, align 8
br label %24
24: ; preds = %19, %14
%25 = load ptr, ptr %8, align 8
%26 = call i32 @BIO_free(ptr noundef %25)
%27 = load i64, ptr %9, align 8
store i64 %27, ptr %4, align 8
br label %28
28: ; preds = %24, %13
%29 = load i64, ptr %4, align 8
ret i64 %29
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_mem(...) #1
declare i32 @PEM_write_bio_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @BIO_read(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @BIO_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/tmpnu4eizs_.c'
source_filename = "/tmp/tmpnu4eizs_.c"
target datalayout = "e-m:e-p270: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/tmpnu4eizs_.c"
target datalayout = "e-m:e-p270: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/tmpsc47libw.c'
source_filename = "/tmp/tmpsc47libw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hweight32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = lshr i32 %5, 1
%7 = and i32 %6, 1431655765
%8 = sub i32 %4, %7
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = and i32 %9, 858993459
%11 = load i32, ptr %3, align 4
%12 = lshr i32 %11, 2
%13 = and i32 %12, 858993459
%14 = add i32 %10, %13
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = lshr i32 %16, 4
%18 = add i32 %15, %17
%19 = and i32 %18, 252645135
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = lshr i32 %21, 8
%23 = add i32 %20, %22
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = lshr i32 %25, 16
%27 = add i32 %24, %26
%28 = and i32 %27, 255
ret i32 %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsc47libw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hweight32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = lshr i32 %5, 1
%7 = and i32 %6, 1431655765
%8 = sub i32 %4, %7
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = and i32 %9, 858993459
%11 = load i32, ptr %3, align 4
%12 = lshr i32 %11, 2
%13 = and i32 %12, 858993459
%14 = add i32 %10, %13
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = lshr i32 %16, 4
%18 = add i32 %15, %17
%19 = and i32 %18, 252645135
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = lshr i32 %21, 8
%23 = add i32 %20, %22
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = lshr i32 %25, 16
%27 = add i32 %24, %26
%28 = and i32 %27, 255
ret i32 %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd013qie4.c'
source_filename = "/tmp/tmpd013qie4.c"
target datalayout = "e-m:e-p270: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/tmpd013qie4.c"
target datalayout = "e-m:e-p270: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/tmpkpdmgcyw.c'
source_filename = "/tmp/tmpkpdmgcyw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"/cmd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sh6_path_to_custom_programs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%10 = load i32, ptr @PATH_MAX, align 4
%11 = add nsw i32 %10, 1
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %4, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %5, align 8
%15 = load i32, ptr @PATH_MAX, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 @getcwd(ptr noundef %14, i32 noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = call ptr @strdup(ptr noundef %18)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = call ptr @strrchr(ptr noundef %20, i8 noundef signext 47)
store ptr %21, ptr %7, align 8
%22 = load ptr, ptr %7, align 8
store i8 0, ptr %22, align 1
%23 = call i64 @strlen(ptr noundef %14)
%24 = load ptr, ptr %6, align 8
%25 = call i64 @strlen(ptr noundef %24)
%26 = add nsw i64 %23, %25
%27 = add nsw i64 %26, 6
%28 = call ptr @calloc(i64 noundef %27, i32 noundef 1)
store ptr %28, ptr %8, align 8
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %31
30: ; preds = %1
store ptr null, ptr %2, align 8
store i32 1, ptr %9, align 4
br label %46
31: ; preds = %1
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 0
store i8 0, ptr %33, align 1
%34 = load ptr, ptr %8, align 8
%35 = call i32 @strcat(ptr noundef %34, ptr noundef %14)
%36 = load ptr, ptr %8, align 8
%37 = call i32 @strcat(ptr noundef %36, ptr noundef @.str)
%38 = load ptr, ptr %8, align 8
%39 = load ptr, ptr %6, align 8
%40 = call i32 @strcat(ptr noundef %38, ptr noundef %39)
%41 = load ptr, ptr %8, align 8
%42 = call i32 @strcat(ptr noundef %41, ptr noundef @.str.1)
%43 = load ptr, ptr %6, align 8
%44 = call i32 @free(ptr noundef %43)
%45 = load ptr, ptr %8, align 8
store ptr %45, ptr %2, align 8
store i32 1, ptr %9, align 4
br label %46
46: ; preds = %31, %30
%47 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %47)
%48 = load ptr, ptr %2, align 8
ret ptr %48
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @getcwd(ptr noundef, i32 noundef) #2
declare ptr @strdup(ptr noundef) #2
declare ptr @strrchr(ptr noundef, i8 noundef signext) #2
declare ptr @calloc(i64 noundef, i32 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @free(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/tmpkpdmgcyw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"/cmd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sh6_path_to_custom_programs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%10 = load i32, ptr @PATH_MAX, align 4
%11 = add nsw i32 %10, 1
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %4, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %5, align 8
%15 = load i32, ptr @PATH_MAX, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 @getcwd(ptr noundef %14, i32 noundef %16)
%18 = load ptr, ptr %3, align 8
%19 = call ptr @strdup(ptr noundef %18)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = call ptr @strrchr(ptr noundef %20, i8 noundef signext 47)
store ptr %21, ptr %7, align 8
%22 = load ptr, ptr %7, align 8
store i8 0, ptr %22, align 1
%23 = call i64 @strlen(ptr noundef %14)
%24 = load ptr, ptr %6, align 8
%25 = call i64 @strlen(ptr noundef %24)
%26 = add nsw i64 %23, %25
%27 = add nsw i64 %26, 6
%28 = call ptr @calloc(i64 noundef %27, i32 noundef 1)
store ptr %28, ptr %8, align 8
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %31
30: ; preds = %1
store ptr null, ptr %2, align 8
store i32 1, ptr %9, align 4
br label %46
31: ; preds = %1
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 0
store i8 0, ptr %33, align 1
%34 = load ptr, ptr %8, align 8
%35 = call i32 @strcat(ptr noundef %34, ptr noundef %14)
%36 = load ptr, ptr %8, align 8
%37 = call i32 @strcat(ptr noundef %36, ptr noundef @.str)
%38 = load ptr, ptr %8, align 8
%39 = load ptr, ptr %6, align 8
%40 = call i32 @strcat(ptr noundef %38, ptr noundef %39)
%41 = load ptr, ptr %8, align 8
%42 = call i32 @strcat(ptr noundef %41, ptr noundef @.str.1)
%43 = load ptr, ptr %6, align 8
%44 = call i32 @free(ptr noundef %43)
%45 = load ptr, ptr %8, align 8
store ptr %45, ptr %2, align 8
store i32 1, ptr %9, align 4
br label %46
46: ; preds = %31, %30
%47 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %47)
%48 = load ptr, ptr %2, align 8
ret ptr %48
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @getcwd(ptr noundef, i32 noundef) #2
declare ptr @strdup(ptr noundef) #2
declare ptr @strrchr(ptr noundef, i8 noundef signext) #2
declare ptr @calloc(i64 noundef, i32 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @free(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/tmpt1f6yh5i.c'
source_filename = "/tmp/tmpt1f6yh5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"All tests passed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test_create_node()
%3 = call i32 (...) @test_create()
%4 = call i32 (...) @test_push()
%5 = call i32 (...) @test_append()
%6 = call i32 (...) @test_size()
%7 = call i32 (...) @test_pop()
%8 = call i32 (...) @test_shift()
%9 = call i32 (...) @test_delete()
%10 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @test_create_node(...) #1
declare i32 @test_create(...) #1
declare i32 @test_push(...) #1
declare i32 @test_append(...) #1
declare i32 @test_size(...) #1
declare i32 @test_pop(...) #1
declare i32 @test_shift(...) #1
declare i32 @test_delete(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt1f6yh5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"All tests passed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test_create_node()
%3 = call i32 (...) @test_create()
%4 = call i32 (...) @test_push()
%5 = call i32 (...) @test_append()
%6 = call i32 (...) @test_size()
%7 = call i32 (...) @test_pop()
%8 = call i32 (...) @test_shift()
%9 = call i32 (...) @test_delete()
%10 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @test_create_node(...) #1
declare i32 @test_create(...) #1
declare i32 @test_push(...) #1
declare i32 @test_append(...) #1
declare i32 @test_size(...) #1
declare i32 @test_pop(...) #1
declare i32 @test_shift(...) #1
declare i32 @test_delete(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq7miavec.c'
source_filename = "/tmp/tmpq7miavec.c"
target datalayout = "e-m:e-p270: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/tmpq7miavec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_hfvzv89.c'
source_filename = "/tmp/tmp_hfvzv89.c"
target datalayout = "e-m:e-p270: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_hfvzv89.c"
target datalayout = "e-m:e-p270: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/tmpbu6_9m0d.c'
source_filename = "/tmp/tmpbu6_9m0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkCRC(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 65535, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %21, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = sub i32 %10, 2
%12 = icmp ult i32 %9, %11
br i1 %12, label %13, label %24
13: ; preds = %8
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = call i32 @CRC16(i32 noundef %14, i8 noundef zeroext %19)
store i32 %20, ptr %7, align 4
br label %21
21: ; preds = %13
%22 = load i32, ptr %6, align 4
%23 = add i32 %22, 1
store i32 %23, ptr %6, align 4
br label %8, !llvm.loop !6
24: ; preds = %8
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = sub i32 %26, 2
%28 = zext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
%30 = load i8, ptr %29, align 1
%31 = zext i8 %30 to i32
%32 = load i32, ptr %7, align 4
%33 = and i32 %32, 255
%34 = icmp ne i32 %31, %33
br i1 %34, label %35, label %36
35: ; preds = %24
store i32 1, ptr %3, align 4
br label %50
36: ; preds = %24
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %5, align 4
%39 = sub i32 %38, 1
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %37, i64 %40
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
%44 = load i32, ptr %7, align 4
%45 = and i32 %44, 65280
%46 = udiv i32 %45, 256
%47 = icmp ne i32 %43, %46
br i1 %47, label %48, label %49
48: ; preds = %36
store i32 1, ptr %3, align 4
br label %50
49: ; preds = %36
store i32 0, ptr %3, align 4
br label %50
50: ; preds = %49, %48, %35
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i32 @CRC16(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbu6_9m0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkCRC(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 65535, ptr %7, align 4
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = sub i32 %9, 2
%11 = icmp ult i32 %8, %10
br i1 %11, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %20
%13 = load i32, ptr %7, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = call i32 @CRC16(i32 noundef %13, i8 noundef zeroext %18)
store i32 %19, ptr %7, align 4
br label %20
20: ; preds = %12
%21 = load i32, ptr %6, align 4
%22 = add i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %5, align 4
%25 = sub i32 %24, 2
%26 = icmp ult i32 %23, %25
br i1 %26, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %27
27: ; preds = %._crit_edge, %2
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %5, align 4
%30 = sub i32 %29, 2
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %28, i64 %31
%33 = load i8, ptr %32, align 1
%34 = zext i8 %33 to i32
%35 = load i32, ptr %7, align 4
%36 = and i32 %35, 255
%37 = icmp ne i32 %34, %36
br i1 %37, label %38, label %39
38: ; preds = %27
store i32 1, ptr %3, align 4
br label %53
39: ; preds = %27
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %5, align 4
%42 = sub i32 %41, 1
%43 = zext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
%45 = load i8, ptr %44, align 1
%46 = zext i8 %45 to i32
%47 = load i32, ptr %7, align 4
%48 = and i32 %47, 65280
%49 = udiv i32 %48, 256
%50 = icmp ne i32 %46, %49
br i1 %50, label %51, label %52
51: ; preds = %39
store i32 1, ptr %3, align 4
br label %53
52: ; preds = %39
store i32 0, ptr %3, align 4
br label %53
53: ; preds = %52, %51, %38
%54 = load i32, ptr %3, align 4
ret i32 %54
}
declare i32 @CRC16(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpto49eujw.c'
source_filename = "/tmp/tmpto49eujw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i32 }
%struct.pollfd = type { i32, i32 }
@__const.main.string = private unnamed_addr constant [15 x i8] c"Hello, world!\0A\00", align 1
@__const.main.tv = private unnamed_addr constant %struct.timespec { i32 10, i32 0 }, align 4
@.str = private unnamed_addr constant [21 x i8] c"pipe creation failed\00", align 1
@POLLOUT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"ppoll with POLLOUT failed\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"ppoll(POLLOUT) returned %d file descriptors\0A\00", align 1
@POLLIN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [12 x i8] c"write error\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"ppoll with POLLIN failed\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"ppoll(POLLIN) returned %d file descriptors\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 [2 x i32], align 4
%4 = alloca [15 x i8], align 1
%5 = alloca %struct.timespec, align 4
%6 = alloca [1 x %struct.pollfd], align 4
%7 = alloca [1 x %struct.pollfd], align 4
%8 = alloca i64, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.string, i64 15, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.main.tv, i64 8, i1 false)
%9 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%10 = call i32 @pipe(ptr noundef %9)
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %60
15: ; preds = %0
%16 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%17 = getelementptr inbounds %struct.pollfd, ptr %16, i32 0, i32 0
%18 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%19 = load i32, ptr %18, align 4
store i32 %19, ptr %17, align 4
%20 = getelementptr inbounds %struct.pollfd, ptr %16, i32 0, i32 1
%21 = load i32, ptr @POLLOUT, align 4
store i32 %21, ptr %20, align 4
%22 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%23 = call i32 @ppoll(ptr noundef %22, i32 noundef 1, ptr noundef %5, ptr noundef null)
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp sle i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %15
%27 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %60
28: ; preds = %15
%29 = load i32, ptr %2, align 4
%30 = call i32 @printf(ptr noundef @.str.2, i32 noundef %29)
%31 = getelementptr inbounds [1 x %struct.pollfd], ptr %7, i64 0, i64 0
%32 = getelementptr inbounds %struct.pollfd, ptr %31, i32 0, i32 0
%33 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%34 = load i32, ptr %33, align 4
store i32 %34, ptr %32, align 4
%35 = getelementptr inbounds %struct.pollfd, ptr %31, i32 0, i32 1
%36 = load i32, ptr @POLLIN, align 4
store i32 %36, ptr %35, align 4
%37 = getelementptr inbounds [15 x i8], ptr %4, i64 0, i64 0
%38 = call i32 @strlen(ptr noundef %37)
%39 = add nsw i32 %38, 1
%40 = sext i32 %39 to i64
store i64 %40, ptr %8, align 8
%41 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%42 = load i32, ptr %41, align 4
%43 = getelementptr inbounds [15 x i8], ptr %4, i64 0, i64 0
%44 = load i64, ptr %8, align 8
%45 = call i64 @write(i32 noundef %42, ptr noundef %43, i64 noundef %44)
%46 = load i64, ptr %8, align 8
%47 = icmp ne i64 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %28
%49 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %1, align 4
br label %60
50: ; preds = %28
%51 = getelementptr inbounds [1 x %struct.pollfd], ptr %7, i64 0, i64 0
%52 = call i32 @ppoll(ptr noundef %51, i32 noundef 1, ptr noundef %5, ptr noundef null)
store i32 %52, ptr %2, align 4
%53 = load i32, ptr %2, align 4
%54 = icmp sle i32 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %50
%56 = call i32 @perror(ptr noundef @.str.4)
store i32 1, ptr %1, align 4
br label %60
57: ; preds = %50
%58 = load i32, ptr %2, align 4
%59 = call i32 @printf(ptr noundef @.str.5, i32 noundef %58)
store i32 0, ptr %1, align 4
br label %60
60: ; preds = %57, %55, %48, %26, %13
%61 = load i32, ptr %1, align 4
ret i32 %61
}
; 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 @pipe(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @ppoll(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i64 @write(i32 noundef, ptr noundef, i64 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/tmpto49eujw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i32 }
%struct.pollfd = type { i32, i32 }
@__const.main.string = private unnamed_addr constant [15 x i8] c"Hello, world!\0A\00", align 1
@__const.main.tv = private unnamed_addr constant %struct.timespec { i32 10, i32 0 }, align 4
@.str = private unnamed_addr constant [21 x i8] c"pipe creation failed\00", align 1
@POLLOUT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"ppoll with POLLOUT failed\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"ppoll(POLLOUT) returned %d file descriptors\0A\00", align 1
@POLLIN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [12 x i8] c"write error\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"ppoll with POLLIN failed\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"ppoll(POLLIN) returned %d file descriptors\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 [2 x i32], align 4
%4 = alloca [15 x i8], align 1
%5 = alloca %struct.timespec, align 4
%6 = alloca [1 x %struct.pollfd], align 4
%7 = alloca [1 x %struct.pollfd], align 4
%8 = alloca i64, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.string, i64 15, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.main.tv, i64 8, i1 false)
%9 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%10 = call i32 @pipe(ptr noundef %9)
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %60
15: ; preds = %0
%16 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%17 = getelementptr inbounds %struct.pollfd, ptr %16, i32 0, i32 0
%18 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%19 = load i32, ptr %18, align 4
store i32 %19, ptr %17, align 4
%20 = getelementptr inbounds %struct.pollfd, ptr %16, i32 0, i32 1
%21 = load i32, ptr @POLLOUT, align 4
store i32 %21, ptr %20, align 4
%22 = getelementptr inbounds [1 x %struct.pollfd], ptr %6, i64 0, i64 0
%23 = call i32 @ppoll(ptr noundef %22, i32 noundef 1, ptr noundef %5, ptr noundef null)
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp sle i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %15
%27 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %60
28: ; preds = %15
%29 = load i32, ptr %2, align 4
%30 = call i32 @printf(ptr noundef @.str.2, i32 noundef %29)
%31 = getelementptr inbounds [1 x %struct.pollfd], ptr %7, i64 0, i64 0
%32 = getelementptr inbounds %struct.pollfd, ptr %31, i32 0, i32 0
%33 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%34 = load i32, ptr %33, align 4
store i32 %34, ptr %32, align 4
%35 = getelementptr inbounds %struct.pollfd, ptr %31, i32 0, i32 1
%36 = load i32, ptr @POLLIN, align 4
store i32 %36, ptr %35, align 4
%37 = getelementptr inbounds [15 x i8], ptr %4, i64 0, i64 0
%38 = call i32 @strlen(ptr noundef %37)
%39 = add nsw i32 %38, 1
%40 = sext i32 %39 to i64
store i64 %40, ptr %8, align 8
%41 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%42 = load i32, ptr %41, align 4
%43 = getelementptr inbounds [15 x i8], ptr %4, i64 0, i64 0
%44 = load i64, ptr %8, align 8
%45 = call i64 @write(i32 noundef %42, ptr noundef %43, i64 noundef %44)
%46 = load i64, ptr %8, align 8
%47 = icmp ne i64 %45, %46
br i1 %47, label %48, label %50
48: ; preds = %28
%49 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %1, align 4
br label %60
50: ; preds = %28
%51 = getelementptr inbounds [1 x %struct.pollfd], ptr %7, i64 0, i64 0
%52 = call i32 @ppoll(ptr noundef %51, i32 noundef 1, ptr noundef %5, ptr noundef null)
store i32 %52, ptr %2, align 4
%53 = load i32, ptr %2, align 4
%54 = icmp sle i32 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %50
%56 = call i32 @perror(ptr noundef @.str.4)
store i32 1, ptr %1, align 4
br label %60
57: ; preds = %50
%58 = load i32, ptr %2, align 4
%59 = call i32 @printf(ptr noundef @.str.5, i32 noundef %58)
store i32 0, ptr %1, align 4
br label %60
60: ; preds = %57, %55, %48, %26, %13
%61 = load i32, ptr %1, align 4
ret i32 %61
}
; 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 @pipe(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @ppoll(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i64 @write(i32 noundef, ptr noundef, i64 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/tmpn7i8dvw5.c'
source_filename = "/tmp/tmpn7i8dvw5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ABMON_9 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @langinfo_abmon_9() #0 {
%1 = load i32, ptr @ABMON_9, align 4
%2 = call ptr @nl_langinfo(i32 noundef %1)
ret ptr %2
}
declare ptr @nl_langinfo(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/tmpn7i8dvw5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ABMON_9 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @langinfo_abmon_9() #0 {
%1 = load i32, ptr @ABMON_9, align 4
%2 = call ptr @nl_langinfo(i32 noundef %1)
ret ptr %2
}
declare ptr @nl_langinfo(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/tmpmmxm4i4n.c'
source_filename = "/tmp/tmpmmxm4i4n.c"
target datalayout = "e-m:e-p270: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/tmpmmxm4i4n.c"
target datalayout = "e-m:e-p270: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/tmpbf67_ogl.c'
source_filename = "/tmp/tmpbf67_ogl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Sortieren von 4 Zahlen\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"======================\0A\00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"Was soll das?!\0ADie Zahlen sind bereits sortiert!\0A\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @printf(ptr noundef @.str.1)
%8 = call i32 (...) @readNumber()
store i32 %8, ptr %2, align 4
%9 = call i32 (...) @readNumber()
store i32 %9, ptr %3, align 4
%10 = call i32 (...) @readNumber()
store i32 %10, ptr %4, align 4
%11 = call i32 (...) @readNumber()
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %25
15: ; preds = %0
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %25
19: ; preds = %15
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = call i32 @printf(ptr noundef @.str.2)
br label %31
25: ; preds = %19, %15, %0
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = call i32 @sortNumbers(i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29)
br label %31
31: ; preds = %25, %23
%32 = load i32, ptr @stdin, align 4
%33 = call i32 @fflush(i32 noundef %32)
%34 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @readNumber(...) #1
declare i32 @sortNumbers(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbf67_ogl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Sortieren von 4 Zahlen\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"======================\0A\00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"Was soll das?!\0ADie Zahlen sind bereits sortiert!\0A\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @printf(ptr noundef @.str.1)
%8 = call i32 (...) @readNumber()
store i32 %8, ptr %2, align 4
%9 = call i32 (...) @readNumber()
store i32 %9, ptr %3, align 4
%10 = call i32 (...) @readNumber()
store i32 %10, ptr %4, align 4
%11 = call i32 (...) @readNumber()
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %25
15: ; preds = %0
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %25
19: ; preds = %15
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = call i32 @printf(ptr noundef @.str.2)
br label %31
25: ; preds = %19, %15, %0
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = call i32 @sortNumbers(i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29)
br label %31
31: ; preds = %25, %23
%32 = load i32, ptr @stdin, align 4
%33 = call i32 @fflush(i32 noundef %32)
%34 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @readNumber(...) #1
declare i32 @sortNumbers(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph4dpuv1j.c'
source_filename = "/tmp/tmph4dpuv1j.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"delete_shm(%d)::shmctl: invalid id: %s\0A\00", align 1
@EINVAL = dso_local global i32 0, align 4
@IPC_RMID = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"delete_shm(%d)::shmctl: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @delete_shm(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 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %16
7: ; preds = %1
%8 = load i32, ptr @stderr, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr @EINVAL, align 4
%11 = sub nsw i32 0, %10
%12 = call ptr @strerror(i32 noundef %11)
%13 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef %9, ptr noundef %12)
%14 = load i32, ptr @EINVAL, align 4
%15 = sub nsw i32 0, %14
store i32 %15, ptr %2, align 4
br label %30
16: ; preds = %1
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr @IPC_RMID, align 4
%19 = call i32 @shmctl(i32 noundef %17, i32 noundef %18, ptr noundef null)
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %28
22: ; preds = %16
%23 = load i32, ptr @stderr, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr @errno, align 4
%26 = call ptr @strerror(i32 noundef %25)
%27 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1, i32 noundef %24, ptr noundef %26)
br label %28
28: ; preds = %22, %16
%29 = load i32, ptr %4, align 4
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %28, %7
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph4dpuv1j.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"delete_shm(%d)::shmctl: invalid id: %s\0A\00", align 1
@EINVAL = dso_local global i32 0, align 4
@IPC_RMID = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"delete_shm(%d)::shmctl: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @delete_shm(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 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %16
7: ; preds = %1
%8 = load i32, ptr @stderr, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr @EINVAL, align 4
%11 = sub nsw i32 0, %10
%12 = call ptr @strerror(i32 noundef %11)
%13 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef %9, ptr noundef %12)
%14 = load i32, ptr @EINVAL, align 4
%15 = sub nsw i32 0, %14
store i32 %15, ptr %2, align 4
br label %30
16: ; preds = %1
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr @IPC_RMID, align 4
%19 = call i32 @shmctl(i32 noundef %17, i32 noundef %18, ptr noundef null)
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %28
22: ; preds = %16
%23 = load i32, ptr @stderr, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr @errno, align 4
%26 = call ptr @strerror(i32 noundef %25)
%27 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1, i32 noundef %24, ptr noundef %26)
br label %28
28: ; preds = %22, %16
%29 = load i32, ptr %4, align 4
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %28, %7
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqky5tlna.c'
source_filename = "/tmp/tmpqky5tlna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"18782.94\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"5.54\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"fjodaooo\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 ptr @exadd(ptr noundef @.str.1, ptr noundef @.str.2)
%3 = call i32 @printf(ptr noundef @.str, ptr noundef %2)
%4 = call ptr @rmchr(ptr noundef @.str.3, i8 noundef signext 111)
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @exadd(ptr noundef, ptr noundef) #1
declare ptr @rmchr(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/tmpqky5tlna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"18782.94\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"5.54\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"fjodaooo\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 ptr @exadd(ptr noundef @.str.1, ptr noundef @.str.2)
%3 = call i32 @printf(ptr noundef @.str, ptr noundef %2)
%4 = call ptr @rmchr(ptr noundef @.str.3, i8 noundef signext 111)
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @exadd(ptr noundef, ptr noundef) #1
declare ptr @rmchr(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/tmplpkeq11a.c'
source_filename = "/tmp/tmplpkeq11a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KXTF9_tap_unmask_all_direction() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @KXTF9_tap_unmask_TFU()
%3 = load i32, ptr %1, align 4
%4 = or i32 %3, %2
store i32 %4, ptr %1, align 4
%5 = call i32 (...) @KXTF9_tap_unmask_TFD()
%6 = load i32, ptr %1, align 4
%7 = or i32 %6, %5
store i32 %7, ptr %1, align 4
%8 = call i32 (...) @KXTF9_tap_unmask_TUP()
%9 = load i32, ptr %1, align 4
%10 = or i32 %9, %8
store i32 %10, ptr %1, align 4
%11 = call i32 (...) @KXTF9_tap_unmask_TDO()
%12 = load i32, ptr %1, align 4
%13 = or i32 %12, %11
store i32 %13, ptr %1, align 4
%14 = call i32 (...) @KXTF9_tap_unmask_TRI()
%15 = load i32, ptr %1, align 4
%16 = or i32 %15, %14
store i32 %16, ptr %1, align 4
%17 = call i32 (...) @KXTF9_tap_unmask_TLE()
%18 = load i32, ptr %1, align 4
%19 = or i32 %18, %17
store i32 %19, ptr %1, align 4
%20 = load i32, ptr %1, align 4
ret i32 %20
}
declare i32 @KXTF9_tap_unmask_TFU(...) #1
declare i32 @KXTF9_tap_unmask_TFD(...) #1
declare i32 @KXTF9_tap_unmask_TUP(...) #1
declare i32 @KXTF9_tap_unmask_TDO(...) #1
declare i32 @KXTF9_tap_unmask_TRI(...) #1
declare i32 @KXTF9_tap_unmask_TLE(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplpkeq11a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KXTF9_tap_unmask_all_direction() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @KXTF9_tap_unmask_TFU()
%3 = load i32, ptr %1, align 4
%4 = or i32 %3, %2
store i32 %4, ptr %1, align 4
%5 = call i32 (...) @KXTF9_tap_unmask_TFD()
%6 = load i32, ptr %1, align 4
%7 = or i32 %6, %5
store i32 %7, ptr %1, align 4
%8 = call i32 (...) @KXTF9_tap_unmask_TUP()
%9 = load i32, ptr %1, align 4
%10 = or i32 %9, %8
store i32 %10, ptr %1, align 4
%11 = call i32 (...) @KXTF9_tap_unmask_TDO()
%12 = load i32, ptr %1, align 4
%13 = or i32 %12, %11
store i32 %13, ptr %1, align 4
%14 = call i32 (...) @KXTF9_tap_unmask_TRI()
%15 = load i32, ptr %1, align 4
%16 = or i32 %15, %14
store i32 %16, ptr %1, align 4
%17 = call i32 (...) @KXTF9_tap_unmask_TLE()
%18 = load i32, ptr %1, align 4
%19 = or i32 %18, %17
store i32 %19, ptr %1, align 4
%20 = load i32, ptr %1, align 4
ret i32 %20
}
declare i32 @KXTF9_tap_unmask_TFU(...) #1
declare i32 @KXTF9_tap_unmask_TFD(...) #1
declare i32 @KXTF9_tap_unmask_TUP(...) #1
declare i32 @KXTF9_tap_unmask_TDO(...) #1
declare i32 @KXTF9_tap_unmask_TRI(...) #1
declare i32 @KXTF9_tap_unmask_TLE(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxsg5q3s8.c'
source_filename = "/tmp/tmpxsg5q3s8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Delay %d milis\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @delay(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @COLOR_PAIR(i32 noundef 3)
%4 = call i32 @attron(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 6, i32 noundef 14, ptr noundef @.str, i32 noundef %5)
%7 = call i32 @COLOR_PAIR(i32 noundef 3)
%8 = call i32 @attroff(i32 noundef %7)
%9 = call i32 (...) @refresh_screen()
%10 = load i32, ptr %2, align 4
%11 = mul nsw i32 %10, 1000
%12 = call i32 @usleep(i32 noundef %11)
%13 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 6, i32 noundef 14, ptr noundef @.str.1)
ret void
}
declare i32 @attron(i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @attroff(i32 noundef) #1
declare i32 @refresh_screen(...) #1
declare i32 @usleep(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/tmpxsg5q3s8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Delay %d milis\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @delay(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @COLOR_PAIR(i32 noundef 3)
%4 = call i32 @attron(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 6, i32 noundef 14, ptr noundef @.str, i32 noundef %5)
%7 = call i32 @COLOR_PAIR(i32 noundef 3)
%8 = call i32 @attroff(i32 noundef %7)
%9 = call i32 (...) @refresh_screen()
%10 = load i32, ptr %2, align 4
%11 = mul nsw i32 %10, 1000
%12 = call i32 @usleep(i32 noundef %11)
%13 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 6, i32 noundef 14, ptr noundef @.str.1)
ret void
}
declare i32 @attron(i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @attroff(i32 noundef) #1
declare i32 @refresh_screen(...) #1
declare i32 @usleep(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/tmphappgns7.c'
source_filename = "/tmp/tmphappgns7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iRobot_Stop() #0 {
%1 = call i32 @SerialWriteChar(i32 noundef 173)
ret void
}
declare i32 @SerialWriteChar(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/tmphappgns7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iRobot_Stop() #0 {
%1 = call i32 @SerialWriteChar(i32 noundef 173)
ret void
}
declare i32 @SerialWriteChar(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/tmp47720amw.c'
source_filename = "/tmp/tmp47720amw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@advnst.g = internal global i64 0, align 8
@advnst.i = internal global i64 0, align 8
@advnst.ib1 = internal global i64 0, align 8
@advnst.ib2 = internal global i64 0, align 8
@advnst.qrgnin = internal global i64 0, align 8
@.str = private unnamed_addr constant [59 x i8] c" ADVNST called before random generator initialized - ABORT\00", align 1
@stderr = dso_local global i32 0, align 4
@Xa1 = external global i64, align 8
@Xa2 = external global i64, align 8
@Xm1 = external global i64, align 8
@Xm2 = external global i64, align 8
@Xcg1 = external global [0 x i64], align 8
@Xcg2 = external global [0 x i64], align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @advnst(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
call void @gsrgs(i64 noundef 0, ptr noundef @advnst.qrgnin)
%3 = load i64, ptr @advnst.qrgnin, align 8
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %1
br label %10
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fputs(ptr noundef @.str, i32 noundef %7)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %5
call void @gscgn(i64 noundef 0, ptr noundef @advnst.g)
%11 = load i64, ptr @Xa1, align 8
store i64 %11, ptr @advnst.ib1, align 8
%12 = load i64, ptr @Xa2, align 8
store i64 %12, ptr @advnst.ib2, align 8
store i64 1, ptr @advnst.i, align 8
br label %13
13: ; preds = %26, %10
%14 = load i64, ptr @advnst.i, align 8
%15 = load i64, ptr %2, align 8
%16 = icmp sle i64 %14, %15
br i1 %16, label %17, label %29
17: ; preds = %13
%18 = load i64, ptr @advnst.ib1, align 8
%19 = load i64, ptr @advnst.ib1, align 8
%20 = load i64, ptr @Xm1, align 8
%21 = call i64 @mltmod(i64 noundef %18, i64 noundef %19, i64 noundef %20)
store i64 %21, ptr @advnst.ib1, align 8
%22 = load i64, ptr @advnst.ib2, align 8
%23 = load i64, ptr @advnst.ib2, align 8
%24 = load i64, ptr @Xm2, align 8
%25 = call i64 @mltmod(i64 noundef %22, i64 noundef %23, i64 noundef %24)
store i64 %25, ptr @advnst.ib2, align 8
br label %26
26: ; preds = %17
%27 = load i64, ptr @advnst.i, align 8
%28 = add nsw i64 %27, 1
store i64 %28, ptr @advnst.i, align 8
br label %13, !llvm.loop !6
29: ; preds = %13
%30 = load i64, ptr @advnst.ib1, align 8
%31 = load i64, ptr @advnst.g, align 8
%32 = getelementptr inbounds i64, ptr @Xcg1, i64 %31
%33 = getelementptr inbounds i64, ptr %32, i64 -1
%34 = load i64, ptr %33, align 8
%35 = load i64, ptr @Xm1, align 8
%36 = call i64 @mltmod(i64 noundef %30, i64 noundef %34, i64 noundef %35)
%37 = load i64, ptr @advnst.ib2, align 8
%38 = load i64, ptr @advnst.g, align 8
%39 = getelementptr inbounds i64, ptr @Xcg2, i64 %38
%40 = getelementptr inbounds i64, ptr %39, i64 -1
%41 = load i64, ptr %40, align 8
%42 = load i64, ptr @Xm2, align 8
%43 = call i64 @mltmod(i64 noundef %37, i64 noundef %41, i64 noundef %42)
%44 = call i32 @setsd(i64 noundef %36, i64 noundef %43)
ret void
}
declare void @gsrgs(i64 noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare void @gscgn(i64 noundef, ptr noundef) #1
declare i64 @mltmod(i64 noundef, i64 noundef, i64 noundef) #1
declare i32 @setsd(i64 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp47720amw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@advnst.g = internal global i64 0, align 8
@advnst.i = internal global i64 0, align 8
@advnst.ib1 = internal global i64 0, align 8
@advnst.ib2 = internal global i64 0, align 8
@advnst.qrgnin = internal global i64 0, align 8
@.str = private unnamed_addr constant [59 x i8] c" ADVNST called before random generator initialized - ABORT\00", align 1
@stderr = dso_local global i32 0, align 4
@Xa1 = external global i64, align 8
@Xa2 = external global i64, align 8
@Xm1 = external global i64, align 8
@Xm2 = external global i64, align 8
@Xcg1 = external global [0 x i64], align 8
@Xcg2 = external global [0 x i64], align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @advnst(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
call void @gsrgs(i64 noundef 0, ptr noundef @advnst.qrgnin)
%3 = load i64, ptr @advnst.qrgnin, align 8
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %1
br label %10
6: ; preds = %1
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fputs(ptr noundef @.str, i32 noundef %7)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %5
call void @gscgn(i64 noundef 0, ptr noundef @advnst.g)
%11 = load i64, ptr @Xa1, align 8
store i64 %11, ptr @advnst.ib1, align 8
%12 = load i64, ptr @Xa2, align 8
store i64 %12, ptr @advnst.ib2, align 8
store i64 1, ptr @advnst.i, align 8
%13 = load i64, ptr @advnst.i, align 8
%14 = load i64, ptr %2, align 8
%15 = icmp sle i64 %13, %14
br i1 %15, label %.lr.ph, label %31
.lr.ph: ; preds = %10
br label %16
16: ; preds = %.lr.ph, %25
%17 = load i64, ptr @advnst.ib1, align 8
%18 = load i64, ptr @advnst.ib1, align 8
%19 = load i64, ptr @Xm1, align 8
%20 = call i64 @mltmod(i64 noundef %17, i64 noundef %18, i64 noundef %19)
store i64 %20, ptr @advnst.ib1, align 8
%21 = load i64, ptr @advnst.ib2, align 8
%22 = load i64, ptr @advnst.ib2, align 8
%23 = load i64, ptr @Xm2, align 8
%24 = call i64 @mltmod(i64 noundef %21, i64 noundef %22, i64 noundef %23)
store i64 %24, ptr @advnst.ib2, align 8
br label %25
25: ; preds = %16
%26 = load i64, ptr @advnst.i, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr @advnst.i, align 8
%28 = load i64, ptr @advnst.i, align 8
%29 = load i64, ptr %2, align 8
%30 = icmp sle i64 %28, %29
br i1 %30, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %10
%32 = load i64, ptr @advnst.ib1, align 8
%33 = load i64, ptr @advnst.g, align 8
%34 = getelementptr inbounds i64, ptr @Xcg1, i64 %33
%35 = getelementptr inbounds i64, ptr %34, i64 -1
%36 = load i64, ptr %35, align 8
%37 = load i64, ptr @Xm1, align 8
%38 = call i64 @mltmod(i64 noundef %32, i64 noundef %36, i64 noundef %37)
%39 = load i64, ptr @advnst.ib2, align 8
%40 = load i64, ptr @advnst.g, align 8
%41 = getelementptr inbounds i64, ptr @Xcg2, i64 %40
%42 = getelementptr inbounds i64, ptr %41, i64 -1
%43 = load i64, ptr %42, align 8
%44 = load i64, ptr @Xm2, align 8
%45 = call i64 @mltmod(i64 noundef %39, i64 noundef %43, i64 noundef %44)
%46 = call i32 @setsd(i64 noundef %38, i64 noundef %45)
ret void
}
declare void @gsrgs(i64 noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare void @gscgn(i64 noundef, ptr noundef) #1
declare i64 @mltmod(i64 noundef, i64 noundef, i64 noundef) #1
declare i32 @setsd(i64 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc29_ktna.c'
source_filename = "/tmp/tmpc29_ktna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello world\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @strcpy(ptr noundef %3, ptr noundef @.str)
%5 = load ptr, ptr %2, align 8
ret ptr %5
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc29_ktna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello world\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @strcpy(ptr noundef %3, ptr noundef @.str)
%5 = load ptr, ptr %2, align 8
ret ptr %5
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1v0l64fq.c'
source_filename = "/tmp/tmp1v0l64fq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M150_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M150_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1v0l64fq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M150_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M150_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnp82ckav.c'
source_filename = "/tmp/tmpnp82ckav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Tween_ExponentialInEasing(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fcmp oeq double %3, 0.000000e+00
br i1 %4, label %5, label %6
5: ; preds = %1
br label %10
6: ; preds = %1
%7 = load double, ptr %2, align 8
%8 = fsub double %7, 1.000000e+00
%9 = call double @pow(i32 noundef 1024, double noundef %8)
br label %10
10: ; preds = %6, %5
%11 = phi double [ 0.000000e+00, %5 ], [ %9, %6 ]
ret double %11
}
declare double @pow(i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnp82ckav.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Tween_ExponentialInEasing(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fcmp oeq double %3, 0.000000e+00
br i1 %4, label %5, label %6
5: ; preds = %1
br label %10
6: ; preds = %1
%7 = load double, ptr %2, align 8
%8 = fsub double %7, 1.000000e+00
%9 = call double @pow(i32 noundef 1024, double noundef %8)
br label %10
10: ; preds = %6, %5
%11 = phi double [ 0.000000e+00, %5 ], [ %9, %6 ]
ret double %11
}
declare double @pow(i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_an8qtoy.c'
source_filename = "/tmp/tmp_an8qtoy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_max_int32_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %15
15: ; preds = %58, %6
%16 = load i32, ptr %13, align 4
%17 = load i32, ptr %12, align 4
%18 = icmp ult i32 %16, %17
br i1 %18, label %19, label %61
19: ; preds = %15
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %13, align 4
%22 = zext i32 %21 to i64
%23 = getelementptr inbounds i64, ptr %20, i64 %22
%24 = load i64, ptr %23, align 8
%25 = load i64, ptr %11, align 8
%26 = icmp sgt i64 %24, %25
br i1 %26, label %27, label %33
27: ; preds = %19
%28 = load ptr, ptr %10, align 8
%29 = load i32, ptr %13, align 4
%30 = zext i32 %29 to i64
%31 = getelementptr inbounds i64, ptr %28, i64 %30
%32 = load i64, ptr %31, align 8
br label %35
33: ; preds = %19
%34 = load i64, ptr %11, align 8
br label %35
35: ; preds = %33, %27
%36 = phi i64 [ %32, %27 ], [ %34, %33 ]
store i64 %36, ptr %14, align 8
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %13, align 4
%39 = zext i32 %38 to i64
%40 = getelementptr inbounds i64, ptr %37, i64 %39
%41 = load i64, ptr %40, align 8
%42 = load i64, ptr %9, align 8
%43 = icmp slt i64 %41, %42
br i1 %43, label %44, label %46
44: ; preds = %35
%45 = load i64, ptr %14, align 8
br label %52
46: ; preds = %35
%47 = load ptr, ptr %10, align 8
%48 = load i32, ptr %13, align 4
%49 = zext i32 %48 to i64
%50 = getelementptr inbounds i64, ptr %47, i64 %49
%51 = load i64, ptr %50, align 8
br label %52
52: ; preds = %46, %44
%53 = phi i64 [ %45, %44 ], [ %51, %46 ]
%54 = load ptr, ptr %7, align 8
%55 = load i32, ptr %13, align 4
%56 = zext i32 %55 to i64
%57 = getelementptr inbounds i64, ptr %54, i64 %56
store i64 %53, ptr %57, align 8
br label %58
58: ; preds = %52
%59 = load i32, ptr %13, align 4
%60 = add i32 %59, 1
store i32 %60, ptr %13, align 4
br label %15, !llvm.loop !6
61: ; preds = %15
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_an8qtoy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_max_int32_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
%15 = load i32, ptr %13, align 4
%16 = load i32, ptr %12, align 4
%17 = icmp ult i32 %15, %16
br i1 %17, label %.lr.ph, label %63
.lr.ph: ; preds = %6
br label %18
18: ; preds = %.lr.ph, %57
%19 = load ptr, ptr %10, align 8
%20 = load i32, ptr %13, align 4
%21 = zext i32 %20 to i64
%22 = getelementptr inbounds i64, ptr %19, i64 %21
%23 = load i64, ptr %22, align 8
%24 = load i64, ptr %11, align 8
%25 = icmp sgt i64 %23, %24
br i1 %25, label %26, label %32
26: ; preds = %18
%27 = load ptr, ptr %10, align 8
%28 = load i32, ptr %13, align 4
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds i64, ptr %27, i64 %29
%31 = load i64, ptr %30, align 8
br label %34
32: ; preds = %18
%33 = load i64, ptr %11, align 8
br label %34
34: ; preds = %32, %26
%35 = phi i64 [ %31, %26 ], [ %33, %32 ]
store i64 %35, ptr %14, align 8
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %13, align 4
%38 = zext i32 %37 to i64
%39 = getelementptr inbounds i64, ptr %36, i64 %38
%40 = load i64, ptr %39, align 8
%41 = load i64, ptr %9, align 8
%42 = icmp slt i64 %40, %41
br i1 %42, label %43, label %45
43: ; preds = %34
%44 = load i64, ptr %14, align 8
br label %51
45: ; preds = %34
%46 = load ptr, ptr %10, align 8
%47 = load i32, ptr %13, align 4
%48 = zext i32 %47 to i64
%49 = getelementptr inbounds i64, ptr %46, i64 %48
%50 = load i64, ptr %49, align 8
br label %51
51: ; preds = %45, %43
%52 = phi i64 [ %44, %43 ], [ %50, %45 ]
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %13, align 4
%55 = zext i32 %54 to i64
%56 = getelementptr inbounds i64, ptr %53, i64 %55
store i64 %52, ptr %56, align 8
br label %57
57: ; preds = %51
%58 = load i32, ptr %13, align 4
%59 = add i32 %58, 1
store i32 %59, ptr %13, align 4
%60 = load i32, ptr %13, align 4
%61 = load i32, ptr %12, align 4
%62 = icmp ult i32 %60, %61
br i1 %62, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %57
br label %63
63: ; preds = %._crit_edge, %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdiq_hfju.c'
source_filename = "/tmp/tmpdiq_hfju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @streq_nocase(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %13, %2
store i32 0, ptr %3, align 4
br label %85
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %5, align 8
%20 = icmp eq ptr %18, %19
br i1 %20, label %21, label %22
21: ; preds = %17
store i32 1, ptr %3, align 4
br label %85
22: ; preds = %17
%23 = load ptr, ptr %4, align 8
%24 = call i64 @strlen(ptr noundef %23)
store i64 %24, ptr %6, align 8
%25 = load ptr, ptr %5, align 8
%26 = call i64 @strlen(ptr noundef %25)
store i64 %26, ptr %7, align 8
%27 = load i64, ptr %6, align 8
%28 = load i64, ptr %7, align 8
%29 = icmp ne i64 %27, %28
br i1 %29, label %30, label %31
30: ; preds = %22
store i32 0, ptr %3, align 4
br label %85
31: ; preds = %22
store i32 0, ptr %8, align 4
br label %32
32: ; preds = %81, %31
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = load i64, ptr %6, align 8
%36 = icmp ult i64 %34, %35
br i1 %36, label %37, label %84
37: ; preds = %32
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %8, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
store i8 %42, ptr %9, align 1
%43 = load i8, ptr %9, align 1
%44 = sext i8 %43 to i32
%45 = icmp sge i32 %44, 65
br i1 %45, label %46, label %55
46: ; preds = %37
%47 = load i8, ptr %9, align 1
%48 = sext i8 %47 to i32
%49 = icmp sle i32 %48, 90
br i1 %49, label %50, label %55
50: ; preds = %46
%51 = load i8, ptr %9, align 1
%52 = sext i8 %51 to i32
%53 = add nsw i32 %52, 32
%54 = trunc i32 %53 to i8
store i8 %54, ptr %9, align 1
br label %55
55: ; preds = %50, %46, %37
%56 = load ptr, ptr %5, 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
store i8 %60, ptr %10, align 1
%61 = load i8, ptr %10, align 1
%62 = sext i8 %61 to i32
%63 = icmp sge i32 %62, 65
br i1 %63, label %64, label %73
64: ; preds = %55
%65 = load i8, ptr %10, align 1
%66 = sext i8 %65 to i32
%67 = icmp sle i32 %66, 90
br i1 %67, label %68, label %73
68: ; preds = %64
%69 = load i8, ptr %10, align 1
%70 = sext i8 %69 to i32
%71 = add nsw i32 %70, 32
%72 = trunc i32 %71 to i8
store i8 %72, ptr %10, align 1
br label %73
73: ; preds = %68, %64, %55
%74 = load i8, ptr %9, align 1
%75 = sext i8 %74 to i32
%76 = load i8, ptr %10, align 1
%77 = sext i8 %76 to i32
%78 = icmp ne i32 %75, %77
br i1 %78, label %79, label %80
79: ; preds = %73
store i32 0, ptr %3, align 4
br label %85
80: ; preds = %73
br label %81
81: ; preds = %80
%82 = load i32, ptr %8, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %8, align 4
br label %32, !llvm.loop !6
84: ; preds = %32
store i32 1, ptr %3, align 4
br label %85
85: ; preds = %84, %79, %30, %21, %16
%86 = load i32, ptr %3, align 4
ret i32 %86
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdiq_hfju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @streq_nocase(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %13, %2
store i32 0, ptr %3, align 4
br label %88
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %5, align 8
%20 = icmp eq ptr %18, %19
br i1 %20, label %21, label %22
21: ; preds = %17
store i32 1, ptr %3, align 4
br label %88
22: ; preds = %17
%23 = load ptr, ptr %4, align 8
%24 = call i64 @strlen(ptr noundef %23)
store i64 %24, ptr %6, align 8
%25 = load ptr, ptr %5, align 8
%26 = call i64 @strlen(ptr noundef %25)
store i64 %26, ptr %7, align 8
%27 = load i64, ptr %6, align 8
%28 = load i64, ptr %7, align 8
%29 = icmp ne i64 %27, %28
br i1 %29, label %30, label %31
30: ; preds = %22
store i32 0, ptr %3, align 4
br label %88
31: ; preds = %22
store i32 0, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = load i64, ptr %6, align 8
%35 = icmp ult i64 %33, %34
br i1 %35, label %.lr.ph, label %87
.lr.ph: ; preds = %31
br label %36
36: ; preds = %.lr.ph, %80
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
store i8 %41, ptr %9, align 1
%42 = load i8, ptr %9, align 1
%43 = sext i8 %42 to i32
%44 = icmp sge i32 %43, 65
br i1 %44, label %45, label %54
45: ; preds = %36
%46 = load i8, ptr %9, align 1
%47 = sext i8 %46 to i32
%48 = icmp sle i32 %47, 90
br i1 %48, label %49, label %54
49: ; preds = %45
%50 = load i8, ptr %9, align 1
%51 = sext i8 %50 to i32
%52 = add nsw i32 %51, 32
%53 = trunc i32 %52 to i8
store i8 %53, ptr %9, align 1
br label %54
54: ; preds = %49, %45, %36
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %8, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
store i8 %59, ptr %10, align 1
%60 = load i8, ptr %10, align 1
%61 = sext i8 %60 to i32
%62 = icmp sge i32 %61, 65
br i1 %62, label %63, label %72
63: ; preds = %54
%64 = load i8, ptr %10, align 1
%65 = sext i8 %64 to i32
%66 = icmp sle i32 %65, 90
br i1 %66, label %67, label %72
67: ; preds = %63
%68 = load i8, ptr %10, align 1
%69 = sext i8 %68 to i32
%70 = add nsw i32 %69, 32
%71 = trunc i32 %70 to i8
store i8 %71, ptr %10, align 1
br label %72
72: ; preds = %67, %63, %54
%73 = load i8, ptr %9, align 1
%74 = sext i8 %73 to i32
%75 = load i8, ptr %10, align 1
%76 = sext i8 %75 to i32
%77 = icmp ne i32 %74, %76
br i1 %77, label %78, label %79
78: ; preds = %72
store i32 0, ptr %3, align 4
br label %88
79: ; preds = %72
br label %80
80: ; preds = %79
%81 = load i32, ptr %8, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %8, align 4
%83 = load i32, ptr %8, align 4
%84 = sext i32 %83 to i64
%85 = load i64, ptr %6, align 8
%86 = icmp ult i64 %84, %85
br i1 %86, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %80
br label %87
87: ; preds = %._crit_edge, %31
store i32 1, ptr %3, align 4
br label %88
88: ; preds = %87, %78, %30, %21, %16
%89 = load i32, ptr %3, align 4
ret i32 %89
}
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"}
|
; ModuleID = '/tmp/tmpw85dmdin.c'
source_filename = "/tmp/tmpw85dmdin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @polarView(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = sub nsw i32 0, %9
%11 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, i32 noundef %10)
%12 = load i32, ptr %6, align 4
%13 = sub nsw i32 0, %12
%14 = call i32 @glRotated(i32 noundef %13, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%15 = load i32, ptr %7, align 4
%16 = sub nsw i32 0, %15
%17 = call i32 @glRotated(i32 noundef %16, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%18 = load i32, ptr %8, align 4
%19 = call i32 @glRotated(i32 noundef %18, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
ret void
}
declare i32 @glTranslated(double noundef, double noundef, i32 noundef) #1
declare i32 @glRotated(i32 noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw85dmdin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @polarView(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = sub nsw i32 0, %9
%11 = call i32 @glTranslated(double noundef 0.000000e+00, double noundef 0.000000e+00, i32 noundef %10)
%12 = load i32, ptr %6, align 4
%13 = sub nsw i32 0, %12
%14 = call i32 @glRotated(i32 noundef %13, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
%15 = load i32, ptr %7, align 4
%16 = sub nsw i32 0, %15
%17 = call i32 @glRotated(i32 noundef %16, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
%18 = load i32, ptr %8, align 4
%19 = call i32 @glRotated(i32 noundef %18, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
ret void
}
declare i32 @glTranslated(double noundef, double noundef, i32 noundef) #1
declare i32 @glRotated(i32 noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb_2b6okz.c'
source_filename = "/tmp/tmpb_2b6okz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\B7\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 n: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [85 x i8] c"\D0\97\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 n \D0\B4\D0\BE\D0\BB\D0\B6\D0\BD\D0\BE \D0\B1\D1\8B\D1\82\D1\8C \D0\BE\D1\82 1 \D0\B4\D0\BE 1000 \D0\B2\D0\BA\D0\BB\D1\8E\D1\87\D0\B8\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D0\BE.\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 %d \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B0 X: \00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 %d \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B0 Y: \00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"\0A\D0\A0\D0\B5\D0\B7\D1\83\D0\BB\D1\8C\D1\82\D0\B0\D1\82:\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c", \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 1000, %15
br i1 %16, label %20, label %17
17: ; preds = %2
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 1
br i1 %19, label %20, label %22
20: ; preds = %17, %2
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %115
22: ; preds = %17
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = mul i64 %24, 4
%26 = trunc i64 %25 to i32
%27 = call ptr @malloc(i32 noundef %26)
store ptr %27, ptr %7, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = mul i64 %29, 4
%31 = trunc i64 %30 to i32
%32 = call ptr @malloc(i32 noundef %31)
store ptr %32, ptr %8, align 8
%33 = load i32, ptr %6, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %33)
store i32 0, ptr %9, align 4
br label %35
35: ; preds = %45, %22
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %48
39: ; preds = %35
%40 = load ptr, ptr %7, align 8
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %43)
br label %45
45: ; preds = %39
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %9, align 4
br label %35, !llvm.loop !6
48: ; preds = %35
%49 = load i32, ptr %6, align 4
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %49)
store i32 0, ptr %10, align 4
br label %51
51: ; preds = %61, %48
%52 = load i32, ptr %10, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %64
55: ; preds = %51
%56 = load ptr, ptr %8, align 8
%57 = load i32, ptr %10, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %59)
br label %61
61: ; preds = %55
%62 = load i32, ptr %10, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %10, align 4
br label %51, !llvm.loop !8
64: ; preds = %51
store i32 0, ptr %11, align 4
br label %65
65: ; preds = %88, %64
%66 = load i32, ptr %11, align 4
%67 = load i32, ptr %6, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %91
69: ; preds = %65
%70 = load ptr, ptr %7, align 8
%71 = load i32, ptr %11, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
%75 = icmp sle i32 %74, 0
br i1 %75, label %76, label %87
76: ; preds = %69
%77 = load ptr, ptr %8, align 8
%78 = load i32, ptr %11, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
%81 = load i32, ptr %80, align 4
%82 = call i32 @abs(i32 noundef %81) #3
%83 = load ptr, ptr %7, align 8
%84 = load i32, ptr %11, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
store i32 %82, ptr %86, align 4
br label %87
87: ; preds = %76, %69
br label %88
88: ; preds = %87
%89 = load i32, ptr %11, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %11, align 4
br label %65, !llvm.loop !9
91: ; preds = %65
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %12, align 4
br label %93
93: ; preds = %111, %91
%94 = load i32, ptr %12, align 4
%95 = load i32, ptr %6, align 4
%96 = icmp slt i32 %94, %95
br i1 %96, label %97, label %114
97: ; preds = %93
%98 = load ptr, ptr %7, align 8
%99 = load i32, ptr %12, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %98, i64 %100
%102 = load i32, ptr %101, align 4
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %102)
%104 = load i32, ptr %12, align 4
%105 = load i32, ptr %6, align 4
%106 = sub nsw i32 %105, 1
%107 = icmp ne i32 %104, %106
br i1 %107, label %108, label %110
108: ; preds = %97
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %110
110: ; preds = %108, %97
br label %111
111: ; preds = %110
%112 = load i32, ptr %12, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %12, align 4
br label %93, !llvm.loop !10
114: ; preds = %93
store i32 0, ptr %3, align 4
br label %115
115: ; preds = %114, %20
%116 = load i32, ptr %3, align 4
ret i32 %116
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb_2b6okz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\B7\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 n: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [85 x i8] c"\D0\97\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 n \D0\B4\D0\BE\D0\BB\D0\B6\D0\BD\D0\BE \D0\B1\D1\8B\D1\82\D1\8C \D0\BE\D1\82 1 \D0\B4\D0\BE 1000 \D0\B2\D0\BA\D0\BB\D1\8E\D1\87\D0\B8\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D0\BE.\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 %d \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B0 X: \00", align 1
@.str.4 = private unnamed_addr constant [56 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 %d \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B0 Y: \00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"\0A\D0\A0\D0\B5\D0\B7\D1\83\D0\BB\D1\8C\D1\82\D0\B0\D1\82:\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c", \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 1000, %15
br i1 %16, label %20, label %17
17: ; preds = %2
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 1
br i1 %19, label %20, label %22
20: ; preds = %17, %2
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %123
22: ; preds = %17
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = mul i64 %24, 4
%26 = trunc i64 %25 to i32
%27 = call ptr @malloc(i32 noundef %26)
store ptr %27, ptr %7, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = mul i64 %29, 4
%31 = trunc i64 %30 to i32
%32 = call ptr @malloc(i32 noundef %31)
store ptr %32, ptr %8, align 8
%33 = load i32, ptr %6, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %33)
store i32 0, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %.lr.ph, label %50
.lr.ph: ; preds = %22
br label %38
38: ; preds = %.lr.ph, %44
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %42)
br label %44
44: ; preds = %38
%45 = load i32, ptr %9, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %9, align 4
%47 = load i32, ptr %9, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %22
%51 = load i32, ptr %6, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %51)
store i32 0, ptr %10, align 4
%53 = load i32, ptr %10, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %.lr.ph2, label %68
.lr.ph2: ; preds = %50
br label %56
56: ; preds = %.lr.ph2, %62
%57 = load ptr, ptr %8, align 8
%58 = load i32, ptr %10, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %60)
br label %62
62: ; preds = %56
%63 = load i32, ptr %10, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %10, align 4
%65 = load i32, ptr %10, align 4
%66 = load i32, ptr %6, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %56, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %68
68: ; preds = %._crit_edge3, %50
store i32 0, ptr %11, align 4
%69 = load i32, ptr %11, align 4
%70 = load i32, ptr %6, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %.lr.ph5, label %97
.lr.ph5: ; preds = %68
br label %72
72: ; preds = %.lr.ph5, %91
%73 = load ptr, ptr %7, align 8
%74 = load i32, ptr %11, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
%78 = icmp sle i32 %77, 0
br i1 %78, label %79, label %90
79: ; preds = %72
%80 = load ptr, ptr %8, align 8
%81 = load i32, ptr %11, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
%84 = load i32, ptr %83, align 4
%85 = call i32 @abs(i32 noundef %84) #3
%86 = load ptr, ptr %7, align 8
%87 = load i32, ptr %11, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
store i32 %85, ptr %89, align 4
br label %90
90: ; preds = %79, %72
br label %91
91: ; preds = %90
%92 = load i32, ptr %11, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %11, align 4
%94 = load i32, ptr %11, align 4
%95 = load i32, ptr %6, align 4
%96 = icmp slt i32 %94, %95
br i1 %96, label %72, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %91
br label %97
97: ; preds = %._crit_edge6, %68
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %12, align 4
%99 = load i32, ptr %12, align 4
%100 = load i32, ptr %6, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %.lr.ph8, label %122
.lr.ph8: ; preds = %97
br label %102
102: ; preds = %.lr.ph8, %116
%103 = load ptr, ptr %7, align 8
%104 = load i32, ptr %12, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %103, i64 %105
%107 = load i32, ptr %106, align 4
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %107)
%109 = load i32, ptr %12, align 4
%110 = load i32, ptr %6, align 4
%111 = sub nsw i32 %110, 1
%112 = icmp ne i32 %109, %111
br i1 %112, label %113, label %115
113: ; preds = %102
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %115
115: ; preds = %113, %102
br label %116
116: ; preds = %115
%117 = load i32, ptr %12, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %12, align 4
%119 = load i32, ptr %12, align 4
%120 = load i32, ptr %6, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %102, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %116
br label %122
122: ; preds = %._crit_edge9, %97
store i32 0, ptr %3, align 4
br label %123
123: ; preds = %122, %20
%124 = load i32, ptr %3, align 4
ret i32 %124
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp0uprhnpe.c'
source_filename = "/tmp/tmp0uprhnpe.c"
target datalayout = "e-m:e-p270: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/tmp0uprhnpe.c"
target datalayout = "e-m:e-p270: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/tmphrjhk1tl.c'
source_filename = "/tmp/tmphrjhk1tl.c"
target datalayout = "e-m:e-p270: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.finestruct_cooling_CP.weights = private unnamed_addr constant [3 x double] [double 0.000000e+00, double 2.000000e+00, double 4.000000e+00], align 16
@__const.finestruct_cooling_CP.lower = private unnamed_addr constant [2 x i32] [i32 0, i32 1], align 4
@__const.finestruct_cooling_CP.upper = private unnamed_addr constant [2 x i32] [i32 0, i32 2], align 4
@__const.finestruct_cooling_CP.energy = private unnamed_addr constant [3 x double] [double 0.000000e+00, double 0.000000e+00, double 9.200000e+01], align 16
@__const.finestruct_cooling_CP.EinsA = private unnamed_addr constant [2 x double] [double 0.000000e+00, double 2.400000e-06], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @finestruct_cooling_CP(double noundef %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca [3 x double], align 16
%20 = alloca [2 x i32], align 4
%21 = alloca [2 x i32], align 4
%22 = alloca [3 x double], align 16
%23 = alloca [2 x double], align 16
%24 = alloca [2 x double], align 16
%25 = alloca [2 x double], align 16
%26 = alloca [2 x double], align 16
%27 = alloca i32, align 4
%28 = alloca [2 x double], align 16
%29 = alloca double, align 8
store double %0, ptr %10, align 8
store i32 %1, ptr %11, align 4
store double %2, ptr %12, align 8
store double %3, ptr %13, align 8
store double %4, ptr %14, align 8
store double %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 @__const.finestruct_cooling_CP.weights, i64 24, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 @__const.finestruct_cooling_CP.lower, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 @__const.finestruct_cooling_CP.upper, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %22, ptr align 16 @__const.finestruct_cooling_CP.energy, i64 24, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 16 @__const.finestruct_cooling_CP.EinsA, i64 16, i1 false)
%30 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 0
store double 0.000000e+00, ptr %30, align 8
%31 = getelementptr inbounds double, ptr %30, i64 1
%32 = load double, ptr %10, align 8
%33 = call double @pow(double noundef %32, double noundef -3.700000e-01) #5
%34 = fmul double 1.400000e-06, %33
store double %34, ptr %31, align 8
%35 = getelementptr inbounds [2 x double], ptr %25, i64 0, i64 0
store double 0.000000e+00, ptr %35, align 8
%36 = getelementptr inbounds double, ptr %35, i64 1
%37 = load double, ptr %10, align 8
%38 = call double @pow(double noundef %37, double noundef 2.000000e-02) #5
%39 = fmul double 0x3E03EDBBE4560327, %38
store double %39, ptr %36, align 8
%40 = getelementptr inbounds [2 x double], ptr %26, i64 0, i64 0
store double 0.000000e+00, ptr %40, align 8
%41 = getelementptr inbounds double, ptr %40, i64 1
%42 = load double, ptr %10, align 8
%43 = call double @pow(double noundef %42, double noundef 1.000000e-01) #5
%44 = fmul double 3.100000e-10, %43
store double %44, ptr %41, align 8
store i32 1, ptr %27, align 4
br label %45
45: ; preds = %70, %9
%46 = load i32, ptr %27, align 4
%47 = icmp sle i32 %46, 1
br i1 %47, label %48, label %73
48: ; preds = %45
%49 = load double, ptr %13, align 8
%50 = load i32, ptr %27, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 %51
%53 = load double, ptr %52, align 8
%54 = load double, ptr %14, align 8
%55 = load i32, ptr %27, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [2 x double], ptr %25, i64 0, i64 %56
%58 = load double, ptr %57, align 8
%59 = fmul double %54, %58
%60 = call double @llvm.fmuladd.f64(double %49, double %53, double %59)
%61 = load double, ptr %15, align 8
%62 = load i32, ptr %27, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [2 x double], ptr %26, i64 0, i64 %63
%65 = load double, ptr %64, align 8
%66 = call double @llvm.fmuladd.f64(double %61, double %65, double %60)
%67 = load i32, ptr %27, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 %68
store double %66, ptr %69, align 8
br label %70
70: ; preds = %48
%71 = load i32, ptr %27, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %27, align 4
br label %45, !llvm.loop !6
73: ; preds = %45
%74 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%75 = getelementptr inbounds [2 x i32], ptr %20, i64 0, i64 0
%76 = getelementptr inbounds [2 x i32], ptr %21, i64 0, i64 0
%77 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%78 = load double, ptr %10, align 8
%79 = getelementptr inbounds [2 x double], ptr %23, i64 0, i64 0
%80 = load i32, ptr %11, align 4
%81 = load double, ptr %12, align 8
%82 = load ptr, ptr %17, align 8
%83 = load ptr, ptr %18, align 8
%84 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
%85 = load ptr, ptr %16, align 8
%86 = call double @getCoolingRate(i32 noundef 2, i32 noundef 1, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, double noundef %78, ptr noundef %79, i32 noundef %80, double noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85)
store double %86, ptr %29, align 8
%87 = load double, ptr %29, align 8
ret double %87
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare double @getCoolingRate(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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/tmphrjhk1tl.c"
target datalayout = "e-m:e-p270: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.finestruct_cooling_CP.weights = private unnamed_addr constant [3 x double] [double 0.000000e+00, double 2.000000e+00, double 4.000000e+00], align 16
@__const.finestruct_cooling_CP.lower = private unnamed_addr constant [2 x i32] [i32 0, i32 1], align 4
@__const.finestruct_cooling_CP.upper = private unnamed_addr constant [2 x i32] [i32 0, i32 2], align 4
@__const.finestruct_cooling_CP.energy = private unnamed_addr constant [3 x double] [double 0.000000e+00, double 0.000000e+00, double 9.200000e+01], align 16
@__const.finestruct_cooling_CP.EinsA = private unnamed_addr constant [2 x double] [double 0.000000e+00, double 2.400000e-06], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @finestruct_cooling_CP(double noundef %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca [3 x double], align 16
%20 = alloca [2 x i32], align 4
%21 = alloca [2 x i32], align 4
%22 = alloca [3 x double], align 16
%23 = alloca [2 x double], align 16
%24 = alloca [2 x double], align 16
%25 = alloca [2 x double], align 16
%26 = alloca [2 x double], align 16
%27 = alloca i32, align 4
%28 = alloca [2 x double], align 16
%29 = alloca double, align 8
store double %0, ptr %10, align 8
store i32 %1, ptr %11, align 4
store double %2, ptr %12, align 8
store double %3, ptr %13, align 8
store double %4, ptr %14, align 8
store double %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 @__const.finestruct_cooling_CP.weights, i64 24, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 @__const.finestruct_cooling_CP.lower, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 @__const.finestruct_cooling_CP.upper, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %22, ptr align 16 @__const.finestruct_cooling_CP.energy, i64 24, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 16 @__const.finestruct_cooling_CP.EinsA, i64 16, i1 false)
%30 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 0
store double 0.000000e+00, ptr %30, align 8
%31 = getelementptr inbounds double, ptr %30, i64 1
%32 = load double, ptr %10, align 8
%33 = call double @pow(double noundef %32, double noundef -3.700000e-01) #5
%34 = fmul double 1.400000e-06, %33
store double %34, ptr %31, align 8
%35 = getelementptr inbounds [2 x double], ptr %25, i64 0, i64 0
store double 0.000000e+00, ptr %35, align 8
%36 = getelementptr inbounds double, ptr %35, i64 1
%37 = load double, ptr %10, align 8
%38 = call double @pow(double noundef %37, double noundef 2.000000e-02) #5
%39 = fmul double 0x3E03EDBBE4560327, %38
store double %39, ptr %36, align 8
%40 = getelementptr inbounds [2 x double], ptr %26, i64 0, i64 0
store double 0.000000e+00, ptr %40, align 8
%41 = getelementptr inbounds double, ptr %40, i64 1
%42 = load double, ptr %10, align 8
%43 = call double @pow(double noundef %42, double noundef 1.000000e-01) #5
%44 = fmul double 3.100000e-10, %43
store double %44, ptr %41, align 8
store i32 1, ptr %27, align 4
%45 = load i32, ptr %27, align 4
%46 = icmp sle i32 %45, 1
br i1 %46, label %.lr.ph, label %74
.lr.ph: ; preds = %9
br label %47
47: ; preds = %.lr.ph, %69
%48 = load double, ptr %13, align 8
%49 = load i32, ptr %27, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 %50
%52 = load double, ptr %51, align 8
%53 = load double, ptr %14, align 8
%54 = load i32, ptr %27, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [2 x double], ptr %25, i64 0, i64 %55
%57 = load double, ptr %56, align 8
%58 = fmul double %53, %57
%59 = call double @llvm.fmuladd.f64(double %48, double %52, double %58)
%60 = load double, ptr %15, align 8
%61 = load i32, ptr %27, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [2 x double], ptr %26, i64 0, i64 %62
%64 = load double, ptr %63, align 8
%65 = call double @llvm.fmuladd.f64(double %60, double %64, double %59)
%66 = load i32, ptr %27, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 %67
store double %65, ptr %68, align 8
br label %69
69: ; preds = %47
%70 = load i32, ptr %27, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %27, align 4
%72 = load i32, ptr %27, align 4
%73 = icmp sle i32 %72, 1
br i1 %73, label %47, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %69
br label %74
74: ; preds = %._crit_edge, %9
%75 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
%76 = getelementptr inbounds [2 x i32], ptr %20, i64 0, i64 0
%77 = getelementptr inbounds [2 x i32], ptr %21, i64 0, i64 0
%78 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
%79 = load double, ptr %10, align 8
%80 = getelementptr inbounds [2 x double], ptr %23, i64 0, i64 0
%81 = load i32, ptr %11, align 4
%82 = load double, ptr %12, align 8
%83 = load ptr, ptr %17, align 8
%84 = load ptr, ptr %18, align 8
%85 = getelementptr inbounds [2 x double], ptr %28, i64 0, i64 0
%86 = load ptr, ptr %16, align 8
%87 = call double @getCoolingRate(i32 noundef 2, i32 noundef 1, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, double noundef %79, ptr noundef %80, i32 noundef %81, double noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86)
store double %87, ptr %29, align 8
%88 = load double, ptr %29, align 8
ret double %88
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare double @getCoolingRate(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, ptr noundef, i32 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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/tmpwfmitgsk.c'
source_filename = "/tmp/tmpwfmitgsk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoul(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp sgt i32 %11, 35
br i1 %12, label %19, label %13
13: ; preds = %3
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = load i32, ptr %7, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16, %13, %3
store i64 0, ptr %4, align 8
br label %134
20: ; preds = %16
br label %21
21: ; preds = %26, %20
%22 = load ptr, ptr %5, align 8
%23 = load i8, ptr %22, align 1
%24 = call i64 @isspace(i8 noundef signext %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %21
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %5, align 8
br label %21, !llvm.loop !6
29: ; preds = %21
store i32 43, ptr %10, align 4
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 45
br i1 %33, label %39, label %34
34: ; preds = %29
%35 = load ptr, ptr %5, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 43
br i1 %38, label %39, label %44
39: ; preds = %34, %29
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %5, align 8
%42 = load i8, ptr %40, align 1
%43 = sext i8 %42 to i32
store i32 %43, ptr %10, align 4
br label %44
44: ; preds = %39, %34
%45 = load i32, ptr %7, align 4
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %69
47: ; preds = %44
store i32 10, ptr %7, align 4
%48 = load ptr, ptr %5, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 48
br i1 %51, label %52, label %68
52: ; preds = %47
store i32 8, ptr %7, align 4
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %5, align 8
%55 = load ptr, ptr %5, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 120
br i1 %58, label %64, label %59
59: ; preds = %52
%60 = load ptr, ptr %5, align 8
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 88
br i1 %63, label %64, label %67
64: ; preds = %59, %52
store i32 16, ptr %7, align 4
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds i8, ptr %65, i32 1
store ptr %66, ptr %5, align 8
br label %67
67: ; preds = %64, %59
br label %68
68: ; preds = %67, %47
br label %69
69: ; preds = %68, %44
store i64 0, ptr %8, align 8
br label %70
70: ; preds = %69, %110
%71 = load ptr, ptr %5, align 8
%72 = load i8, ptr %71, align 1
%73 = call i64 @isdigit(i8 noundef signext %72)
%74 = icmp ne i64 %73, 0
br i1 %74, label %75, label %80
75: ; preds = %70
%76 = load ptr, ptr %5, align 8
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = sub nsw i32 %78, 48
store i32 %79, ptr %9, align 4
br label %105
80: ; preds = %70
%81 = load ptr, ptr %5, align 8
%82 = load i8, ptr %81, align 1
%83 = call i64 @isupper(i8 noundef signext %82)
%84 = icmp ne i64 %83, 0
br i1 %84, label %85, label %91
85: ; preds = %80
%86 = load ptr, ptr %5, align 8
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = sub nsw i32 %88, 65
%90 = add nsw i32 %89, 10
store i32 %90, ptr %9, align 4
br label %104
91: ; preds = %80
%92 = load ptr, ptr %5, align 8
%93 = load i8, ptr %92, align 1
%94 = call i64 @islower(i8 noundef signext %93)
%95 = icmp ne i64 %94, 0
br i1 %95, label %96, label %102
96: ; preds = %91
%97 = load ptr, ptr %5, align 8
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = sub nsw i32 %99, 97
%101 = add nsw i32 %100, 10
store i32 %101, ptr %9, align 4
br label %103
102: ; preds = %91
br label %120
103: ; preds = %96
br label %104
104: ; preds = %103, %85
br label %105
105: ; preds = %104, %75
%106 = load i32, ptr %9, align 4
%107 = load i32, ptr %7, align 4
%108 = icmp sge i32 %106, %107
br i1 %108, label %109, label %110
109: ; preds = %105
br label %120
110: ; preds = %105
%111 = load i64, ptr %8, align 8
%112 = load i32, ptr %7, align 4
%113 = sext i32 %112 to i64
%114 = mul i64 %111, %113
%115 = load i32, ptr %9, align 4
%116 = sext i32 %115 to i64
%117 = add i64 %114, %116
store i64 %117, ptr %8, align 8
%118 = load ptr, ptr %5, align 8
%119 = getelementptr inbounds i8, ptr %118, i32 1
store ptr %119, ptr %5, align 8
br label %70
120: ; preds = %109, %102
%121 = load ptr, ptr %6, align 8
%122 = icmp ne ptr %121, null
br i1 %122, label %123, label %126
123: ; preds = %120
%124 = load ptr, ptr %5, align 8
%125 = load ptr, ptr %6, align 8
store ptr %124, ptr %125, align 8
br label %126
126: ; preds = %123, %120
%127 = load i32, ptr %10, align 4
%128 = icmp eq i32 %127, 45
br i1 %128, label %129, label %132
129: ; preds = %126
%130 = load i64, ptr %8, align 8
%131 = sub i64 0, %130
store i64 %131, ptr %4, align 8
br label %134
132: ; preds = %126
%133 = load i64, ptr %8, align 8
store i64 %133, ptr %4, align 8
br label %134
134: ; preds = %132, %129, %19
%135 = load i64, ptr %4, align 8
ret i64 %135
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i64 @isupper(i8 noundef signext) #1
declare i64 @islower(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/tmpwfmitgsk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoul(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp sgt i32 %11, 35
br i1 %12, label %19, label %13
13: ; preds = %3
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = load i32, ptr %7, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16, %13, %3
store i64 0, ptr %4, align 8
br label %137
20: ; preds = %16
%21 = load ptr, ptr %5, align 8
%22 = load i8, ptr %21, align 1
%23 = call i64 @isspace(i8 noundef signext %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %.lr.ph, label %32
.lr.ph: ; preds = %20
br label %25
25: ; preds = %.lr.ph, %25
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %5, align 8
%28 = load ptr, ptr %5, align 8
%29 = load i8, ptr %28, align 1
%30 = call i64 @isspace(i8 noundef signext %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %32
32: ; preds = %._crit_edge, %20
store i32 43, ptr %10, align 4
%33 = load ptr, ptr %5, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 45
br i1 %36, label %42, label %37
37: ; preds = %32
%38 = load ptr, ptr %5, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 43
br i1 %41, label %42, label %47
42: ; preds = %37, %32
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %5, align 8
%45 = load i8, ptr %43, align 1
%46 = sext i8 %45 to i32
store i32 %46, ptr %10, align 4
br label %47
47: ; preds = %42, %37
%48 = load i32, ptr %7, align 4
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %72
50: ; preds = %47
store i32 10, ptr %7, align 4
%51 = load ptr, ptr %5, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 48
br i1 %54, label %55, label %71
55: ; preds = %50
store i32 8, ptr %7, align 4
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds i8, ptr %56, i32 1
store ptr %57, ptr %5, align 8
%58 = load ptr, ptr %5, align 8
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 120
br i1 %61, label %67, label %62
62: ; preds = %55
%63 = load ptr, ptr %5, align 8
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 88
br i1 %66, label %67, label %70
67: ; preds = %62, %55
store i32 16, ptr %7, align 4
%68 = load ptr, ptr %5, align 8
%69 = getelementptr inbounds i8, ptr %68, i32 1
store ptr %69, ptr %5, align 8
br label %70
70: ; preds = %67, %62
br label %71
71: ; preds = %70, %50
br label %72
72: ; preds = %71, %47
store i64 0, ptr %8, align 8
br label %73
73: ; preds = %113, %72
%74 = load ptr, ptr %5, align 8
%75 = load i8, ptr %74, align 1
%76 = call i64 @isdigit(i8 noundef signext %75)
%77 = icmp ne i64 %76, 0
br i1 %77, label %78, label %83
78: ; preds = %73
%79 = load ptr, ptr %5, align 8
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = sub nsw i32 %81, 48
store i32 %82, ptr %9, align 4
br label %108
83: ; preds = %73
%84 = load ptr, ptr %5, align 8
%85 = load i8, ptr %84, align 1
%86 = call i64 @isupper(i8 noundef signext %85)
%87 = icmp ne i64 %86, 0
br i1 %87, label %88, label %94
88: ; preds = %83
%89 = load ptr, ptr %5, align 8
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = sub nsw i32 %91, 65
%93 = add nsw i32 %92, 10
store i32 %93, ptr %9, align 4
br label %107
94: ; preds = %83
%95 = load ptr, ptr %5, align 8
%96 = load i8, ptr %95, align 1
%97 = call i64 @islower(i8 noundef signext %96)
%98 = icmp ne i64 %97, 0
br i1 %98, label %99, label %105
99: ; preds = %94
%100 = load ptr, ptr %5, align 8
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = sub nsw i32 %102, 97
%104 = add nsw i32 %103, 10
store i32 %104, ptr %9, align 4
br label %106
105: ; preds = %94
br label %123
106: ; preds = %99
br label %107
107: ; preds = %106, %88
br label %108
108: ; preds = %107, %78
%109 = load i32, ptr %9, align 4
%110 = load i32, ptr %7, align 4
%111 = icmp sge i32 %109, %110
br i1 %111, label %112, label %113
112: ; preds = %108
br label %123
113: ; preds = %108
%114 = load i64, ptr %8, align 8
%115 = load i32, ptr %7, align 4
%116 = sext i32 %115 to i64
%117 = mul i64 %114, %116
%118 = load i32, ptr %9, align 4
%119 = sext i32 %118 to i64
%120 = add i64 %117, %119
store i64 %120, ptr %8, align 8
%121 = load ptr, ptr %5, align 8
%122 = getelementptr inbounds i8, ptr %121, i32 1
store ptr %122, ptr %5, align 8
br label %73
123: ; preds = %112, %105
%124 = load ptr, ptr %6, align 8
%125 = icmp ne ptr %124, null
br i1 %125, label %126, label %129
126: ; preds = %123
%127 = load ptr, ptr %5, align 8
%128 = load ptr, ptr %6, align 8
store ptr %127, ptr %128, align 8
br label %129
129: ; preds = %126, %123
%130 = load i32, ptr %10, align 4
%131 = icmp eq i32 %130, 45
br i1 %131, label %132, label %135
132: ; preds = %129
%133 = load i64, ptr %8, align 8
%134 = sub i64 0, %133
store i64 %134, ptr %4, align 8
br label %137
135: ; preds = %129
%136 = load i64, ptr %8, align 8
store i64 %136, ptr %4, align 8
br label %137
137: ; preds = %135, %132, %19
%138 = load i64, ptr %4, align 8
ret i64 %138
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i64 @isupper(i8 noundef signext) #1
declare i64 @islower(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/tmpuwtn9d_h.c'
source_filename = "/tmp/tmpuwtn9d_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gc_main(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @sum_array(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @sum_array(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/tmpuwtn9d_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gc_main(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @sum_array(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @sum_array(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/tmp0onnph4g.c'
source_filename = "/tmp/tmp0onnph4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NaN(%08X%08X)\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.17g\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dtoa_grisu3(double noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load i32, ptr %4, align 8
store i32 %13, ptr %11, align 4
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %12, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i32 @assert(ptr noundef %15)
%17 = load i32, ptr %11, align 4
%18 = shl i32 %17, 1
%19 = sext i32 %18 to i64
%20 = icmp ugt i64 %19, -9007199254740992
br i1 %20, label %21, label %28
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %11, align 4
%24 = ashr i32 %23, 32
%25 = sitofp i32 %24 to double
%26 = load i32, ptr %11, align 4
%27 = call i32 (ptr, ptr, double, ...) @sprintf(ptr noundef %22, ptr noundef @.str, double noundef %25, i32 noundef %26)
store i32 %27, ptr %3, align 4
br label %304
28: ; preds = %2
%29 = load i32, ptr %11, align 4
%30 = sext i32 %29 to i64
%31 = and i64 %30, -9223372036854775808
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %42
33: ; preds = %28
%34 = load ptr, ptr %12, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %12, align 8
store i8 45, ptr %34, align 1
%36 = load double, ptr %4, align 8
%37 = fneg double %36
store double %37, ptr %4, align 8
%38 = load i32, ptr %11, align 4
%39 = sext i32 %38 to i64
%40 = xor i64 %39, -9223372036854775808
%41 = trunc i64 %40 to i32
store i32 %41, ptr %11, align 4
br label %42
42: ; preds = %33, %28
%43 = load i32, ptr %11, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %55, label %45
45: ; preds = %42
%46 = load ptr, ptr %12, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %12, align 8
store i8 48, ptr %46, align 1
%48 = load ptr, ptr %12, align 8
store i8 0, ptr %48, align 1
%49 = load ptr, ptr %12, align 8
%50 = load ptr, ptr %5, align 8
%51 = ptrtoint ptr %49 to i64
%52 = ptrtoint ptr %50 to i64
%53 = sub i64 %51, %52
%54 = trunc i64 %53 to i32
store i32 %54, ptr %3, align 4
br label %304
55: ; preds = %42
%56 = load i32, ptr %11, align 4
%57 = sext i32 %56 to i64
%58 = icmp eq i64 %57, 9218868437227405312
br i1 %58, label %59, label %73
59: ; preds = %55
%60 = load ptr, ptr %12, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %12, align 8
store i8 105, ptr %60, align 1
%62 = load ptr, ptr %12, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %12, align 8
store i8 110, ptr %62, align 1
%64 = load ptr, ptr %12, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %12, align 8
store i8 102, ptr %64, align 1
%66 = load ptr, ptr %12, align 8
store i8 0, ptr %66, align 1
%67 = load ptr, ptr %12, align 8
%68 = load ptr, ptr %5, align 8
%69 = ptrtoint ptr %67 to i64
%70 = ptrtoint ptr %68 to i64
%71 = sub i64 %69, %70
%72 = trunc i64 %71 to i32
store i32 %72, ptr %3, align 4
br label %304
73: ; preds = %55
%74 = load double, ptr %4, align 8
%75 = load ptr, ptr %12, align 8
%76 = call i32 @grisu3(double noundef %74, ptr noundef %75, ptr noundef %7, ptr noundef %6)
store i32 %76, ptr %8, align 4
%77 = load i32, ptr %8, align 4
%78 = icmp ne i32 %77, 0
br i1 %78, label %90, label %79
79: ; preds = %73
%80 = load ptr, ptr %12, align 8
%81 = load double, ptr %4, align 8
%82 = call i32 (ptr, ptr, double, ...) @sprintf(ptr noundef %80, ptr noundef @.str.1, double noundef %81)
%83 = load ptr, ptr %12, align 8
%84 = load ptr, ptr %5, align 8
%85 = ptrtoint ptr %83 to i64
%86 = ptrtoint ptr %84 to i64
%87 = sub i64 %85, %86
%88 = trunc i64 %87 to i32
%89 = add nsw i32 %82, %88
store i32 %89, ptr %3, align 4
br label %304
90: ; preds = %73
%91 = load i32, ptr %6, align 4
%92 = icmp sge i32 %91, 0
br i1 %92, label %93, label %130
93: ; preds = %90
%94 = load i32, ptr %6, align 4
%95 = load i32, ptr %7, align 4
%96 = sub nsw i32 15, %95
%97 = icmp sge i32 2, %96
br i1 %97, label %98, label %99
98: ; preds = %93
br label %102
99: ; preds = %93
%100 = load i32, ptr %7, align 4
%101 = sub nsw i32 15, %100
br label %102
102: ; preds = %99, %98
%103 = phi i32 [ 2, %98 ], [ %101, %99 ]
%104 = icmp sle i32 %94, %103
br i1 %104, label %105, label %130
105: ; preds = %102
br label %106
106: ; preds = %110, %105
%107 = load i32, ptr %6, align 4
%108 = add nsw i32 %107, -1
store i32 %108, ptr %6, align 4
%109 = icmp sgt i32 %107, 0
br i1 %109, label %110, label %116
110: ; preds = %106
%111 = load ptr, ptr %12, align 8
%112 = load i32, ptr %7, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %7, align 4
%114 = sext i32 %112 to i64
%115 = getelementptr inbounds i8, ptr %111, i64 %114
store i8 48, ptr %115, align 1
br label %106, !llvm.loop !6
116: ; preds = %106
%117 = load ptr, ptr %12, align 8
%118 = load i32, ptr %7, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i8, ptr %117, i64 %119
store i8 0, ptr %120, align 1
%121 = load ptr, ptr %12, align 8
%122 = load i32, ptr %7, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i8, ptr %121, i64 %123
%125 = load ptr, ptr %5, align 8
%126 = ptrtoint ptr %124 to i64
%127 = ptrtoint ptr %125 to i64
%128 = sub i64 %126, %127
%129 = trunc i64 %128 to i32
store i32 %129, ptr %3, align 4
br label %304
130: ; preds = %102, %90
%131 = load i32, ptr %6, align 4
%132 = sub nsw i32 0, %131
%133 = load i32, ptr %7, align 4
%134 = sub nsw i32 %133, 1
%135 = icmp sge i32 1, %134
br i1 %135, label %136, label %137
136: ; preds = %130
br label %140
137: ; preds = %130
%138 = load i32, ptr %7, align 4
%139 = sub nsw i32 %138, 1
br label %140
140: ; preds = %137, %136
%141 = phi i32 [ 1, %136 ], [ %139, %137 ]
%142 = icmp sle i32 %132, %141
br i1 %142, label %143, label %146
143: ; preds = %140
%144 = load i32, ptr %6, align 4
%145 = sub nsw i32 0, %144
br label %156
146: ; preds = %140
%147 = load i32, ptr %7, align 4
%148 = sub nsw i32 %147, 1
%149 = icmp sge i32 1, %148
br i1 %149, label %150, label %151
150: ; preds = %146
br label %154
151: ; preds = %146
%152 = load i32, ptr %7, align 4
%153 = sub nsw i32 %152, 1
br label %154
154: ; preds = %151, %150
%155 = phi i32 [ 1, %150 ], [ %153, %151 ]
br label %156
156: ; preds = %154, %143
%157 = phi i32 [ %145, %143 ], [ %155, %154 ]
store i32 %157, ptr %9, align 4
%158 = load i32, ptr %6, align 4
%159 = icmp slt i32 %158, 0
br i1 %159, label %160, label %207
160: ; preds = %156
%161 = load i32, ptr %7, align 4
%162 = load i32, ptr %6, align 4
%163 = add nsw i32 %161, %162
%164 = icmp sgt i32 %163, -3
br i1 %164, label %165, label %207
165: ; preds = %160
%166 = load i32, ptr %7, align 4
%167 = load i32, ptr %6, align 4
%168 = sub nsw i32 0, %167
%169 = icmp sle i32 %166, %168
br i1 %169, label %170, label %207
170: ; preds = %165
%171 = load ptr, ptr %12, align 8
%172 = getelementptr inbounds i8, ptr %171, i64 2
%173 = load i32, ptr %6, align 4
%174 = sext i32 %173 to i64
%175 = sub i64 0, %174
%176 = getelementptr inbounds i8, ptr %172, i64 %175
%177 = load i32, ptr %7, align 4
%178 = sext i32 %177 to i64
%179 = sub i64 0, %178
%180 = getelementptr inbounds i8, ptr %176, i64 %179
%181 = load ptr, ptr %12, align 8
%182 = load i32, ptr %7, align 4
%183 = call i32 @memmove(ptr noundef %180, ptr noundef %181, i32 noundef %182)
%184 = load ptr, ptr %12, align 8
%185 = getelementptr inbounds i8, ptr %184, i64 0
store i8 48, ptr %185, align 1
%186 = load ptr, ptr %12, align 8
%187 = getelementptr inbounds i8, ptr %186, i64 1
store i8 46, ptr %187, align 1
store i32 2, ptr %10, align 4
br label %188
188: ; preds = %200, %170
%189 = load i32, ptr %10, align 4
%190 = load i32, ptr %6, align 4
%191 = sub nsw i32 2, %190
%192 = load i32, ptr %7, align 4
%193 = sub nsw i32 %191, %192
%194 = icmp slt i32 %189, %193
br i1 %194, label %195, label %203
195: ; preds = %188
%196 = load ptr, ptr %12, align 8
%197 = load i32, ptr %10, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds i8, ptr %196, i64 %198
store i8 48, ptr %199, align 1
br label %200
200: ; preds = %195
%201 = load i32, ptr %10, align 4
%202 = add nsw i32 %201, 1
store i32 %202, ptr %10, align 4
br label %188, !llvm.loop !8
203: ; preds = %188
%204 = load i32, ptr %10, align 4
%205 = load i32, ptr %7, align 4
%206 = add nsw i32 %205, %204
store i32 %206, ptr %7, align 4
br label %290
207: ; preds = %165, %160, %156
%208 = load i32, ptr %6, align 4
%209 = icmp slt i32 %208, 0
br i1 %209, label %210, label %266
210: ; preds = %207
%211 = load i32, ptr %7, align 4
%212 = icmp sgt i32 %211, 1
br i1 %212, label %213, label %266
213: ; preds = %210
store i32 0, ptr %10, align 4
br label %214
214: ; preds = %233, %213
%215 = load i32, ptr %10, align 4
%216 = load i32, ptr %9, align 4
%217 = icmp slt i32 %215, %216
br i1 %217, label %218, label %236
218: ; preds = %214
%219 = load ptr, ptr %12, align 8
%220 = load i32, ptr %7, align 4
%221 = load i32, ptr %10, align 4
%222 = sub nsw i32 %220, %221
%223 = sub nsw i32 %222, 1
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds i8, ptr %219, i64 %224
%226 = load i8, ptr %225, align 1
%227 = load ptr, ptr %12, align 8
%228 = load i32, ptr %7, align 4
%229 = load i32, ptr %10, align 4
%230 = sub nsw i32 %228, %229
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds i8, ptr %227, i64 %231
store i8 %226, ptr %232, align 1
br label %233
233: ; preds = %218
%234 = load i32, ptr %10, align 4
%235 = add nsw i32 %234, 1
store i32 %235, ptr %10, align 4
br label %214, !llvm.loop !9
236: ; preds = %214
%237 = load ptr, ptr %12, align 8
%238 = load i32, ptr %7, align 4
%239 = add nsw i32 %238, 1
store i32 %239, ptr %7, align 4
%240 = load i32, ptr %9, align 4
%241 = sub nsw i32 %238, %240
%242 = sext i32 %241 to i64
%243 = getelementptr inbounds i8, ptr %237, i64 %242
store i8 46, ptr %243, align 1
%244 = load i32, ptr %9, align 4
%245 = load i32, ptr %6, align 4
%246 = add nsw i32 %245, %244
store i32 %246, ptr %6, align 4
%247 = load i32, ptr %6, align 4
%248 = icmp ne i32 %247, 0
br i1 %248, label %249, label %265
249: ; preds = %236
%250 = load ptr, ptr %12, align 8
%251 = load i32, ptr %7, align 4
%252 = add nsw i32 %251, 1
store i32 %252, ptr %7, align 4
%253 = sext i32 %251 to i64
%254 = getelementptr inbounds i8, ptr %250, i64 %253
store i8 101, ptr %254, align 1
%255 = load i32, ptr %6, align 4
%256 = load ptr, ptr %12, align 8
%257 = load i32, ptr %7, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds i8, ptr %256, i64 %258
%260 = call i64 @i_to_str(i32 noundef %255, ptr noundef %259)
%261 = load i32, ptr %7, align 4
%262 = sext i32 %261 to i64
%263 = add nsw i64 %262, %260
%264 = trunc i64 %263 to i32
store i32 %264, ptr %7, align 4
br label %265
265: ; preds = %249, %236
br label %289
266: ; preds = %210, %207
%267 = load i32, ptr %6, align 4
%268 = icmp slt i32 %267, 0
br i1 %268, label %272, label %269
269: ; preds = %266
%270 = load i32, ptr %6, align 4
%271 = icmp sgt i32 %270, 2
br i1 %271, label %272, label %288
272: ; preds = %269, %266
%273 = load ptr, ptr %12, align 8
%274 = load i32, ptr %7, align 4
%275 = add nsw i32 %274, 1
store i32 %275, ptr %7, align 4
%276 = sext i32 %274 to i64
%277 = getelementptr inbounds i8, ptr %273, i64 %276
store i8 101, ptr %277, align 1
%278 = load i32, ptr %6, align 4
%279 = load ptr, ptr %12, align 8
%280 = load i32, ptr %7, align 4
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds i8, ptr %279, i64 %281
%283 = call i64 @i_to_str(i32 noundef %278, ptr noundef %282)
%284 = load i32, ptr %7, align 4
%285 = sext i32 %284 to i64
%286 = add nsw i64 %285, %283
%287 = trunc i64 %286 to i32
store i32 %287, ptr %7, align 4
br label %288
288: ; preds = %272, %269
br label %289
289: ; preds = %288, %265
br label %290
290: ; preds = %289, %203
%291 = load ptr, ptr %12, align 8
%292 = load i32, ptr %7, align 4
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds i8, ptr %291, i64 %293
store i8 0, ptr %294, align 1
%295 = load ptr, ptr %12, align 8
%296 = load i32, ptr %7, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds i8, ptr %295, i64 %297
%299 = load ptr, ptr %5, align 8
%300 = ptrtoint ptr %298 to i64
%301 = ptrtoint ptr %299 to i64
%302 = sub i64 %300, %301
%303 = trunc i64 %302 to i32
store i32 %303, ptr %3, align 4
br label %304
304: ; preds = %290, %116, %79, %59, %45, %21
%305 = load i32, ptr %3, align 4
ret i32 %305
}
declare i32 @assert(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef, ...) #1
declare i32 @grisu3(double noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @i_to_str(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0onnph4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NaN(%08X%08X)\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%.17g\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dtoa_grisu3(double noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load i32, ptr %4, align 8
store i32 %13, ptr %11, align 4
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %12, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i32 @assert(ptr noundef %15)
%17 = load i32, ptr %11, align 4
%18 = shl i32 %17, 1
%19 = sext i32 %18 to i64
%20 = icmp ugt i64 %19, -9007199254740992
br i1 %20, label %21, label %28
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %11, align 4
%24 = ashr i32 %23, 32
%25 = sitofp i32 %24 to double
%26 = load i32, ptr %11, align 4
%27 = call i32 (ptr, ptr, double, ...) @sprintf(ptr noundef %22, ptr noundef @.str, double noundef %25, i32 noundef %26)
store i32 %27, ptr %3, align 4
br label %313
28: ; preds = %2
%29 = load i32, ptr %11, align 4
%30 = sext i32 %29 to i64
%31 = and i64 %30, -9223372036854775808
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %42
33: ; preds = %28
%34 = load ptr, ptr %12, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %12, align 8
store i8 45, ptr %34, align 1
%36 = load double, ptr %4, align 8
%37 = fneg double %36
store double %37, ptr %4, align 8
%38 = load i32, ptr %11, align 4
%39 = sext i32 %38 to i64
%40 = xor i64 %39, -9223372036854775808
%41 = trunc i64 %40 to i32
store i32 %41, ptr %11, align 4
br label %42
42: ; preds = %33, %28
%43 = load i32, ptr %11, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %55, label %45
45: ; preds = %42
%46 = load ptr, ptr %12, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %12, align 8
store i8 48, ptr %46, align 1
%48 = load ptr, ptr %12, align 8
store i8 0, ptr %48, align 1
%49 = load ptr, ptr %12, align 8
%50 = load ptr, ptr %5, align 8
%51 = ptrtoint ptr %49 to i64
%52 = ptrtoint ptr %50 to i64
%53 = sub i64 %51, %52
%54 = trunc i64 %53 to i32
store i32 %54, ptr %3, align 4
br label %313
55: ; preds = %42
%56 = load i32, ptr %11, align 4
%57 = sext i32 %56 to i64
%58 = icmp eq i64 %57, 9218868437227405312
br i1 %58, label %59, label %73
59: ; preds = %55
%60 = load ptr, ptr %12, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %12, align 8
store i8 105, ptr %60, align 1
%62 = load ptr, ptr %12, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %12, align 8
store i8 110, ptr %62, align 1
%64 = load ptr, ptr %12, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %12, align 8
store i8 102, ptr %64, align 1
%66 = load ptr, ptr %12, align 8
store i8 0, ptr %66, align 1
%67 = load ptr, ptr %12, align 8
%68 = load ptr, ptr %5, align 8
%69 = ptrtoint ptr %67 to i64
%70 = ptrtoint ptr %68 to i64
%71 = sub i64 %69, %70
%72 = trunc i64 %71 to i32
store i32 %72, ptr %3, align 4
br label %313
73: ; preds = %55
%74 = load double, ptr %4, align 8
%75 = load ptr, ptr %12, align 8
%76 = call i32 @grisu3(double noundef %74, ptr noundef %75, ptr noundef %7, ptr noundef %6)
store i32 %76, ptr %8, align 4
%77 = load i32, ptr %8, align 4
%78 = icmp ne i32 %77, 0
br i1 %78, label %90, label %79
79: ; preds = %73
%80 = load ptr, ptr %12, align 8
%81 = load double, ptr %4, align 8
%82 = call i32 (ptr, ptr, double, ...) @sprintf(ptr noundef %80, ptr noundef @.str.1, double noundef %81)
%83 = load ptr, ptr %12, align 8
%84 = load ptr, ptr %5, align 8
%85 = ptrtoint ptr %83 to i64
%86 = ptrtoint ptr %84 to i64
%87 = sub i64 %85, %86
%88 = trunc i64 %87 to i32
%89 = add nsw i32 %82, %88
store i32 %89, ptr %3, align 4
br label %313
90: ; preds = %73
%91 = load i32, ptr %6, align 4
%92 = icmp sge i32 %91, 0
br i1 %92, label %93, label %132
93: ; preds = %90
%94 = load i32, ptr %6, align 4
%95 = load i32, ptr %7, align 4
%96 = sub nsw i32 15, %95
%97 = icmp sge i32 2, %96
br i1 %97, label %98, label %99
98: ; preds = %93
br label %102
99: ; preds = %93
%100 = load i32, ptr %7, align 4
%101 = sub nsw i32 15, %100
br label %102
102: ; preds = %99, %98
%103 = phi i32 [ 2, %98 ], [ %101, %99 ]
%104 = icmp sle i32 %94, %103
br i1 %104, label %105, label %132
105: ; preds = %102
%106 = load i32, ptr %6, align 4
%107 = add nsw i32 %106, -1
store i32 %107, ptr %6, align 4
%108 = icmp sgt i32 %106, 0
br i1 %108, label %.lr.ph5, label %118
.lr.ph5: ; preds = %105
br label %109
109: ; preds = %.lr.ph5, %109
%110 = load ptr, ptr %12, align 8
%111 = load i32, ptr %7, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %7, align 4
%113 = sext i32 %111 to i64
%114 = getelementptr inbounds i8, ptr %110, i64 %113
store i8 48, ptr %114, align 1
%115 = load i32, ptr %6, align 4
%116 = add nsw i32 %115, -1
store i32 %116, ptr %6, align 4
%117 = icmp sgt i32 %115, 0
br i1 %117, label %109, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %109
br label %118
118: ; preds = %._crit_edge6, %105
%119 = load ptr, ptr %12, align 8
%120 = load i32, ptr %7, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %119, i64 %121
store i8 0, ptr %122, align 1
%123 = load ptr, ptr %12, align 8
%124 = load i32, ptr %7, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i8, ptr %123, i64 %125
%127 = load ptr, ptr %5, align 8
%128 = ptrtoint ptr %126 to i64
%129 = ptrtoint ptr %127 to i64
%130 = sub i64 %128, %129
%131 = trunc i64 %130 to i32
store i32 %131, ptr %3, align 4
br label %313
132: ; preds = %102, %90
%133 = load i32, ptr %6, align 4
%134 = sub nsw i32 0, %133
%135 = load i32, ptr %7, align 4
%136 = sub nsw i32 %135, 1
%137 = icmp sge i32 1, %136
br i1 %137, label %138, label %139
138: ; preds = %132
br label %142
139: ; preds = %132
%140 = load i32, ptr %7, align 4
%141 = sub nsw i32 %140, 1
br label %142
142: ; preds = %139, %138
%143 = phi i32 [ 1, %138 ], [ %141, %139 ]
%144 = icmp sle i32 %134, %143
br i1 %144, label %145, label %148
145: ; preds = %142
%146 = load i32, ptr %6, align 4
%147 = sub nsw i32 0, %146
br label %158
148: ; preds = %142
%149 = load i32, ptr %7, align 4
%150 = sub nsw i32 %149, 1
%151 = icmp sge i32 1, %150
br i1 %151, label %152, label %153
152: ; preds = %148
br label %156
153: ; preds = %148
%154 = load i32, ptr %7, align 4
%155 = sub nsw i32 %154, 1
br label %156
156: ; preds = %153, %152
%157 = phi i32 [ 1, %152 ], [ %155, %153 ]
br label %158
158: ; preds = %156, %145
%159 = phi i32 [ %147, %145 ], [ %157, %156 ]
store i32 %159, ptr %9, align 4
%160 = load i32, ptr %6, align 4
%161 = icmp slt i32 %160, 0
br i1 %161, label %162, label %214
162: ; preds = %158
%163 = load i32, ptr %7, align 4
%164 = load i32, ptr %6, align 4
%165 = add nsw i32 %163, %164
%166 = icmp sgt i32 %165, -3
br i1 %166, label %167, label %214
167: ; preds = %162
%168 = load i32, ptr %7, align 4
%169 = load i32, ptr %6, align 4
%170 = sub nsw i32 0, %169
%171 = icmp sle i32 %168, %170
br i1 %171, label %172, label %214
172: ; preds = %167
%173 = load ptr, ptr %12, align 8
%174 = getelementptr inbounds i8, ptr %173, i64 2
%175 = load i32, ptr %6, align 4
%176 = sext i32 %175 to i64
%177 = sub i64 0, %176
%178 = getelementptr inbounds i8, ptr %174, i64 %177
%179 = load i32, ptr %7, align 4
%180 = sext i32 %179 to i64
%181 = sub i64 0, %180
%182 = getelementptr inbounds i8, ptr %178, i64 %181
%183 = load ptr, ptr %12, align 8
%184 = load i32, ptr %7, align 4
%185 = call i32 @memmove(ptr noundef %182, ptr noundef %183, i32 noundef %184)
%186 = load ptr, ptr %12, align 8
%187 = getelementptr inbounds i8, ptr %186, i64 0
store i8 48, ptr %187, align 1
%188 = load ptr, ptr %12, align 8
%189 = getelementptr inbounds i8, ptr %188, i64 1
store i8 46, ptr %189, align 1
store i32 2, ptr %10, align 4
%190 = load i32, ptr %10, align 4
%191 = load i32, ptr %6, align 4
%192 = sub nsw i32 2, %191
%193 = load i32, ptr %7, align 4
%194 = sub nsw i32 %192, %193
%195 = icmp slt i32 %190, %194
br i1 %195, label %.lr.ph2, label %210
.lr.ph2: ; preds = %172
br label %196
196: ; preds = %.lr.ph2, %201
%197 = load ptr, ptr %12, align 8
%198 = load i32, ptr %10, align 4
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds i8, ptr %197, i64 %199
store i8 48, ptr %200, align 1
br label %201
201: ; preds = %196
%202 = load i32, ptr %10, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %10, align 4
%204 = load i32, ptr %10, align 4
%205 = load i32, ptr %6, align 4
%206 = sub nsw i32 2, %205
%207 = load i32, ptr %7, align 4
%208 = sub nsw i32 %206, %207
%209 = icmp slt i32 %204, %208
br i1 %209, label %196, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %201
br label %210
210: ; preds = %._crit_edge3, %172
%211 = load i32, ptr %10, align 4
%212 = load i32, ptr %7, align 4
%213 = add nsw i32 %212, %211
store i32 %213, ptr %7, align 4
br label %299
214: ; preds = %167, %162, %158
%215 = load i32, ptr %6, align 4
%216 = icmp slt i32 %215, 0
br i1 %216, label %217, label %275
217: ; preds = %214
%218 = load i32, ptr %7, align 4
%219 = icmp sgt i32 %218, 1
br i1 %219, label %220, label %275
220: ; preds = %217
store i32 0, ptr %10, align 4
%221 = load i32, ptr %10, align 4
%222 = load i32, ptr %9, align 4
%223 = icmp slt i32 %221, %222
br i1 %223, label %.lr.ph, label %245
.lr.ph: ; preds = %220
br label %224
224: ; preds = %.lr.ph, %239
%225 = load ptr, ptr %12, align 8
%226 = load i32, ptr %7, align 4
%227 = load i32, ptr %10, align 4
%228 = sub nsw i32 %226, %227
%229 = sub nsw i32 %228, 1
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds i8, ptr %225, i64 %230
%232 = load i8, ptr %231, align 1
%233 = load ptr, ptr %12, align 8
%234 = load i32, ptr %7, align 4
%235 = load i32, ptr %10, align 4
%236 = sub nsw i32 %234, %235
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds i8, ptr %233, i64 %237
store i8 %232, ptr %238, align 1
br label %239
239: ; preds = %224
%240 = load i32, ptr %10, align 4
%241 = add nsw i32 %240, 1
store i32 %241, ptr %10, align 4
%242 = load i32, ptr %10, align 4
%243 = load i32, ptr %9, align 4
%244 = icmp slt i32 %242, %243
br i1 %244, label %224, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %239
br label %245
245: ; preds = %._crit_edge, %220
%246 = load ptr, ptr %12, align 8
%247 = load i32, ptr %7, align 4
%248 = add nsw i32 %247, 1
store i32 %248, ptr %7, align 4
%249 = load i32, ptr %9, align 4
%250 = sub nsw i32 %247, %249
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds i8, ptr %246, i64 %251
store i8 46, ptr %252, align 1
%253 = load i32, ptr %9, align 4
%254 = load i32, ptr %6, align 4
%255 = add nsw i32 %254, %253
store i32 %255, ptr %6, align 4
%256 = load i32, ptr %6, align 4
%257 = icmp ne i32 %256, 0
br i1 %257, label %258, label %274
258: ; preds = %245
%259 = load ptr, ptr %12, align 8
%260 = load i32, ptr %7, align 4
%261 = add nsw i32 %260, 1
store i32 %261, ptr %7, align 4
%262 = sext i32 %260 to i64
%263 = getelementptr inbounds i8, ptr %259, i64 %262
store i8 101, ptr %263, align 1
%264 = load i32, ptr %6, align 4
%265 = load ptr, ptr %12, align 8
%266 = load i32, ptr %7, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds i8, ptr %265, i64 %267
%269 = call i64 @i_to_str(i32 noundef %264, ptr noundef %268)
%270 = load i32, ptr %7, align 4
%271 = sext i32 %270 to i64
%272 = add nsw i64 %271, %269
%273 = trunc i64 %272 to i32
store i32 %273, ptr %7, align 4
br label %274
274: ; preds = %258, %245
br label %298
275: ; preds = %217, %214
%276 = load i32, ptr %6, align 4
%277 = icmp slt i32 %276, 0
br i1 %277, label %281, label %278
278: ; preds = %275
%279 = load i32, ptr %6, align 4
%280 = icmp sgt i32 %279, 2
br i1 %280, label %281, label %297
281: ; preds = %278, %275
%282 = load ptr, ptr %12, align 8
%283 = load i32, ptr %7, align 4
%284 = add nsw i32 %283, 1
store i32 %284, ptr %7, align 4
%285 = sext i32 %283 to i64
%286 = getelementptr inbounds i8, ptr %282, i64 %285
store i8 101, ptr %286, align 1
%287 = load i32, ptr %6, align 4
%288 = load ptr, ptr %12, align 8
%289 = load i32, ptr %7, align 4
%290 = sext i32 %289 to i64
%291 = getelementptr inbounds i8, ptr %288, i64 %290
%292 = call i64 @i_to_str(i32 noundef %287, ptr noundef %291)
%293 = load i32, ptr %7, align 4
%294 = sext i32 %293 to i64
%295 = add nsw i64 %294, %292
%296 = trunc i64 %295 to i32
store i32 %296, ptr %7, align 4
br label %297
297: ; preds = %281, %278
br label %298
298: ; preds = %297, %274
br label %299
299: ; preds = %298, %210
%300 = load ptr, ptr %12, align 8
%301 = load i32, ptr %7, align 4
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds i8, ptr %300, i64 %302
store i8 0, ptr %303, align 1
%304 = load ptr, ptr %12, align 8
%305 = load i32, ptr %7, align 4
%306 = sext i32 %305 to i64
%307 = getelementptr inbounds i8, ptr %304, i64 %306
%308 = load ptr, ptr %5, align 8
%309 = ptrtoint ptr %307 to i64
%310 = ptrtoint ptr %308 to i64
%311 = sub i64 %309, %310
%312 = trunc i64 %311 to i32
store i32 %312, ptr %3, align 4
br label %313
313: ; preds = %299, %118, %79, %59, %45, %21
%314 = load i32, ptr %3, align 4
ret i32 %314
}
declare i32 @assert(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef, ...) #1
declare i32 @grisu3(double noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @i_to_str(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpzckglyja.c'
source_filename = "/tmp/tmpzckglyja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_castpd_si128(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 @_mm_castpd_si128(i32 noundef %3)
ret i32 %4
}
declare i32 @_mm_castpd_si128(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/tmpzckglyja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_castpd_si128(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 @_mm_castpd_si128(i32 noundef %3)
ret i32 %4
}
declare i32 @_mm_castpd_si128(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/tmp8aeq4urb.c'
source_filename = "/tmp/tmp8aeq4urb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @az_mod2pi_nonpos(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @isfinite(double noundef %3)
%5 = call i32 @assert(i32 noundef %4)
%6 = load double, ptr %2, align 8
%7 = load double, ptr %2, align 8
%8 = fdiv double %7, 0x401921FB54442D18
%9 = call double @llvm.ceil.f64(double %8)
%10 = call double @llvm.fmuladd.f64(double 0xC01921FB54442D18, double %9, double %6)
ret double %10
}
declare i32 @assert(i32 noundef) #1
declare i32 @isfinite(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.ceil.f64(double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8aeq4urb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @az_mod2pi_nonpos(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @isfinite(double noundef %3)
%5 = call i32 @assert(i32 noundef %4)
%6 = load double, ptr %2, align 8
%7 = load double, ptr %2, align 8
%8 = fdiv double %7, 0x401921FB54442D18
%9 = call double @llvm.ceil.f64(double %8)
%10 = call double @llvm.fmuladd.f64(double 0xC01921FB54442D18, double %9, double %6)
ret double %10
}
declare i32 @assert(i32 noundef) #1
declare i32 @isfinite(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.ceil.f64(double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpje498eyl.c'
source_filename = "/tmp/tmpje498eyl.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_warning(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpje498eyl.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_warning(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5ttgx7jm.c'
source_filename = "/tmp/tmp5ttgx7jm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Third line\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ttgx7jm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Third line\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2_7c2fsx.c'
source_filename = "/tmp/tmp2_7c2fsx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @wcslen(ptr noundef %6)
%8 = add nsw i32 %7, 1
%9 = sext i32 %8 to i64
store i64 %9, ptr %5, align 8
%10 = load i64, ptr %5, align 8
%11 = mul i64 %10, 4
%12 = call ptr @malloc(i64 noundef %11)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %1
store ptr null, ptr %2, align 8
br label %21
16: ; preds = %1
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %3, align 8
%19 = load i64, ptr %5, align 8
%20 = call ptr @wmemcpy(ptr noundef %17, ptr noundef %18, i64 noundef %19)
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %16, %15
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare i32 @wcslen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare ptr @wmemcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2_7c2fsx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @wcslen(ptr noundef %6)
%8 = add nsw i32 %7, 1
%9 = sext i32 %8 to i64
store i64 %9, ptr %5, align 8
%10 = load i64, ptr %5, align 8
%11 = mul i64 %10, 4
%12 = call ptr @malloc(i64 noundef %11)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %1
store ptr null, ptr %2, align 8
br label %21
16: ; preds = %1
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %3, align 8
%19 = load i64, ptr %5, align 8
%20 = call ptr @wmemcpy(ptr noundef %17, ptr noundef %18, i64 noundef %19)
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %16, %15
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare i32 @wcslen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare ptr @wmemcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfkxauxk5.c'
source_filename = "/tmp/tmpfkxauxk5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sinPLUScos(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = call double @sin(double noundef %5) #2
store double %6, ptr %3, align 8
%7 = load double, ptr %2, align 8
%8 = call double @cos(double noundef %7) #2
store double %8, ptr %4, align 8
%9 = load double, ptr %3, align 8
%10 = load double, ptr %4, align 8
%11 = fadd double %9, %10
ret double %11
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
; Function Attrs: nounwind
declare double @cos(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/tmpfkxauxk5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sinPLUScos(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = call double @sin(double noundef %5) #2
store double %6, ptr %3, align 8
%7 = load double, ptr %2, align 8
%8 = call double @cos(double noundef %7) #2
store double %8, ptr %4, align 8
%9 = load double, ptr %3, align 8
%10 = load double, ptr %4, align 8
%11 = fadd double %9, %10
ret double %11
}
; Function Attrs: nounwind
declare double @sin(double noundef) #1
; Function Attrs: nounwind
declare double @cos(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/tmp1hg5f9uc.c'
source_filename = "/tmp/tmp1hg5f9uc.c"
target datalayout = "e-m:e-p270: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.sysinfo = type { i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @c_getMemAvail() #0 {
%1 = alloca %struct.sysinfo, align 8
%2 = call i32 @sysinfo(ptr noundef %1)
%3 = getelementptr inbounds %struct.sysinfo, ptr %1, i32 0, i32 1
%4 = load i64, ptr %3, align 8
%5 = getelementptr inbounds %struct.sysinfo, ptr %1, i32 0, i32 0
%6 = load i32, ptr %5, align 8
%7 = sext i32 %6 to i64
%8 = add nsw i64 %7, %4
%9 = trunc i64 %8 to i32
store i32 %9, ptr %5, align 8
%10 = getelementptr inbounds %struct.sysinfo, ptr %1, i32 0, i32 0
%11 = load i32, ptr %10, align 8
%12 = ashr i32 %11, 10
%13 = sext i32 %12 to i64
ret i64 %13
}
declare i32 @sysinfo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1hg5f9uc.c"
target datalayout = "e-m:e-p270: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.sysinfo = type { i32, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @c_getMemAvail() #0 {
%1 = alloca %struct.sysinfo, align 8
%2 = call i32 @sysinfo(ptr noundef %1)
%3 = getelementptr inbounds %struct.sysinfo, ptr %1, i32 0, i32 1
%4 = load i64, ptr %3, align 8
%5 = getelementptr inbounds %struct.sysinfo, ptr %1, i32 0, i32 0
%6 = load i32, ptr %5, align 8
%7 = sext i32 %6 to i64
%8 = add nsw i64 %7, %4
%9 = trunc i64 %8 to i32
store i32 %9, ptr %5, align 8
%10 = getelementptr inbounds %struct.sysinfo, ptr %1, i32 0, i32 0
%11 = load i32, ptr %10, align 8
%12 = ashr i32 %11, 10
%13 = sext i32 %12 to i64
ret i64 %13
}
declare i32 @sysinfo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdyvp_an8.c'
source_filename = "/tmp/tmpdyvp_an8.c"
target datalayout = "e-m:e-p270: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/tmpdyvp_an8.c"
target datalayout = "e-m:e-p270: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/tmpvgktfpw4.c'
source_filename = "/tmp/tmpvgktfpw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_nointr(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 0, ptr @errno, align 8
store i64 0, ptr %10, align 8
br label %12
12: ; preds = %49, %31, %4
%13 = load i64, ptr %10, align 8
%14 = load i64, ptr %8, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %16, label %54
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = load ptr, ptr %7, align 8
%19 = load i64, ptr %10, align 8
%20 = getelementptr i8, ptr %18, i64 %19
%21 = load i64, ptr %8, align 8
%22 = load i64, ptr %10, align 8
%23 = sub i64 %21, %22
%24 = call i32 @read(i32 noundef %17, ptr noundef %20, i64 noundef %23)
store i32 %24, ptr %11, align 4
%25 = load i32, ptr %11, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %32
27: ; preds = %16
%28 = load i64, ptr @errno, align 8
%29 = load i64, ptr @EINTR, align 8
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %32
31: ; preds = %27
br label %12, !llvm.loop !6
32: ; preds = %27, %16
%33 = load i32, ptr %11, align 4
%34 = icmp sle i32 %33, 0
br i1 %34, label %35, label %49
35: ; preds = %32
%36 = load ptr, ptr %9, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = load i32, ptr %11, align 4
%40 = load ptr, ptr %9, align 8
store i32 %39, ptr %40, align 4
br label %41
41: ; preds = %38, %35
%42 = load i64, ptr %10, align 8
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load i64, ptr %10, align 8
%46 = trunc i64 %45 to i32
store i32 %46, ptr %5, align 4
br label %62
47: ; preds = %41
%48 = load i32, ptr %11, align 4
store i32 %48, ptr %5, align 4
br label %62
49: ; preds = %32
%50 = load i32, ptr %11, align 4
%51 = sext i32 %50 to i64
%52 = load i64, ptr %10, align 8
%53 = add i64 %52, %51
store i64 %53, ptr %10, align 8
br label %12, !llvm.loop !6
54: ; preds = %12
%55 = load ptr, ptr %9, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %57, label %59
57: ; preds = %54
%58 = load ptr, ptr %9, align 8
store i32 1, ptr %58, align 4
br label %59
59: ; preds = %57, %54
%60 = load i64, ptr %10, align 8
%61 = trunc i64 %60 to i32
store i32 %61, ptr %5, align 4
br label %62
62: ; preds = %59, %47, %44
%63 = load i32, ptr %5, align 4
ret i32 %63
}
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvgktfpw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_nointr(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 0, ptr @errno, align 8
store i64 0, ptr %10, align 8
%12 = load i64, ptr %10, align 8
%13 = load i64, ptr %8, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %.lr.ph, label %56
.lr.ph: ; preds = %4
br label %15
15: ; preds = %.lr.ph, %.backedge
%16 = load i32, ptr %6, align 4
%17 = load ptr, ptr %7, align 8
%18 = load i64, ptr %10, align 8
%19 = getelementptr i8, ptr %17, i64 %18
%20 = load i64, ptr %8, align 8
%21 = load i64, ptr %10, align 8
%22 = sub i64 %20, %21
%23 = call i32 @read(i32 noundef %16, ptr noundef %19, i64 noundef %22)
store i32 %23, ptr %11, align 4
%24 = load i32, ptr %11, align 4
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %34
26: ; preds = %15
%27 = load i64, ptr @errno, align 8
%28 = load i64, ptr @EINTR, align 8
%29 = icmp eq i64 %27, %28
br i1 %29, label %30, label %34
30: ; preds = %26
br label %.backedge
.backedge: ; preds = %30, %51
%31 = load i64, ptr %10, align 8
%32 = load i64, ptr %8, align 8
%33 = icmp ult i64 %31, %32
br i1 %33, label %15, label %._crit_edge, !llvm.loop !6
34: ; preds = %26, %15
%35 = load i32, ptr %11, align 4
%36 = icmp sle i32 %35, 0
br i1 %36, label %37, label %51
37: ; preds = %34
%38 = load ptr, ptr %9, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = load i32, ptr %11, align 4
%42 = load ptr, ptr %9, align 8
store i32 %41, ptr %42, align 4
br label %43
43: ; preds = %40, %37
%44 = load i64, ptr %10, align 8
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %43
%47 = load i64, ptr %10, align 8
%48 = trunc i64 %47 to i32
store i32 %48, ptr %5, align 4
br label %64
49: ; preds = %43
%50 = load i32, ptr %11, align 4
store i32 %50, ptr %5, align 4
br label %64
51: ; preds = %34
%52 = load i32, ptr %11, align 4
%53 = sext i32 %52 to i64
%54 = load i64, ptr %10, align 8
%55 = add i64 %54, %53
store i64 %55, ptr %10, align 8
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %56
56: ; preds = %._crit_edge, %4
%57 = load ptr, ptr %9, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %61
59: ; preds = %56
%60 = load ptr, ptr %9, align 8
store i32 1, ptr %60, align 4
br label %61
61: ; preds = %59, %56
%62 = load i64, ptr %10, align 8
%63 = trunc i64 %62 to i32
store i32 %63, ptr %5, align 4
br label %64
64: ; preds = %61, %49, %46
%65 = load i32, ptr %5, align 4
ret i32 %65
}
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphmkjvvl_.c'
source_filename = "/tmp/tmphmkjvvl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Assertion failed: %s at %s, line %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__assert(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphmkjvvl_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Assertion failed: %s at %s, line %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__assert(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphy6k0kz1.c'
source_filename = "/tmp/tmphy6k0kz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[mf_movidius_arduino_units] starting...\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"[mf_movidius_arduino_units] units init failed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @mf_movi_unit_init()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 1
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %10
9: ; preds = %0
store i32 1, ptr %1, align 4
br label %10
10: ; preds = %9, %7
%11 = load i32, ptr %1, align 4
ret i32 %11
}
declare i32 @printf(ptr noundef) #1
declare i32 @mf_movi_unit_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphy6k0kz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[mf_movidius_arduino_units] starting...\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"[mf_movidius_arduino_units] units init failed.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @mf_movi_unit_init()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 1
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %10
9: ; preds = %0
store i32 1, ptr %1, align 4
br label %10
10: ; preds = %9, %7
%11 = load i32, ptr %1, align 4
ret i32 %11
}
declare i32 @printf(ptr noundef) #1
declare i32 @mf_movi_unit_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9p1fa5x2.c'
source_filename = "/tmp/tmp9p1fa5x2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"name=%s, age=%d, salary=%f\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"lan\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 @minprintf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 28, double noundef 1.200000e+04)
ret i32 0
}
declare i32 @minprintf(ptr noundef, ptr noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9p1fa5x2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"name=%s, age=%d, salary=%f\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"lan\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 @minprintf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 28, double noundef 1.200000e+04)
ret i32 0
}
declare i32 @minprintf(ptr noundef, ptr noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjcd2cpnx.c'
source_filename = "/tmp/tmpjcd2cpnx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjcd2cpnx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq6l3o1tp.c'
source_filename = "/tmp/tmpq6l3o1tp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atox(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 @ctox(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = shl i32 %6, 4
store i32 %7, ptr %3, align 4
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 1
%10 = call i32 @ctox(ptr noundef %9)
%11 = load i32, ptr %3, align 4
%12 = or i32 %11, %10
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = and i32 %13, 255
ret i32 %14
}
declare i32 @ctox(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq6l3o1tp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atox(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 @ctox(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = shl i32 %6, 4
store i32 %7, ptr %3, align 4
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 1
%10 = call i32 @ctox(ptr noundef %9)
%11 = load i32, ptr %3, align 4
%12 = or i32 %11, %10
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = and i32 %13, 255
ret i32 %14
}
declare i32 @ctox(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpluftzy3_.c'
source_filename = "/tmp/tmpluftzy3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"\22id\22:\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Usage: %s [FILE]\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = 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 ptr @.str, ptr %7, align 8
store i32 0, ptr %9, align 4
store i32 -1, ptr %10, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17)
store i32 1, ptr %3, align 4
br label %95
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i32 1
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %21, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.2)
store ptr %23, ptr %6, align 8
br label %24
24: ; preds = %93, %19
%25 = load ptr, ptr %6, align 8
%26 = call signext i8 @getc(ptr noundef %25)
store i8 %26, ptr %8, align 1
%27 = sext i8 %26 to i32
%28 = load i8, ptr @EOF, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %27, %29
br i1 %30, label %34, label %31
31: ; preds = %24
%32 = load i32, ptr %10, align 4
%33 = icmp sge i32 %32, 0
br label %34
34: ; preds = %31, %24
%35 = phi i1 [ true, %24 ], [ %33, %31 ]
br i1 %35, label %36, label %94
36: ; preds = %34
%37 = load i32, ptr %10, align 4
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %44
39: ; preds = %36
%40 = load i8, ptr %8, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 123
br i1 %42, label %43, label %44
43: ; preds = %39
store i32 0, ptr %10, align 4
br label %93
44: ; preds = %39, %36
%45 = load i8, ptr %8, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 10
br i1 %47, label %54, label %48
48: ; preds = %44
%49 = load i8, ptr %8, align 1
%50 = sext i8 %49 to i32
%51 = load i8, ptr @EOF, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %50, %52
br i1 %53, label %54, label %61
54: ; preds = %48, %44
%55 = load i32, ptr %10, align 4
%56 = icmp sge i32 %55, 0
br i1 %56, label %57, label %60
57: ; preds = %54
%58 = load i32, ptr %10, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %58)
store i32 -1, ptr %10, align 4
br label %60
60: ; preds = %57, %54
store i32 0, ptr %9, align 4
br label %92
61: ; preds = %48
%62 = load i32, ptr %9, align 4
%63 = icmp eq i32 %62, 5
br i1 %63, label %64, label %76
64: ; preds = %61
%65 = load ptr, ptr %6, align 8
%66 = call i32 @fscanf(ptr noundef %65, ptr noundef @.str.4, ptr noundef %11)
%67 = load ptr, ptr %6, align 8
%68 = call signext i8 @getc(ptr noundef %67)
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 44
br i1 %70, label %71, label %75
71: ; preds = %64
%72 = load i32, ptr %11, align 4
%73 = load i32, ptr %10, align 4
%74 = add nsw i32 %73, %72
store i32 %74, ptr %10, align 4
br label %75
75: ; preds = %71, %64
store i32 0, ptr %9, align 4
br label %91
76: ; preds = %61
%77 = load i8, ptr %8, align 1
%78 = sext i8 %77 to i32
%79 = load ptr, ptr %7, align 8
%80 = load i32, ptr %9, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp eq i32 %78, %84
br i1 %85, label %86, label %89
86: ; preds = %76
%87 = load i32, ptr %9, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %9, align 4
br label %90
89: ; preds = %76
store i32 0, ptr %9, align 4
br label %90
90: ; preds = %89, %86
br label %91
91: ; preds = %90, %75
br label %92
92: ; preds = %91, %60
br label %93
93: ; preds = %92, %43
br label %24, !llvm.loop !6
94: ; preds = %34
store i32 0, ptr %3, align 4
br label %95
95: ; preds = %94, %14
%96 = load i32, ptr %3, align 4
ret i32 %96
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpluftzy3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"\22id\22:\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Usage: %s [FILE]\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = 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 ptr @.str, ptr %7, align 8
store i32 0, ptr %9, align 4
store i32 -1, ptr %10, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17)
store i32 1, ptr %3, align 4
br label %95
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i32 1
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %21, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.2)
store ptr %23, ptr %6, align 8
br label %24
24: ; preds = %93, %19
%25 = load ptr, ptr %6, align 8
%26 = call signext i8 @getc(ptr noundef %25)
store i8 %26, ptr %8, align 1
%27 = sext i8 %26 to i32
%28 = load i8, ptr @EOF, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %27, %29
br i1 %30, label %34, label %31
31: ; preds = %24
%32 = load i32, ptr %10, align 4
%33 = icmp sge i32 %32, 0
br label %34
34: ; preds = %31, %24
%35 = phi i1 [ true, %24 ], [ %33, %31 ]
br i1 %35, label %36, label %94
36: ; preds = %34
%37 = load i32, ptr %10, align 4
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %44
39: ; preds = %36
%40 = load i8, ptr %8, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 123
br i1 %42, label %43, label %44
43: ; preds = %39
store i32 0, ptr %10, align 4
br label %93
44: ; preds = %39, %36
%45 = load i8, ptr %8, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 10
br i1 %47, label %54, label %48
48: ; preds = %44
%49 = load i8, ptr %8, align 1
%50 = sext i8 %49 to i32
%51 = load i8, ptr @EOF, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %50, %52
br i1 %53, label %54, label %61
54: ; preds = %48, %44
%55 = load i32, ptr %10, align 4
%56 = icmp sge i32 %55, 0
br i1 %56, label %57, label %60
57: ; preds = %54
%58 = load i32, ptr %10, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %58)
store i32 -1, ptr %10, align 4
br label %60
60: ; preds = %57, %54
store i32 0, ptr %9, align 4
br label %92
61: ; preds = %48
%62 = load i32, ptr %9, align 4
%63 = icmp eq i32 %62, 5
br i1 %63, label %64, label %76
64: ; preds = %61
%65 = load ptr, ptr %6, align 8
%66 = call i32 @fscanf(ptr noundef %65, ptr noundef @.str.4, ptr noundef %11)
%67 = load ptr, ptr %6, align 8
%68 = call signext i8 @getc(ptr noundef %67)
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 44
br i1 %70, label %71, label %75
71: ; preds = %64
%72 = load i32, ptr %11, align 4
%73 = load i32, ptr %10, align 4
%74 = add nsw i32 %73, %72
store i32 %74, ptr %10, align 4
br label %75
75: ; preds = %71, %64
store i32 0, ptr %9, align 4
br label %91
76: ; preds = %61
%77 = load i8, ptr %8, align 1
%78 = sext i8 %77 to i32
%79 = load ptr, ptr %7, align 8
%80 = load i32, ptr %9, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp eq i32 %78, %84
br i1 %85, label %86, label %89
86: ; preds = %76
%87 = load i32, ptr %9, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %9, align 4
br label %90
89: ; preds = %76
store i32 0, ptr %9, align 4
br label %90
90: ; preds = %89, %86
br label %91
91: ; preds = %90, %75
br label %92
92: ; preds = %91, %60
br label %93
93: ; preds = %92, %43
br label %24, !llvm.loop !6
94: ; preds = %34
store i32 0, ptr %3, align 4
br label %95
95: ; preds = %94, %14
%96 = load i32, ptr %3, align 4
ret i32 %96
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare signext i8 @getc(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpken7zowe.c'
source_filename = "/tmp/tmpken7zowe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bpf_attr_setup_map_elem_for_delete(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
store i32 %7, ptr %8, align 8
%9 = load ptr, ptr %6, align 8
%10 = ptrtoint ptr %9 to i64
%11 = load ptr, ptr %4, align 8
store i64 %10, ptr %11, align 8
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/tmpken7zowe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bpf_attr_setup_map_elem_for_delete(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
store i32 %7, ptr %8, align 8
%9 = load ptr, ptr %6, align 8
%10 = ptrtoint ptr %9 to i64
%11 = load ptr, ptr %4, align 8
store i64 %10, ptr %11, align 8
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/tmpv75eac_m.c'
source_filename = "/tmp/tmpv75eac_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @v_EepromWaitBusy(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i8, align 1
store i16 %0, ptr %2, align 2
store i8 0, ptr %3, align 1
br label %4
4: ; preds = %14, %1
%5 = load i16, ptr %2, align 2
%6 = zext i16 %5 to i32
%7 = add nsw i32 %6, 63
%8 = trunc i32 %7 to i16
%9 = call zeroext i8 @inb(i16 noundef zeroext %8)
store i8 %9, ptr %3, align 1
%10 = load i8, ptr %3, align 1
%11 = zext i8 %10 to i32
%12 = and i32 %11, 128
%13 = trunc i32 %12 to i8
store i8 %13, ptr %3, align 1
br label %14
14: ; preds = %4
%15 = load i8, ptr %3, align 1
%16 = zext i8 %15 to i32
%17 = icmp eq i32 %16, 128
br i1 %17, label %4, label %18, !llvm.loop !6
18: ; preds = %14
ret void
}
declare zeroext i8 @inb(i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv75eac_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @v_EepromWaitBusy(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i8, align 1
store i16 %0, ptr %2, align 2
store i8 0, ptr %3, align 1
br label %4
4: ; preds = %14, %1
%5 = load i16, ptr %2, align 2
%6 = zext i16 %5 to i32
%7 = add nsw i32 %6, 63
%8 = trunc i32 %7 to i16
%9 = call zeroext i8 @inb(i16 noundef zeroext %8)
store i8 %9, ptr %3, align 1
%10 = load i8, ptr %3, align 1
%11 = zext i8 %10 to i32
%12 = and i32 %11, 128
%13 = trunc i32 %12 to i8
store i8 %13, ptr %3, align 1
br label %14
14: ; preds = %4
%15 = load i8, ptr %3, align 1
%16 = zext i8 %15 to i32
%17 = icmp eq i32 %16, 128
br i1 %17, label %4, label %18, !llvm.loop !6
18: ; preds = %14
ret void
}
declare zeroext i8 @inb(i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkncov2dh.c'
source_filename = "/tmp/tmpkncov2dh.c"
target datalayout = "e-m:e-p270: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.fname = private unnamed_addr constant [12 x i8] c"sk1test.dat\00", align 1
@__const.main.tsttxt = private unnamed_addr constant [67 x i8] c"A random line of text, used to test correct read, write and seek.\0A\00", align 16
@.str = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"fail\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@SEEK_CUR = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EINVAL = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [6 x i8] c"pass\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [12 x i8], align 1
%4 = alloca [67 x i8], align 16
%5 = alloca [67 x i8], align 16
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.fname, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.tsttxt, i64 67, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 67, i1 false)
%7 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %24, label %11
11: ; preds = %0
%12 = getelementptr inbounds [67 x i8], ptr %4, i64 0, i64 0
%13 = getelementptr inbounds [67 x i8], ptr %4, i64 0, i64 0
%14 = call i64 @strlen(ptr noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i64 @fwrite(ptr noundef %12, i32 noundef 1, i64 noundef %14, ptr noundef %15)
%17 = getelementptr inbounds [67 x i8], ptr %4, i64 0, i64 0
%18 = call i64 @strlen(ptr noundef %17)
%19 = icmp ne i64 %16, %18
br i1 %19, label %24, label %20
20: ; preds = %11
%21 = load ptr, ptr %2, align 8
%22 = call i64 @fclose(ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %20, %11, %0
%25 = call i32 @printf(ptr noundef @.str.1)
%26 = call i32 @exit(i32 noundef 1) #5
unreachable
27: ; preds = %20
%28 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%29 = load i32, ptr @O_RDONLY, align 4
%30 = call i32 @open(ptr noundef %28, i32 noundef %29)
store i32 %30, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %31, 0
br i1 %32, label %56, label %33
33: ; preds = %27
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr @SEEK_CUR, align 4
%36 = call i32 @lseek(i32 noundef %34, i64 noundef -1, i32 noundef %35)
%37 = icmp ne i32 %36, -1
br i1 %37, label %56, label %38
38: ; preds = %33
%39 = load i64, ptr @errno, align 8
%40 = load i64, ptr @EINVAL, align 8
%41 = icmp ne i64 %39, %40
br i1 %41, label %56, label %42
42: ; preds = %38
%43 = load i32, ptr %6, align 4
%44 = getelementptr inbounds [67 x i8], ptr %5, i64 0, i64 0
%45 = getelementptr inbounds [67 x i8], ptr %4, i64 0, i64 0
%46 = call i64 @strlen(ptr noundef %45)
%47 = call i64 @read(i32 noundef %43, ptr noundef %44, i64 noundef %46)
%48 = getelementptr inbounds [67 x i8], ptr %4, i64 0, i64 0
%49 = call i64 @strlen(ptr noundef %48)
%50 = icmp ne i64 %47, %49
br i1 %50, label %56, label %51
51: ; preds = %42
%52 = getelementptr inbounds [67 x i8], ptr %5, i64 0, i64 0
%53 = getelementptr inbounds [67 x i8], ptr %4, i64 0, i64 0
%54 = call i64 @strcmp(ptr noundef %52, ptr noundef %53)
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %51, %42, %38, %33, %27
%57 = call i32 @printf(ptr noundef @.str.1)
%58 = call i32 @exit(i32 noundef 1) #5
unreachable
59: ; preds = %51
%60 = call i32 @printf(ptr noundef @.str.2)
%61 = call i32 @exit(i32 noundef 0) #5
unreachable
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare ptr @fopen(ptr noundef, ptr noundef) #3
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #3
declare i64 @strlen(ptr noundef) #3
declare i64 @fclose(ptr noundef) #3
declare i32 @printf(ptr noundef) #3
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #4
declare i32 @open(ptr noundef, i32 noundef) #3
declare i32 @lseek(i32 noundef, i64 noundef, i32 noundef) #3
declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #3
declare i64 @strcmp(ptr noundef, ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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/tmpkncov2dh.c"
target datalayout = "e-m:e-p270: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.fname = private unnamed_addr constant [12 x i8] c"sk1test.dat\00", align 1
@__const.main.tsttxt = private unnamed_addr constant [67 x i8] c"A random line of text, used to test correct read, write and seek.\0A\00", align 16
@.str = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"fail\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@SEEK_CUR = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EINVAL = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [6 x i8] c"pass\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [12 x i8], align 1
%4 = alloca [67 x i8], align 16
%5 = alloca [67 x i8], align 16
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.fname, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.tsttxt, i64 67, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 67, i1 false)
%7 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %24, label %11
11: ; preds = %0
%12 = getelementptr inbounds [67 x i8], ptr %4, i64 0, i64 0
%13 = getelementptr inbounds [67 x i8], ptr %4, i64 0, i64 0
%14 = call i64 @strlen(ptr noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i64 @fwrite(ptr noundef %12, i32 noundef 1, i64 noundef %14, ptr noundef %15)
%17 = getelementptr inbounds [67 x i8], ptr %4, i64 0, i64 0
%18 = call i64 @strlen(ptr noundef %17)
%19 = icmp ne i64 %16, %18
br i1 %19, label %24, label %20
20: ; preds = %11
%21 = load ptr, ptr %2, align 8
%22 = call i64 @fclose(ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %20, %11, %0
%25 = call i32 @printf(ptr noundef @.str.1)
%26 = call i32 @exit(i32 noundef 1) #5
unreachable
27: ; preds = %20
%28 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0
%29 = load i32, ptr @O_RDONLY, align 4
%30 = call i32 @open(ptr noundef %28, i32 noundef %29)
store i32 %30, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %31, 0
br i1 %32, label %56, label %33
33: ; preds = %27
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr @SEEK_CUR, align 4
%36 = call i32 @lseek(i32 noundef %34, i64 noundef -1, i32 noundef %35)
%37 = icmp ne i32 %36, -1
br i1 %37, label %56, label %38
38: ; preds = %33
%39 = load i64, ptr @errno, align 8
%40 = load i64, ptr @EINVAL, align 8
%41 = icmp ne i64 %39, %40
br i1 %41, label %56, label %42
42: ; preds = %38
%43 = load i32, ptr %6, align 4
%44 = getelementptr inbounds [67 x i8], ptr %5, i64 0, i64 0
%45 = getelementptr inbounds [67 x i8], ptr %4, i64 0, i64 0
%46 = call i64 @strlen(ptr noundef %45)
%47 = call i64 @read(i32 noundef %43, ptr noundef %44, i64 noundef %46)
%48 = getelementptr inbounds [67 x i8], ptr %4, i64 0, i64 0
%49 = call i64 @strlen(ptr noundef %48)
%50 = icmp ne i64 %47, %49
br i1 %50, label %56, label %51
51: ; preds = %42
%52 = getelementptr inbounds [67 x i8], ptr %5, i64 0, i64 0
%53 = getelementptr inbounds [67 x i8], ptr %4, i64 0, i64 0
%54 = call i64 @strcmp(ptr noundef %52, ptr noundef %53)
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %51, %42, %38, %33, %27
%57 = call i32 @printf(ptr noundef @.str.1)
%58 = call i32 @exit(i32 noundef 1) #5
unreachable
59: ; preds = %51
%60 = call i32 @printf(ptr noundef @.str.2)
%61 = call i32 @exit(i32 noundef 0) #5
unreachable
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare ptr @fopen(ptr noundef, ptr noundef) #3
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #3
declare i64 @strlen(ptr noundef) #3
declare i64 @fclose(ptr noundef) #3
declare i32 @printf(ptr noundef) #3
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #4
declare i32 @open(ptr noundef, i32 noundef) #3
declare i32 @lseek(i32 noundef, i64 noundef, i32 noundef) #3
declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #3
declare i64 @strcmp(ptr noundef, ptr noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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/tmptv39kup3.c'
source_filename = "/tmp/tmptv39kup3.c"
target datalayout = "e-m:e-p270: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/tmptv39kup3.c"
target datalayout = "e-m:e-p270: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/tmpbv73h99u.c'
source_filename = "/tmp/tmpbv73h99u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"UNKNOWN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_alloc_strategy() #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/tmpbv73h99u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"UNKNOWN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_alloc_strategy() #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/tmpd6bp0s0o.c'
source_filename = "/tmp/tmpd6bp0s0o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pga_init() #0 {
%1 = call i32 (...) @register_pga_function_list()
ret void
}
declare i32 @register_pga_function_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd6bp0s0o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pga_init() #0 {
%1 = call i32 (...) @register_pga_function_list()
ret void
}
declare i32 @register_pga_function_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxnm68f4s.c'
source_filename = "/tmp/tmpxnm68f4s.c"
target datalayout = "e-m:e-p270: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.termios = type { i32 }
@.str = private unnamed_addr constant [11 x i8] c"hello eyu\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.termios, 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 @tcgetattr(i32 noundef 1, ptr noundef %2)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @tcgetattr(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/tmpxnm68f4s.c"
target datalayout = "e-m:e-p270: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.termios = type { i32 }
@.str = private unnamed_addr constant [11 x i8] c"hello eyu\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.termios, 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 @tcgetattr(i32 noundef 1, ptr noundef %2)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @tcgetattr(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/tmpqdbe6kax.c'
source_filename = "/tmp/tmpqdbe6kax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"solution from thread #%d = \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%3d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @backtrack(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i8, align 1
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%16 = load i32, ptr %9, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %41
19: ; preds = %5
%20 = load i32, ptr @stdout, align 4
%21 = call i32 (...) @omp_get_thread_num()
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str, i32 noundef %21)
store i32 0, ptr %11, align 4
br label %23
23: ; preds = %35, %19
%24 = load i32, ptr %11, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp ult i32 %24, %25
br i1 %26, label %27, label %38
27: ; preds = %23
%28 = load i32, ptr @stdout, align 4
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %11, align 4
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.1, i32 noundef %33)
br label %35
35: ; preds = %27
%36 = load i32, ptr %11, align 4
%37 = add i32 %36, 1
store i32 %37, ptr %11, align 4
br label %23, !llvm.loop !6
38: ; preds = %23
%39 = load i32, ptr @stdout, align 4
%40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.2)
br label %91
41: ; preds = %5
store i32 0, ptr %11, align 4
br label %42
42: ; preds = %87, %41
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %7, align 4
%45 = icmp ult i32 %43, %44
br i1 %45, label %46, label %90
46: ; preds = %42
%47 = load i32, ptr %9, align 4
%48 = load i32, ptr %10, align 4
%49 = icmp eq i32 %47, %48
br i1 %49, label %50, label %73
50: ; preds = %46
%51 = load i32, ptr %6, align 4
%52 = call i64 @calloc(i32 noundef %51, i32 noundef 4)
%53 = inttoptr i64 %52 to ptr
store ptr %53, ptr %15, align 8
store i32 0, ptr %12, align 4
br label %54
54: ; preds = %68, %50
%55 = load i32, ptr %12, align 4
%56 = load i32, ptr %9, align 4
%57 = icmp ult i32 %55, %56
br i1 %57, label %58, label %71
58: ; preds = %54
%59 = load ptr, ptr %8, align 8
%60 = load i32, ptr %12, align 4
%61 = zext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = load i32, ptr %62, align 4
%64 = load ptr, ptr %15, align 8
%65 = load i32, ptr %12, align 4
%66 = zext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
store i32 %63, ptr %67, align 4
br label %68
68: ; preds = %58
%69 = load i32, ptr %12, align 4
%70 = add i32 %69, 1
store i32 %70, ptr %12, align 4
br label %54, !llvm.loop !8
71: ; preds = %54
%72 = load ptr, ptr %15, align 8
store ptr %72, ptr %14, align 8
br label %75
73: ; preds = %46
%74 = load ptr, ptr %8, align 8
store ptr %74, ptr %14, align 8
br label %75
75: ; preds = %73, %71
%76 = load i32, ptr %11, align 4
%77 = load ptr, ptr %14, align 8
%78 = load i32, ptr %9, align 4
%79 = zext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
store i32 %76, ptr %80, align 4
%81 = load i32, ptr %6, align 4
%82 = load i32, ptr %7, align 4
%83 = load ptr, ptr %14, align 8
%84 = load i32, ptr %9, align 4
%85 = add i32 %84, 1
%86 = load i32, ptr %10, align 4
call void @backtrack(i32 noundef %81, i32 noundef %82, ptr noundef %83, i32 noundef %85, i32 noundef %86)
br label %87
87: ; preds = %75
%88 = load i32, ptr %11, align 4
%89 = add i32 %88, 1
store i32 %89, ptr %11, align 4
br label %42, !llvm.loop !9
90: ; preds = %42
br label %91
91: ; preds = %90, %38
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @omp_get_thread_num(...) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqdbe6kax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"solution from thread #%d = \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%3d \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @backtrack(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i8, align 1
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%16 = load i32, ptr %9, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %43
19: ; preds = %5
%20 = load i32, ptr @stdout, align 4
%21 = call i32 (...) @omp_get_thread_num()
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str, i32 noundef %21)
store i32 0, ptr %11, align 4
%23 = load i32, ptr %11, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp ult i32 %23, %24
br i1 %25, label %.lr.ph5, label %40
.lr.ph5: ; preds = %19
br label %26
26: ; preds = %.lr.ph5, %34
%27 = load i32, ptr @stdout, align 4
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %11, align 4
%30 = zext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.1, i32 noundef %32)
br label %34
34: ; preds = %26
%35 = load i32, ptr %11, align 4
%36 = add i32 %35, 1
store i32 %36, ptr %11, align 4
%37 = load i32, ptr %11, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp ult i32 %37, %38
br i1 %39, label %26, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %34
br label %40
40: ; preds = %._crit_edge6, %19
%41 = load i32, ptr @stdout, align 4
%42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.2)
br label %97
43: ; preds = %5
store i32 0, ptr %11, align 4
%44 = load i32, ptr %11, align 4
%45 = load i32, ptr %7, align 4
%46 = icmp ult i32 %44, %45
br i1 %46, label %.lr.ph2, label %96
.lr.ph2: ; preds = %43
br label %47
47: ; preds = %.lr.ph2, %90
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %10, align 4
%50 = icmp eq i32 %48, %49
br i1 %50, label %51, label %76
51: ; preds = %47
%52 = load i32, ptr %6, align 4
%53 = call i64 @calloc(i32 noundef %52, i32 noundef 4)
%54 = inttoptr i64 %53 to ptr
store ptr %54, ptr %15, align 8
store i32 0, ptr %12, align 4
%55 = load i32, ptr %12, align 4
%56 = load i32, ptr %9, align 4
%57 = icmp ult i32 %55, %56
br i1 %57, label %.lr.ph, label %74
.lr.ph: ; preds = %51
br label %58
58: ; preds = %.lr.ph, %68
%59 = load ptr, ptr %8, align 8
%60 = load i32, ptr %12, align 4
%61 = zext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = load i32, ptr %62, align 4
%64 = load ptr, ptr %15, align 8
%65 = load i32, ptr %12, align 4
%66 = zext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
store i32 %63, ptr %67, align 4
br label %68
68: ; preds = %58
%69 = load i32, ptr %12, align 4
%70 = add i32 %69, 1
store i32 %70, ptr %12, align 4
%71 = load i32, ptr %12, align 4
%72 = load i32, ptr %9, align 4
%73 = icmp ult i32 %71, %72
br i1 %73, label %58, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %68
br label %74
74: ; preds = %._crit_edge, %51
%75 = load ptr, ptr %15, align 8
store ptr %75, ptr %14, align 8
br label %78
76: ; preds = %47
%77 = load ptr, ptr %8, align 8
store ptr %77, ptr %14, align 8
br label %78
78: ; preds = %76, %74
%79 = load i32, ptr %11, align 4
%80 = load ptr, ptr %14, align 8
%81 = load i32, ptr %9, align 4
%82 = zext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
store i32 %79, ptr %83, align 4
%84 = load i32, ptr %6, align 4
%85 = load i32, ptr %7, align 4
%86 = load ptr, ptr %14, align 8
%87 = load i32, ptr %9, align 4
%88 = add i32 %87, 1
%89 = load i32, ptr %10, align 4
call void @backtrack(i32 noundef %84, i32 noundef %85, ptr noundef %86, i32 noundef %88, i32 noundef %89)
br label %90
90: ; preds = %78
%91 = load i32, ptr %11, align 4
%92 = add i32 %91, 1
store i32 %92, ptr %11, align 4
%93 = load i32, ptr %11, align 4
%94 = load i32, ptr %7, align 4
%95 = icmp ult i32 %93, %94
br i1 %95, label %47, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %90
br label %96
96: ; preds = %._crit_edge3, %43
br label %97
97: ; preds = %96, %40
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @omp_get_thread_num(...) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpjxnq6k1_.c'
source_filename = "/tmp/tmpjxnq6k1_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isr() #0 {
%1 = call i32 (...) @foo()
ret void
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjxnq6k1_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isr() #0 {
%1 = call i32 (...) @foo()
ret void
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr1i0pu02.c'
source_filename = "/tmp/tmpr1i0pu02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memory_set_interrupt_flag(ptr noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
%7 = call zeroext i8 @memory_get_interrupt_flag(ptr noundef %6)
store i8 %7, ptr %5, align 1
%8 = load ptr, ptr %3, align 8
%9 = load i8, ptr %5, align 1
%10 = zext i8 %9 to i32
%11 = or i32 %10, 1
%12 = trunc i32 %11 to i8
%13 = call i32 @memory_set_d8(ptr noundef %8, i16 noundef zeroext -241, i8 noundef zeroext %12)
ret void
}
declare zeroext i8 @memory_get_interrupt_flag(ptr noundef) #1
declare i32 @memory_set_d8(ptr noundef, i16 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr1i0pu02.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memory_set_interrupt_flag(ptr noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%6 = load ptr, ptr %3, align 8
%7 = call zeroext i8 @memory_get_interrupt_flag(ptr noundef %6)
store i8 %7, ptr %5, align 1
%8 = load ptr, ptr %3, align 8
%9 = load i8, ptr %5, align 1
%10 = zext i8 %9 to i32
%11 = or i32 %10, 1
%12 = trunc i32 %11 to i8
%13 = call i32 @memory_set_d8(ptr noundef %8, i16 noundef zeroext -241, i8 noundef zeroext %12)
ret void
}
declare zeroext i8 @memory_get_interrupt_flag(ptr noundef) #1
declare i32 @memory_set_d8(ptr noundef, i16 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjirz5qew.c'
source_filename = "/tmp/tmpjirz5qew.c"
target datalayout = "e-m:e-p270: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/tmpjirz5qew.c"
target datalayout = "e-m:e-p270: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/tmp6dxxaxbv.c'
source_filename = "/tmp/tmp6dxxaxbv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
%struct.timeval = type { i32, i64 }
@.str = private unnamed_addr constant [12 x i8] c"getsockname\00", align 1
@BUFSIZ = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"clnttcp_create\00", align 1
@CLSET_TIMEOUT = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [34 x i8] c"rpc_init: changing timeout failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @convert_socket_to_rpc_client(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
%9 = alloca %struct.timeval, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 4, ptr %10, align 4
%12 = load i32, ptr %5, align 4
%13 = call i64 @getsockname(i32 noundef %12, ptr noundef %8, ptr noundef %10)
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 @perror(ptr noundef @.str)
store ptr null, ptr %4, align 8
br label %40
17: ; preds = %3
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr @BUFSIZ, align 4
%21 = load i32, ptr @BUFSIZ, align 4
%22 = call ptr @clnttcp_create(ptr noundef %8, i32 noundef %18, i32 noundef %19, ptr noundef %5, i32 noundef %20, i32 noundef %21)
store ptr %22, ptr %11, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %17
%25 = call i32 @clnt_pcreateerror(ptr noundef @.str.1)
store ptr null, ptr %4, align 8
br label %40
26: ; preds = %17
%27 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
store i32 1800, ptr %27, align 8
%28 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1
store i64 0, ptr %28, align 8
%29 = load ptr, ptr %11, align 8
%30 = load i32, ptr @CLSET_TIMEOUT, align 4
%31 = call i32 @clnt_control(ptr noundef %29, i32 noundef %30, ptr noundef %9)
%32 = icmp ne i32 %31, 0
br i1 %32, label %38, label %33
33: ; preds = %26
%34 = load i32, ptr @stderr, align 4
%35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.2)
%36 = load ptr, ptr %11, align 8
%37 = call i32 @clnt_destroy(ptr noundef %36)
store ptr null, ptr %4, align 8
br label %40
38: ; preds = %26
%39 = load ptr, ptr %11, align 8
store ptr %39, ptr %4, align 8
br label %40
40: ; preds = %38, %33, %24, %15
%41 = load ptr, ptr %4, align 8
ret ptr %41
}
declare i64 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @clnttcp_create(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @clnt_pcreateerror(ptr noundef) #1
declare i32 @clnt_control(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @clnt_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6dxxaxbv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
%struct.timeval = type { i32, i64 }
@.str = private unnamed_addr constant [12 x i8] c"getsockname\00", align 1
@BUFSIZ = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"clnttcp_create\00", align 1
@CLSET_TIMEOUT = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [34 x i8] c"rpc_init: changing timeout failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @convert_socket_to_rpc_client(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
%9 = alloca %struct.timeval, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 4, ptr %10, align 4
%12 = load i32, ptr %5, align 4
%13 = call i64 @getsockname(i32 noundef %12, ptr noundef %8, ptr noundef %10)
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 @perror(ptr noundef @.str)
store ptr null, ptr %4, align 8
br label %40
17: ; preds = %3
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr @BUFSIZ, align 4
%21 = load i32, ptr @BUFSIZ, align 4
%22 = call ptr @clnttcp_create(ptr noundef %8, i32 noundef %18, i32 noundef %19, ptr noundef %5, i32 noundef %20, i32 noundef %21)
store ptr %22, ptr %11, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %17
%25 = call i32 @clnt_pcreateerror(ptr noundef @.str.1)
store ptr null, ptr %4, align 8
br label %40
26: ; preds = %17
%27 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
store i32 1800, ptr %27, align 8
%28 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1
store i64 0, ptr %28, align 8
%29 = load ptr, ptr %11, align 8
%30 = load i32, ptr @CLSET_TIMEOUT, align 4
%31 = call i32 @clnt_control(ptr noundef %29, i32 noundef %30, ptr noundef %9)
%32 = icmp ne i32 %31, 0
br i1 %32, label %38, label %33
33: ; preds = %26
%34 = load i32, ptr @stderr, align 4
%35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.2)
%36 = load ptr, ptr %11, align 8
%37 = call i32 @clnt_destroy(ptr noundef %36)
store ptr null, ptr %4, align 8
br label %40
38: ; preds = %26
%39 = load ptr, ptr %11, align 8
store ptr %39, ptr %4, align 8
br label %40
40: ; preds = %38, %33, %24, %15
%41 = load ptr, ptr %4, align 8
ret ptr %41
}
declare i64 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @clnttcp_create(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @clnt_pcreateerror(ptr noundef) #1
declare i32 @clnt_control(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @clnt_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnkapm0ox.c'
source_filename = "/tmp/tmpnkapm0ox.c"
target datalayout = "e-m:e-p270: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/tmpnkapm0ox.c"
target datalayout = "e-m:e-p270: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/tmptanemz4w.c'
source_filename = "/tmp/tmptanemz4w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%llu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [70 x i64], align 16
store i32 0, ptr %1, align 4
%6 = getelementptr inbounds [70 x i64], ptr %5, i64 0, i64 0
store i64 1, ptr %6, align 16
%7 = getelementptr inbounds [70 x i64], ptr %5, i64 0, i64 1
store i64 3, ptr %7, align 8
store i32 2, ptr %3, align 4
br label %8
8: ; preds = %21, %0
%9 = load i32, ptr %3, align 4
%10 = icmp sle i32 %9, 70
br i1 %10, label %11, label %24
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = sub nsw i32 %12, 1
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [70 x i64], ptr %5, i64 0, i64 %14
%16 = load i64, ptr %15, align 8
%17 = mul i64 %16, 3
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [70 x i64], ptr %5, i64 0, i64 %19
store i64 %17, ptr %20, align 8
br label %21
21: ; preds = %11
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %8, !llvm.loop !6
24: ; preds = %8
%25 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %26
26: ; preds = %30, %24
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %2, align 4
%29 = icmp ne i32 %27, 0
br i1 %29, label %30, label %38
30: ; preds = %26
%31 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [70 x i64], ptr %5, i64 0, i64 %33
%35 = load i64, ptr %34, align 8
%36 = sub i64 %35, 1
%37 = call i32 @printf(ptr noundef @.str.1, i64 noundef %36)
br label %26, !llvm.loop !8
38: ; preds = %26
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptanemz4w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%llu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [70 x i64], align 16
store i32 0, ptr %1, align 4
%6 = getelementptr inbounds [70 x i64], ptr %5, i64 0, i64 0
store i64 1, ptr %6, align 16
%7 = getelementptr inbounds [70 x i64], ptr %5, i64 0, i64 1
store i64 3, ptr %7, align 8
store i32 2, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %8, 70
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %20
%11 = load i32, ptr %3, align 4
%12 = sub nsw i32 %11, 1
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [70 x i64], ptr %5, i64 0, i64 %13
%15 = load i64, ptr %14, align 8
%16 = mul i64 %15, 3
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [70 x i64], ptr %5, i64 0, i64 %18
store i64 %16, ptr %19, align 8
br label %20
20: ; preds = %10
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp sle i32 %23, 70
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %0
%26 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %2, align 4
%29 = icmp ne i32 %27, 0
br i1 %29, label %.lr.ph2, label %41
.lr.ph2: ; preds = %25
br label %30
30: ; preds = %.lr.ph2, %30
%31 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [70 x i64], ptr %5, i64 0, i64 %33
%35 = load i64, ptr %34, align 8
%36 = sub i64 %35, 1
%37 = call i32 @printf(ptr noundef @.str.1, i64 noundef %36)
%38 = load i32, ptr %2, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %2, align 4
%40 = icmp ne i32 %38, 0
br i1 %40, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %41
41: ; preds = %._crit_edge3, %25
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp6q5qpjds.c'
source_filename = "/tmp/tmp6q5qpjds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mtof(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fadd double %3, 0x4042302B2420007A
%5 = call double @pow(double noundef 0x3FF0F38F92D97963, double noundef %4) #2
ret double %5
}
; 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/tmp6q5qpjds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mtof(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fadd double %3, 0x4042302B2420007A
%5 = call double @pow(double noundef 0x3FF0F38F92D97963, double noundef %4) #2
ret double %5
}
; 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/tmponbwftmg.c'
source_filename = "/tmp/tmponbwftmg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"msproject.xml\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"\09<Finish>%s</Finish>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @function_est_date_end(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @translateDate(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @write(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @free(ptr noundef %8)
ret void
}
declare ptr @translateDate(ptr noundef) #1
declare i32 @write(ptr noundef, 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/tmponbwftmg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"msproject.xml\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"\09<Finish>%s</Finish>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @function_est_date_end(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @translateDate(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @write(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @free(ptr noundef %8)
ret void
}
declare ptr @translateDate(ptr noundef) #1
declare i32 @write(ptr noundef, 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/tmp6w80j71j.c'
source_filename = "/tmp/tmp6w80j71j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ec_getch_raw(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @getchar()
ret i32 %3
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6w80j71j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ec_getch_raw(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @getchar()
ret i32 %3
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw0wvrg4l.c'
source_filename = "/tmp/tmpw0wvrg4l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"test08_1 started.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"> \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"echo\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"unknown.\0A\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"test08_1 exit.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test08_1_main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [32 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = call i32 @puts(ptr noundef @.str)
br label %7
7: ; preds = %2, %27
%8 = call i32 @puts(ptr noundef @.str.1)
%9 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%10 = call i32 @gets(ptr noundef %9)
%11 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @strncmp(ptr noundef %11, ptr noundef @.str.2, i32 noundef 4)
%13 = icmp ne i32 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %7
%15 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%16 = getelementptr inbounds i8, ptr %15, i64 4
%17 = call i32 @puts(ptr noundef %16)
%18 = call i32 @puts(ptr noundef @.str.3)
br label %27
19: ; preds = %7
%20 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.4)
%22 = icmp ne i32 %21, 0
br i1 %22, label %24, label %23
23: ; preds = %19
br label %28
24: ; preds = %19
%25 = call i32 @puts(ptr noundef @.str.5)
br label %26
26: ; preds = %24
br label %27
27: ; preds = %26, %14
br label %7
28: ; preds = %23
%29 = call i32 @puts(ptr noundef @.str.6)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @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/tmpw0wvrg4l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"test08_1 started.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"> \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"echo\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"unknown.\0A\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"test08_1 exit.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test08_1_main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [32 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = call i32 @puts(ptr noundef @.str)
%7 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
br label %8
8: ; preds = %27, %2
%9 = call i32 @puts(ptr noundef @.str.1)
%10 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @gets(ptr noundef %10)
%12 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @strncmp(ptr noundef %12, ptr noundef @.str.2, i32 noundef 4)
%14 = icmp ne i32 %13, 0
br i1 %14, label %20, label %15
15: ; preds = %8
%16 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%17 = getelementptr inbounds i8, ptr %16, i64 4
%18 = call i32 @puts(ptr noundef %17)
%19 = call i32 @puts(ptr noundef @.str.3)
br label %27
20: ; preds = %8
%21 = call i32 @strcmp(ptr noundef %7, ptr noundef @.str.4)
%22 = icmp ne i32 %21, 0
br i1 %22, label %24, label %23
23: ; preds = %20
br label %28
24: ; preds = %20
%25 = call i32 @puts(ptr noundef @.str.5)
br label %26
26: ; preds = %24
br label %27
27: ; preds = %26, %15
br label %8
28: ; preds = %23
%29 = call i32 @puts(ptr noundef @.str.6)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @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/tmprl6uig7w.c'
source_filename = "/tmp/tmprl6uig7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_coretype() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = call i32 (...) @have_cpuid()
%8 = icmp ne i32 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %0
store i32 1, ptr %1, align 4
br label %78
10: ; preds = %0
%11 = call i32 @get_cputype(i32 noundef 4)
store i32 %11, ptr %2, align 4
%12 = call i32 @get_cputype(i32 noundef 1)
store i32 %12, ptr %3, align 4
%13 = call i32 @get_cputype(i32 noundef 5)
store i32 %13, ptr %4, align 4
%14 = call i32 @get_cputype(i32 noundef 2)
store i32 %14, ptr %5, align 4
%15 = call i32 (...) @get_vendor()
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %47
18: ; preds = %10
%19 = load i32, ptr %2, align 4
switch i32 %19, label %46 [
i32 4, label %20
i32 5, label %21
i32 6, label %22
i32 15, label %41
]
20: ; preds = %18
store i32 1, ptr %1, align 4
br label %78
21: ; preds = %18
store i32 2, ptr %1, align 4
br label %78
22: ; preds = %18
%23 = load i32, ptr %5, align 4
switch i32 %23, label %40 [
i32 0, label %24
i32 1, label %32
]
24: ; preds = %22
%25 = load i32, ptr %4, align 4
switch i32 %25, label %31 [
i32 0, label %26
i32 1, label %26
i32 2, label %26
i32 3, label %26
i32 4, label %26
i32 5, label %26
i32 6, label %26
i32 7, label %27
i32 8, label %28
i32 10, label %28
i32 11, label %28
i32 9, label %29
i32 13, label %29
i32 14, label %29
i32 15, label %30
]
26: ; preds = %24, %24, %24, %24, %24, %24, %24
store i32 3, ptr %1, align 4
br label %78
27: ; preds = %24
store i32 4, ptr %1, align 4
br label %78
28: ; preds = %24, %24, %24
store i32 5, ptr %1, align 4
br label %78
29: ; preds = %24, %24, %24
store i32 8, ptr %1, align 4
br label %78
30: ; preds = %24
store i32 14, ptr %1, align 4
br label %78
31: ; preds = %24
br label %40
32: ; preds = %22
%33 = load i32, ptr %4, align 4
switch i32 %33, label %39 [
i32 6, label %34
i32 7, label %35
i32 10, label %36
i32 11, label %36
i32 14, label %36
i32 15, label %36
i32 12, label %37
i32 13, label %38
]
34: ; preds = %32
store i32 14, ptr %1, align 4
br label %78
35: ; preds = %32
store i32 15, ptr %1, align 4
br label %78
36: ; preds = %32, %32, %32, %32
store i32 17, ptr %1, align 4
br label %78
37: ; preds = %32
store i32 18, ptr %1, align 4
br label %78
38: ; preds = %32
store i32 16, ptr %1, align 4
br label %78
39: ; preds = %32
br label %40
40: ; preds = %39, %22, %31
br label %41
41: ; preds = %18, %40
%42 = load i32, ptr %4, align 4
%43 = icmp sle i32 %42, 2
br i1 %43, label %44, label %45
44: ; preds = %41
store i32 6, ptr %1, align 4
br label %78
45: ; preds = %41
store i32 7, ptr %1, align 4
br label %78
46: ; preds = %18
br label %47
47: ; preds = %46, %10
%48 = load i32, ptr %6, align 4
%49 = icmp eq i32 %48, 3
br i1 %49, label %50, label %70
50: ; preds = %47
%51 = load i32, ptr %2, align 4
%52 = icmp sle i32 %51, 5
br i1 %52, label %53, label %54
53: ; preds = %50
store i32 1, ptr %1, align 4
br label %78
54: ; preds = %50
%55 = load i32, ptr %2, align 4
%56 = icmp sle i32 %55, 14
br i1 %56, label %57, label %58
57: ; preds = %54
store i32 9, ptr %1, align 4
br label %78
58: ; preds = %54
%59 = load i32, ptr %2, align 4
%60 = icmp eq i32 %59, 15
br i1 %60, label %61, label %69
61: ; preds = %58
%62 = load i32, ptr %3, align 4
%63 = icmp eq i32 %62, 0
br i1 %63, label %67, label %64
64: ; preds = %61
%65 = load i32, ptr %3, align 4
%66 = icmp eq i32 %65, 2
br i1 %66, label %67, label %68
67: ; preds = %64, %61
store i32 10, ptr %1, align 4
br label %78
68: ; preds = %64
store i32 11, ptr %1, align 4
br label %78
69: ; preds = %58
br label %70
70: ; preds = %69, %47
%71 = load i32, ptr %6, align 4
%72 = icmp eq i32 %71, 6
br i1 %72, label %73, label %77
73: ; preds = %70
%74 = load i32, ptr %2, align 4
switch i32 %74, label %76 [
i32 6, label %75
]
75: ; preds = %73
store i32 19, ptr %1, align 4
br label %78
76: ; preds = %73
store i32 12, ptr %1, align 4
br label %78
77: ; preds = %70
store i32 0, ptr %1, align 4
br label %78
78: ; preds = %77, %76, %75, %68, %67, %57, %53, %45, %44, %38, %37, %36, %35, %34, %30, %29, %28, %27, %26, %21, %20, %9
%79 = load i32, ptr %1, align 4
ret i32 %79
}
declare i32 @have_cpuid(...) #1
declare i32 @get_cputype(i32 noundef) #1
declare i32 @get_vendor(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprl6uig7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_coretype() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = call i32 (...) @have_cpuid()
%8 = icmp ne i32 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %0
store i32 1, ptr %1, align 4
br label %78
10: ; preds = %0
%11 = call i32 @get_cputype(i32 noundef 4)
store i32 %11, ptr %2, align 4
%12 = call i32 @get_cputype(i32 noundef 1)
store i32 %12, ptr %3, align 4
%13 = call i32 @get_cputype(i32 noundef 5)
store i32 %13, ptr %4, align 4
%14 = call i32 @get_cputype(i32 noundef 2)
store i32 %14, ptr %5, align 4
%15 = call i32 (...) @get_vendor()
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %47
18: ; preds = %10
%19 = load i32, ptr %2, align 4
switch i32 %19, label %46 [
i32 4, label %20
i32 5, label %21
i32 6, label %22
i32 15, label %41
]
20: ; preds = %18
store i32 1, ptr %1, align 4
br label %78
21: ; preds = %18
store i32 2, ptr %1, align 4
br label %78
22: ; preds = %18
%23 = load i32, ptr %5, align 4
switch i32 %23, label %40 [
i32 0, label %24
i32 1, label %32
]
24: ; preds = %22
%25 = load i32, ptr %4, align 4
switch i32 %25, label %31 [
i32 0, label %26
i32 1, label %26
i32 2, label %26
i32 3, label %26
i32 4, label %26
i32 5, label %26
i32 6, label %26
i32 7, label %27
i32 8, label %28
i32 10, label %28
i32 11, label %28
i32 9, label %29
i32 13, label %29
i32 14, label %29
i32 15, label %30
]
26: ; preds = %24, %24, %24, %24, %24, %24, %24
store i32 3, ptr %1, align 4
br label %78
27: ; preds = %24
store i32 4, ptr %1, align 4
br label %78
28: ; preds = %24, %24, %24
store i32 5, ptr %1, align 4
br label %78
29: ; preds = %24, %24, %24
store i32 8, ptr %1, align 4
br label %78
30: ; preds = %24
store i32 14, ptr %1, align 4
br label %78
31: ; preds = %24
br label %40
32: ; preds = %22
%33 = load i32, ptr %4, align 4
switch i32 %33, label %39 [
i32 6, label %34
i32 7, label %35
i32 10, label %36
i32 11, label %36
i32 14, label %36
i32 15, label %36
i32 12, label %37
i32 13, label %38
]
34: ; preds = %32
store i32 14, ptr %1, align 4
br label %78
35: ; preds = %32
store i32 15, ptr %1, align 4
br label %78
36: ; preds = %32, %32, %32, %32
store i32 17, ptr %1, align 4
br label %78
37: ; preds = %32
store i32 18, ptr %1, align 4
br label %78
38: ; preds = %32
store i32 16, ptr %1, align 4
br label %78
39: ; preds = %32
br label %40
40: ; preds = %39, %31, %22
br label %41
41: ; preds = %40, %18
%42 = load i32, ptr %4, align 4
%43 = icmp sle i32 %42, 2
br i1 %43, label %44, label %45
44: ; preds = %41
store i32 6, ptr %1, align 4
br label %78
45: ; preds = %41
store i32 7, ptr %1, align 4
br label %78
46: ; preds = %18
br label %47
47: ; preds = %46, %10
%48 = load i32, ptr %6, align 4
%49 = icmp eq i32 %48, 3
br i1 %49, label %50, label %70
50: ; preds = %47
%51 = load i32, ptr %2, align 4
%52 = icmp sle i32 %51, 5
br i1 %52, label %53, label %54
53: ; preds = %50
store i32 1, ptr %1, align 4
br label %78
54: ; preds = %50
%55 = load i32, ptr %2, align 4
%56 = icmp sle i32 %55, 14
br i1 %56, label %57, label %58
57: ; preds = %54
store i32 9, ptr %1, align 4
br label %78
58: ; preds = %54
%59 = load i32, ptr %2, align 4
%60 = icmp eq i32 %59, 15
br i1 %60, label %61, label %69
61: ; preds = %58
%62 = load i32, ptr %3, align 4
%63 = icmp eq i32 %62, 0
br i1 %63, label %67, label %64
64: ; preds = %61
%65 = load i32, ptr %3, align 4
%66 = icmp eq i32 %65, 2
br i1 %66, label %67, label %68
67: ; preds = %64, %61
store i32 10, ptr %1, align 4
br label %78
68: ; preds = %64
store i32 11, ptr %1, align 4
br label %78
69: ; preds = %58
br label %70
70: ; preds = %69, %47
%71 = load i32, ptr %6, align 4
%72 = icmp eq i32 %71, 6
br i1 %72, label %73, label %77
73: ; preds = %70
%74 = load i32, ptr %2, align 4
switch i32 %74, label %76 [
i32 6, label %75
]
75: ; preds = %73
store i32 19, ptr %1, align 4
br label %78
76: ; preds = %73
store i32 12, ptr %1, align 4
br label %78
77: ; preds = %70
store i32 0, ptr %1, align 4
br label %78
78: ; preds = %77, %76, %75, %68, %67, %57, %53, %45, %44, %38, %37, %36, %35, %34, %30, %29, %28, %27, %26, %21, %20, %9
%79 = load i32, ptr %1, align 4
ret i32 %79
}
declare i32 @have_cpuid(...) #1
declare i32 @get_cputype(i32 noundef) #1
declare i32 @get_vendor(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwp3ol1hd.c'
source_filename = "/tmp/tmpwp3ol1hd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"what is value 1 ? \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"what is value 2 ? \0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"what is value 3 ? \0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"what is value 4 ? \0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"what is value 5 ? \0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c" The average is %.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%18 = load float, ptr %2, align 4
store float %18, ptr %7, align 4
%19 = load float, ptr %3, align 4
%20 = load float, ptr %7, align 4
%21 = fadd float %20, %19
store float %21, ptr %7, align 4
%22 = load float, ptr %4, align 4
%23 = load float, ptr %7, align 4
%24 = fadd float %23, %22
store float %24, ptr %7, align 4
%25 = load float, ptr %5, align 4
%26 = load float, ptr %7, align 4
%27 = fadd float %26, %25
store float %27, ptr %7, align 4
%28 = load float, ptr %6, align 4
%29 = load float, ptr %7, align 4
%30 = fadd float %29, %28
store float %30, ptr %7, align 4
%31 = load float, ptr %7, align 4
%32 = fdiv float %31, 5.000000e+00
store float %32, ptr %7, align 4
%33 = load float, ptr %7, align 4
%34 = fpext float %33 to double
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %34)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwp3ol1hd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"what is value 1 ? \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"what is value 2 ? \0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"what is value 3 ? \0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"what is value 4 ? \0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"what is value 5 ? \0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c" The average is %.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%18 = load float, ptr %2, align 4
store float %18, ptr %7, align 4
%19 = load float, ptr %3, align 4
%20 = load float, ptr %7, align 4
%21 = fadd float %20, %19
store float %21, ptr %7, align 4
%22 = load float, ptr %4, align 4
%23 = load float, ptr %7, align 4
%24 = fadd float %23, %22
store float %24, ptr %7, align 4
%25 = load float, ptr %5, align 4
%26 = load float, ptr %7, align 4
%27 = fadd float %26, %25
store float %27, ptr %7, align 4
%28 = load float, ptr %6, align 4
%29 = load float, ptr %7, align 4
%30 = fadd float %29, %28
store float %30, ptr %7, align 4
%31 = load float, ptr %7, align 4
%32 = fdiv float %31, 5.000000e+00
store float %32, ptr %7, align 4
%33 = load float, ptr %7, align 4
%34 = fpext float %33 to double
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %34)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpslekfd8w.c'
source_filename = "/tmp/tmpslekfd8w.c"
target datalayout = "e-m:e-p270: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/tmpslekfd8w.c"
target datalayout = "e-m:e-p270: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/tmpbyni3_a5.c'
source_filename = "/tmp/tmpbyni3_a5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FindMarker(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [50 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = trunc i64 %10 to i32
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp sgt i32 %12, 49
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 49, ptr %8, align 4
br label %15
15: ; preds = %14, %2
store i32 0, ptr %7, align 4
br label %16
16: ; preds = %32, %15
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %35
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = call signext i8 @fgetc(ptr noundef %21)
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %24
store i8 %22, ptr %25, align 1
%26 = sext i8 %22 to i32
%27 = load i8, ptr @EOF, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %26, %28
br i1 %29, label %30, label %31
30: ; preds = %20
store i32 0, ptr %3, align 4
br label %80
31: ; preds = %20
br label %32
32: ; preds = %31
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
br label %16, !llvm.loop !6
35: ; preds = %16
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %37
store i8 0, ptr %38, align 1
br label %39
39: ; preds = %35, %76
%40 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %8, align 4
%43 = call i32 @strncmp(ptr noundef %40, ptr noundef %41, i32 noundef %42)
%44 = icmp ne i32 %43, 0
br i1 %44, label %46, label %45
45: ; preds = %39
store i32 1, ptr %3, align 4
br label %80
46: ; preds = %39
store i32 0, ptr %7, align 4
br label %47
47: ; preds = %61, %46
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %8, align 4
%50 = sub nsw i32 %49, 1
%51 = icmp slt i32 %48, %50
br i1 %51, label %52, label %64
52: ; preds = %47
%53 = load i32, ptr %7, align 4
%54 = add nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %55
%57 = load i8, ptr %56, align 1
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %59
store i8 %57, ptr %60, align 1
br label %61
61: ; preds = %52
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
br label %47, !llvm.loop !8
64: ; preds = %47
%65 = load ptr, ptr %4, align 8
%66 = call signext i8 @fgetc(ptr noundef %65)
%67 = load i32, ptr %8, align 4
%68 = sub nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %69
store i8 %66, ptr %70, align 1
%71 = sext i8 %66 to i32
%72 = load i8, ptr @EOF, align 1
%73 = sext i8 %72 to i32
%74 = icmp eq i32 %71, %73
br i1 %74, label %75, label %76
75: ; preds = %64
store i32 0, ptr %3, align 4
br label %80
76: ; preds = %64
%77 = load i32, ptr %8, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %78
store i8 0, ptr %79, align 1
br label %39
80: ; preds = %75, %45, %30
%81 = load i32, ptr %3, align 4
ret i32 %81
}
declare i64 @strlen(ptr noundef) #1
declare signext i8 @fgetc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbyni3_a5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FindMarker(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [50 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = trunc i64 %10 to i32
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp sgt i32 %12, 49
br i1 %13, label %14, label %15
14: ; preds = %2
store i32 49, ptr %8, align 4
br label %15
15: ; preds = %14, %2
store i32 0, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %37
.lr.ph: ; preds = %15
br label %19
19: ; preds = %.lr.ph, %31
%20 = load ptr, ptr %4, align 8
%21 = call signext i8 @fgetc(ptr noundef %20)
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %23
store i8 %21, ptr %24, align 1
%25 = sext i8 %21 to i32
%26 = load i8, ptr @EOF, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %25, %27
br i1 %28, label %29, label %30
29: ; preds = %19
store i32 0, ptr %3, align 4
br label %88
30: ; preds = %19
br label %31
31: ; preds = %30
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %15
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %39
store i8 0, ptr %40, align 1
%41 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %8, align 4
%44 = call i32 @strncmp(ptr noundef %41, ptr noundef %42, i32 noundef %43)
%45 = icmp ne i32 %44, 0
br i1 %45, label %.lr.ph5, label %46
.lr.ph5: ; preds = %37
br label %47
._crit_edge6: ; preds = %80
br label %46
46: ; preds = %._crit_edge6, %37
store i32 1, ptr %3, align 4
br label %88
47: ; preds = %.lr.ph5, %80
store i32 0, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %8, align 4
%50 = sub nsw i32 %49, 1
%51 = icmp slt i32 %48, %50
br i1 %51, label %.lr.ph2, label %68
.lr.ph2: ; preds = %47
br label %52
52: ; preds = %.lr.ph2, %61
%53 = load i32, ptr %7, align 4
%54 = add nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %55
%57 = load i8, ptr %56, align 1
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %59
store i8 %57, ptr %60, align 1
br label %61
61: ; preds = %52
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
%64 = load i32, ptr %7, align 4
%65 = load i32, ptr %8, align 4
%66 = sub nsw i32 %65, 1
%67 = icmp slt i32 %64, %66
br i1 %67, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %61
br label %68
68: ; preds = %._crit_edge3, %47
%69 = load ptr, ptr %4, align 8
%70 = call signext i8 @fgetc(ptr noundef %69)
%71 = load i32, ptr %8, align 4
%72 = sub nsw i32 %71, 1
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %73
store i8 %70, ptr %74, align 1
%75 = sext i8 %70 to i32
%76 = load i8, ptr @EOF, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %75, %77
br i1 %78, label %79, label %80
79: ; preds = %68
store i32 0, ptr %3, align 4
br label %88
80: ; preds = %68
%81 = load i32, ptr %8, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %82
store i8 0, ptr %83, align 1
%84 = load ptr, ptr %5, align 8
%85 = load i32, ptr %8, align 4
%86 = call i32 @strncmp(ptr noundef %41, ptr noundef %84, i32 noundef %85)
%87 = icmp ne i32 %86, 0
br i1 %87, label %47, label %._crit_edge6
88: ; preds = %79, %46, %29
%89 = load i32, ptr %3, align 4
ret i32 %89
}
declare i64 @strlen(ptr noundef) #1
declare signext i8 @fgetc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpxon_7t4f.c'
source_filename = "/tmp/tmpxon_7t4f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" ,.-\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c" ,.-abcdefghijklmnopqrstuvxyz\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isDialogVersionBetter09b() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [128 x i8], align 16
%11 = call ptr (...) @dialogNameOnly()
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %0
%16 = load ptr, ptr %2, align 8
%17 = call i64 @getVersion(ptr noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %3, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %15, %0
store i32 0, ptr %1, align 4
br label %68
21: ; preds = %15
%22 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%23 = load ptr, ptr %3, align 8
%24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23)
%25 = load ptr, ptr %3, align 8
%26 = call ptr @strtok(ptr noundef %25, ptr noundef @.str)
%27 = call i32 @atoi(ptr noundef %26)
store i32 %27, ptr %4, align 4
%28 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %28, ptr %8, align 8
%29 = load ptr, ptr %8, align 8
%30 = call i32 @atoi(ptr noundef %29)
store i32 %30, ptr %5, align 4
%31 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
%32 = call i32 @atoi(ptr noundef %31)
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %21
%36 = load i32, ptr %6, align 4
%37 = sub nsw i32 0, %36
store i32 %37, ptr %6, align 4
br label %38
38: ; preds = %35, %21
%39 = load ptr, ptr %8, align 8
%40 = load ptr, ptr %8, align 8
%41 = call i32 @strlen(ptr noundef %40)
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
store ptr %43, ptr %9, align 8
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%46 = call i32 @strcpy(ptr noundef %44, ptr noundef %45)
%47 = load ptr, ptr %9, align 8
%48 = call ptr @strtok(ptr noundef %47, ptr noundef @.str)
%49 = load i32, ptr %4, align 4
%50 = icmp sgt i32 %49, 0
br i1 %50, label %64, label %51
51: ; preds = %38
%52 = load i32, ptr %5, align 4
%53 = icmp eq i32 %52, 9
br i1 %53, label %54, label %62
54: ; preds = %51
%55 = load ptr, ptr %9, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 98
br i1 %58, label %59, label %62
59: ; preds = %54
%60 = load i32, ptr %6, align 4
%61 = icmp sge i32 %60, 20031126
br label %62
62: ; preds = %59, %54, %51
%63 = phi i1 [ false, %54 ], [ false, %51 ], [ %61, %59 ]
br label %64
64: ; preds = %62, %38
%65 = phi i1 [ true, %38 ], [ %63, %62 ]
%66 = zext i1 %65 to i32
store i32 %66, ptr %7, align 4
%67 = load i32, ptr %7, align 4
store i32 %67, ptr %1, align 4
br label %68
68: ; preds = %64, %20
%69 = load i32, ptr %1, align 4
ret i32 %69
}
declare ptr @dialogNameOnly(...) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @getVersion(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @strtok(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/tmpxon_7t4f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" ,.-\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c" ,.-abcdefghijklmnopqrstuvxyz\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isDialogVersionBetter09b() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [128 x i8], align 16
%11 = call ptr (...) @dialogNameOnly()
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %0
%16 = load ptr, ptr %2, align 8
%17 = call i64 @getVersion(ptr noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %3, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %15, %0
store i32 0, ptr %1, align 4
br label %68
21: ; preds = %15
%22 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%23 = load ptr, ptr %3, align 8
%24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23)
%25 = load ptr, ptr %3, align 8
%26 = call ptr @strtok(ptr noundef %25, ptr noundef @.str)
%27 = call i32 @atoi(ptr noundef %26)
store i32 %27, ptr %4, align 4
%28 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %28, ptr %8, align 8
%29 = load ptr, ptr %8, align 8
%30 = call i32 @atoi(ptr noundef %29)
store i32 %30, ptr %5, align 4
%31 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
%32 = call i32 @atoi(ptr noundef %31)
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %21
%36 = load i32, ptr %6, align 4
%37 = sub nsw i32 0, %36
store i32 %37, ptr %6, align 4
br label %38
38: ; preds = %35, %21
%39 = load ptr, ptr %8, align 8
%40 = load ptr, ptr %8, align 8
%41 = call i32 @strlen(ptr noundef %40)
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
store ptr %43, ptr %9, align 8
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%46 = call i32 @strcpy(ptr noundef %44, ptr noundef %45)
%47 = load ptr, ptr %9, align 8
%48 = call ptr @strtok(ptr noundef %47, ptr noundef @.str)
%49 = load i32, ptr %4, align 4
%50 = icmp sgt i32 %49, 0
br i1 %50, label %64, label %51
51: ; preds = %38
%52 = load i32, ptr %5, align 4
%53 = icmp eq i32 %52, 9
br i1 %53, label %54, label %62
54: ; preds = %51
%55 = load ptr, ptr %9, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 98
br i1 %58, label %59, label %62
59: ; preds = %54
%60 = load i32, ptr %6, align 4
%61 = icmp sge i32 %60, 20031126
br label %62
62: ; preds = %59, %54, %51
%63 = phi i1 [ false, %54 ], [ false, %51 ], [ %61, %59 ]
br label %64
64: ; preds = %62, %38
%65 = phi i1 [ true, %38 ], [ %63, %62 ]
%66 = zext i1 %65 to i32
store i32 %66, ptr %7, align 4
%67 = load i32, ptr %7, align 4
store i32 %67, ptr %1, align 4
br label %68
68: ; preds = %64, %20
%69 = load i32, ptr %1, align 4
ret i32 %69
}
declare ptr @dialogNameOnly(...) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @getVersion(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @strtok(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/tmpl53locwy.c'
source_filename = "/tmp/tmpl53locwy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dict_node_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl53locwy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dict_node_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkfk9q9df.c'
source_filename = "/tmp/tmpkfk9q9df.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"RBTree test: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"failed\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"passed\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
%7 = call i64 (...) @test_rbtree()
%8 = icmp ne i64 %7, 0
%9 = zext i1 %8 to i64
%10 = select i1 %8, i32 0, i32 1
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 0
%13 = zext i1 %12 to i64
%14 = select i1 %12, ptr @.str.1, ptr @.str.2
%15 = call i32 @printf(ptr noundef @.str, ptr noundef %14)
%16 = load i32, ptr %6, align 4
ret i32 %16
}
declare i64 @test_rbtree(...) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkfk9q9df.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"RBTree test: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"failed\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"passed\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
%7 = call i64 (...) @test_rbtree()
%8 = icmp ne i64 %7, 0
%9 = zext i1 %8 to i64
%10 = select i1 %8, i32 0, i32 1
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ne i32 %11, 0
%13 = zext i1 %12 to i64
%14 = select i1 %12, ptr @.str.1, ptr @.str.2
%15 = call i32 @printf(ptr noundef @.str, ptr noundef %14)
%16 = load i32, ptr %6, align 4
ret i32 %16
}
declare i64 @test_rbtree(...) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjp0buoo8.c'
source_filename = "/tmp/tmpjp0buoo8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jsoo_new() #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/tmpjp0buoo8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jsoo_new() #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 = '/tmp/tmpgorkifl1.c'
source_filename = "/tmp/tmpgorkifl1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func(i32 noundef -559038737)
ret i32 0
}
declare i32 @func(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/tmpgorkifl1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func(i32 noundef -559038737)
ret i32 0
}
declare i32 @func(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/tmpqysm6hc7.c'
source_filename = "/tmp/tmpqysm6hc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @root_from_binary() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = call ptr (...) @executable_path()
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = call ptr @dir_name(ptr noundef %5)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %1, align 8
%8 = call i32 @free(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sub nsw i32 %11, 1
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %9, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 47
br i1 %17, label %18, label %25
18: ; preds = %0
%19 = load ptr, ptr %2, align 8
%20 = load ptr, ptr %2, align 8
%21 = call i32 @strlen(ptr noundef %20)
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %19, i64 %23
store i8 0, ptr %24, align 1
br label %25
25: ; preds = %18, %0
%26 = load ptr, ptr %2, align 8
%27 = call ptr @dir_name(ptr noundef %26)
store ptr %27, ptr %3, align 8
%28 = load ptr, ptr %2, align 8
%29 = call i32 @free(ptr noundef %28)
%30 = load ptr, ptr %3, align 8
ret ptr %30
}
declare ptr @executable_path(...) #1
declare ptr @dir_name(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqysm6hc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @root_from_binary() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = call ptr (...) @executable_path()
store ptr %4, ptr %1, align 8
%5 = load ptr, ptr %1, align 8
%6 = call ptr @dir_name(ptr noundef %5)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %1, align 8
%8 = call i32 @free(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sub nsw i32 %11, 1
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %9, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 47
br i1 %17, label %18, label %25
18: ; preds = %0
%19 = load ptr, ptr %2, align 8
%20 = load ptr, ptr %2, align 8
%21 = call i32 @strlen(ptr noundef %20)
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %19, i64 %23
store i8 0, ptr %24, align 1
br label %25
25: ; preds = %18, %0
%26 = load ptr, ptr %2, align 8
%27 = call ptr @dir_name(ptr noundef %26)
store ptr %27, ptr %3, align 8
%28 = load ptr, ptr %2, align 8
%29 = call i32 @free(ptr noundef %28)
%30 = load ptr, ptr %3, align 8
ret ptr %30
}
declare ptr @executable_path(...) #1
declare ptr @dir_name(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw7yt28vw.c'
source_filename = "/tmp/tmpw7yt28vw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x = %i, y = %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 1, ptr %1, align 4
store i32 2, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %4)
%6 = call i32 @swap(ptr noundef %1, ptr noundef %2)
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @swap(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/tmpw7yt28vw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"x = %i, y = %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 1, ptr %1, align 4
store i32 2, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %4)
%6 = call i32 @swap(ptr noundef %1, ptr noundef %2)
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @swap(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/tmpwqbc2qv2.c'
source_filename = "/tmp/tmpwqbc2qv2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld %lld %lld\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = load i64, ptr %2, align 8
%7 = load i64, ptr %3, align 8
%8 = load i64, ptr %4, align 8
%9 = call i32 @q_pow(i64 noundef %6, i64 noundef %7, i64 noundef %8)
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @q_pow(i64 noundef, i64 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/tmpwqbc2qv2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld %lld %lld\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = load i64, ptr %2, align 8
%7 = load i64, ptr %3, align 8
%8 = load i64, ptr %4, align 8
%9 = call i32 @q_pow(i64 noundef %6, i64 noundef %7, i64 noundef %8)
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @q_pow(i64 noundef, i64 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/tmpep8x9ggp.c'
source_filename = "/tmp/tmpep8x9ggp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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/tmpep8x9ggp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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/tmp33t7is89.c'
source_filename = "/tmp/tmp33t7is89.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"Unit test failure: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Unit test succeeded\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @generate_leap_second_tbl(ptr noundef null)
%4 = call i32 (...) @posix_tai_unit_test()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %0
%8 = load i32, ptr @stderr, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef %9)
store i32 1, ptr %1, align 4
br label %13
11: ; preds = %0
%12 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %13
13: ; preds = %11, %7
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i32 @generate_leap_second_tbl(ptr noundef) #1
declare i32 @posix_tai_unit_test(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp33t7is89.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"Unit test failure: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Unit test succeeded\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @generate_leap_second_tbl(ptr noundef null)
%4 = call i32 (...) @posix_tai_unit_test()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %0
%8 = load i32, ptr @stderr, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef %9)
store i32 1, ptr %1, align 4
br label %13
11: ; preds = %0
%12 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %13
13: ; preds = %11, %7
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i32 @generate_leap_second_tbl(ptr noundef) #1
declare i32 @posix_tai_unit_test(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0219z7q4.c'
source_filename = "/tmp/tmp0219z7q4.c"
target datalayout = "e-m:e-p270: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/tmp0219z7q4.c"
target datalayout = "e-m:e-p270: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/tmpy7wpwctv.c'
source_filename = "/tmp/tmpy7wpwctv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/boxtype\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getKathreinUfs910BoxType() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
%3 = load i32, ptr @O_RDONLY, align 4
%4 = call i32 @open(ptr noundef @.str, i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @read(i32 noundef %5, ptr noundef %1, i32 noundef 1)
%7 = load i32, ptr %2, align 4
%8 = call i32 @close(i32 noundef %7)
%9 = load i8, ptr %1, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 48
br i1 %11, label %12, label %13
12: ; preds = %0
br label %25
13: ; preds = %0
%14 = load i8, ptr %1, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 49
br i1 %16, label %21, label %17
17: ; preds = %13
%18 = load i8, ptr %1, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 51
br label %21
21: ; preds = %17, %13
%22 = phi i1 [ true, %13 ], [ %20, %17 ]
%23 = zext i1 %22 to i64
%24 = select i1 %22, i32 1, i32 -1
br label %25
25: ; preds = %21, %12
%26 = phi i32 [ 0, %12 ], [ %24, %21 ]
ret i32 %26
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 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/tmpy7wpwctv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/boxtype\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getKathreinUfs910BoxType() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
%3 = load i32, ptr @O_RDONLY, align 4
%4 = call i32 @open(ptr noundef @.str, i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @read(i32 noundef %5, ptr noundef %1, i32 noundef 1)
%7 = load i32, ptr %2, align 4
%8 = call i32 @close(i32 noundef %7)
%9 = load i8, ptr %1, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 48
br i1 %11, label %12, label %13
12: ; preds = %0
br label %25
13: ; preds = %0
%14 = load i8, ptr %1, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 49
br i1 %16, label %21, label %17
17: ; preds = %13
%18 = load i8, ptr %1, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 51
br label %21
21: ; preds = %17, %13
%22 = phi i1 [ true, %13 ], [ %20, %17 ]
%23 = zext i1 %22 to i64
%24 = select i1 %22, i32 1, i32 -1
br label %25
25: ; preds = %21, %12
%26 = phi i32 [ 0, %12 ], [ %24, %21 ]
ret i32 %26
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 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/tmpb3ukenec.c'
source_filename = "/tmp/tmpb3ukenec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb3ukenec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuubmswyu.c'
source_filename = "/tmp/tmpuubmswyu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenPrintInstrNoOperand(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load i64, ptr %4, align 8
%7 = call i32 @GenPrintInstr(i32 noundef %5, i64 noundef %6)
%8 = call i32 (...) @GenPrintOperandStarter()
%9 = call i32 (...) @GenPrintOperandEnder()
%10 = call i32 (...) @GenPrintNewLine()
ret void
}
declare i32 @GenPrintInstr(i32 noundef, i64 noundef) #1
declare i32 @GenPrintOperandStarter(...) #1
declare i32 @GenPrintOperandEnder(...) #1
declare i32 @GenPrintNewLine(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuubmswyu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenPrintInstrNoOperand(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store i64 %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load i64, ptr %4, align 8
%7 = call i32 @GenPrintInstr(i32 noundef %5, i64 noundef %6)
%8 = call i32 (...) @GenPrintOperandStarter()
%9 = call i32 (...) @GenPrintOperandEnder()
%10 = call i32 (...) @GenPrintNewLine()
ret void
}
declare i32 @GenPrintInstr(i32 noundef, i64 noundef) #1
declare i32 @GenPrintOperandStarter(...) #1
declare i32 @GenPrintOperandEnder(...) #1
declare i32 @GenPrintNewLine(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjlt_acxc.c'
source_filename = "/tmp/tmpjlt_acxc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Number of Offsets = %lu\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Numbers of hunk = %lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @reloc32hunk(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
br label %5
5: ; preds = %1, %11
%6 = load ptr, ptr %2, align 8
%7 = call i64 @read32(ptr noundef %6)
store i64 %7, ptr %3, align 8
%8 = load i64, ptr %3, align 8
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %5
ret i32 0
11: ; preds = %5
%12 = load i64, ptr %3, align 8
%13 = call i32 @printf(ptr noundef @.str, i64 noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i64 @read32(ptr noundef %14)
store i64 %15, ptr %4, align 8
%16 = load i64, ptr %4, align 8
%17 = call i32 @printf(ptr noundef @.str.1, i64 noundef %16)
%18 = load i64, ptr %3, align 8
%19 = mul i64 %18, 4
%20 = load ptr, ptr %2, align 8
%21 = call i32 @readData(i64 noundef %19, ptr noundef %20)
br label %5
}
declare i64 @read32(ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i32 @readData(i64 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/tmpjlt_acxc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Number of Offsets = %lu\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Numbers of hunk = %lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @reloc32hunk(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @read32(ptr noundef %5)
store i64 %6, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %.lr.ph
.lr.ph: ; preds = %1
br label %10
._crit_edge: ; preds = %10
br label %9
9: ; preds = %._crit_edge, %1
ret i32 0
10: ; preds = %.lr.ph, %10
%11 = load i64, ptr %3, align 8
%12 = call i32 @printf(ptr noundef @.str, i64 noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call i64 @read32(ptr noundef %13)
store i64 %14, ptr %4, align 8
%15 = load i64, ptr %4, align 8
%16 = call i32 @printf(ptr noundef @.str.1, i64 noundef %15)
%17 = load i64, ptr %3, align 8
%18 = mul i64 %17, 4
%19 = load ptr, ptr %2, align 8
%20 = call i32 @readData(i64 noundef %18, ptr noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = call i64 @read32(ptr noundef %21)
store i64 %22, ptr %3, align 8
%23 = load i64, ptr %3, align 8
%24 = icmp eq i64 %23, 0
br i1 %24, label %._crit_edge, label %10
}
declare i64 @read32(ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i32 @readData(i64 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/tmpao3759vl.c'
source_filename = "/tmp/tmpao3759vl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrevcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %5, align 4
br label %11
11: ; preds = %23, %2
%12 = load i32, ptr %5, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %14, label %26
14: ; preds = %11
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load ptr, ptr %4, align 8
store i8 %19, ptr %20, align 1
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %4, align 8
br label %23
23: ; preds = %14
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, -1
store i32 %25, ptr %5, align 4
br label %11, !llvm.loop !6
26: ; preds = %11
%27 = load ptr, ptr %4, align 8
store i8 0, ptr %27, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpao3759vl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrevcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %22
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = load ptr, ptr %4, align 8
store i8 %18, ptr %19, align 1
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %4, align 8
br label %22
22: ; preds = %13
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp sge i32 %25, 0
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %2
%28 = load ptr, ptr %4, align 8
store i8 0, ptr %28, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp52gl7t61.c'
source_filename = "/tmp/tmp52gl7t61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ipow(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %6
6: ; preds = %17, %2
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %23
9: ; preds = %6
%10 = load i32, ptr %4, align 4
%11 = and i32 %10, 1
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %5, align 4
%16 = mul nsw i32 %15, %14
store i32 %16, ptr %5, align 4
br label %17
17: ; preds = %13, %9
%18 = load i32, ptr %4, align 4
%19 = ashr i32 %18, 1
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = mul nsw i32 %21, %20
store i32 %22, ptr %3, align 4
br label %6, !llvm.loop !6
23: ; preds = %6
%24 = load i32, ptr %5, align 4
ret i32 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp52gl7t61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ipow(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %16
%9 = load i32, ptr %4, align 4
%10 = and i32 %9, 1
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %8
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = mul nsw i32 %14, %13
store i32 %15, ptr %5, align 4
br label %16
16: ; preds = %12, %8
%17 = load i32, ptr %4, align 4
%18 = ashr i32 %17, 1
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = mul nsw i32 %20, %19
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %24
24: ; preds = %._crit_edge, %2
%25 = load i32, ptr %5, align 4
ret i32 %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpa9utro21.c'
source_filename = "/tmp/tmpa9utro21.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_cipher_size(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr @SEEK_END, align 4
%7 = call i32 @fseek(ptr noundef %5, i64 noundef 0, i32 noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i64 @ftell(ptr noundef %8)
store i64 %9, ptr %3, align 8
%10 = load i64, ptr %3, align 8
%11 = udiv i64 %10, 4
store i64 %11, ptr %4, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @rewind(ptr noundef %12)
%14 = load i64, ptr %4, align 8
ret i64 %14
}
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa9utro21.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_cipher_size(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr @SEEK_END, align 4
%7 = call i32 @fseek(ptr noundef %5, i64 noundef 0, i32 noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i64 @ftell(ptr noundef %8)
store i64 %9, ptr %3, align 8
%10 = load i64, ptr %3, align 8
%11 = udiv i64 %10, 4
store i64 %11, ptr %4, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @rewind(ptr noundef %12)
%14 = load i64, ptr %4, align 8
ret i64 %14
}
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprdww6pb0.c'
source_filename = "/tmp/tmprdww6pb0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tls12_ticket_auth_pack_data(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %9, align 8
%12 = load i32, ptr %10, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
store i8 23, ptr %14, align 1
%15 = load ptr, ptr %9, align 8
%16 = load i32, ptr %10, align 4
%17 = add nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %15, i64 %18
store i8 3, ptr %19, align 1
%20 = load ptr, ptr %9, align 8
%21 = load i32, ptr %10, align 4
%22 = add nsw i32 %21, 2
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
store i8 3, ptr %24, align 1
%25 = load i32, ptr %8, align 4
%26 = ashr i32 %25, 8
%27 = trunc i32 %26 to i8
%28 = load ptr, ptr %9, align 8
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 3
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %28, i64 %31
store i8 %27, ptr %32, align 1
%33 = load i32, ptr %8, align 4
%34 = trunc i32 %33 to i8
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %10, align 4
%37 = add nsw i32 %36, 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %35, i64 %38
store i8 %34, ptr %39, align 1
%40 = load ptr, ptr %9, align 8
%41 = load i32, ptr %10, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = getelementptr inbounds i8, ptr %43, i64 5
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i32, ptr %8, align 4
%50 = call i32 @memcpy(ptr noundef %44, ptr noundef %48, i32 noundef %49)
ret void
}
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/tmprdww6pb0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tls12_ticket_auth_pack_data(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %9, align 8
%12 = load i32, ptr %10, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
store i8 23, ptr %14, align 1
%15 = load ptr, ptr %9, align 8
%16 = load i32, ptr %10, align 4
%17 = add nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %15, i64 %18
store i8 3, ptr %19, align 1
%20 = load ptr, ptr %9, align 8
%21 = load i32, ptr %10, align 4
%22 = add nsw i32 %21, 2
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
store i8 3, ptr %24, align 1
%25 = load i32, ptr %8, align 4
%26 = ashr i32 %25, 8
%27 = trunc i32 %26 to i8
%28 = load ptr, ptr %9, align 8
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 3
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %28, i64 %31
store i8 %27, ptr %32, align 1
%33 = load i32, ptr %8, align 4
%34 = trunc i32 %33 to i8
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %10, align 4
%37 = add nsw i32 %36, 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %35, i64 %38
store i8 %34, ptr %39, align 1
%40 = load ptr, ptr %9, align 8
%41 = load i32, ptr %10, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = getelementptr inbounds i8, ptr %43, i64 5
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i32, ptr %8, align 4
%50 = call i32 @memcpy(ptr noundef %44, ptr noundef %48, i32 noundef %49)
ret void
}
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/tmpq2rrxw05.c'
source_filename = "/tmp/tmpq2rrxw05.c"
target datalayout = "e-m:e-p270: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/tmpq2rrxw05.c"
target datalayout = "e-m:e-p270: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/tmphknfq58v.c'
source_filename = "/tmp/tmphknfq58v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strlcpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %23, %3
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %7, align 4
%11 = zext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %8
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = sub i32 %18, 1
%20 = icmp ult i32 %17, %19
br label %21
21: ; preds = %16, %8
%22 = phi i1 [ false, %8 ], [ %20, %16 ]
br i1 %22, label %23, label %35
23: ; preds = %21
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %7, align 4
%26 = zext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %7, align 4
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 %28, ptr %32, align 1
%33 = load i32, ptr %7, align 4
%34 = add i32 %33, 1
store i32 %34, ptr %7, align 4
br label %8, !llvm.loop !6
35: ; preds = %21
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %7, align 4
%38 = zext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
store i8 0, ptr %39, align 1
%40 = load ptr, ptr %5, align 8
%41 = call i32 @ft_strlen(ptr noundef %40)
ret i32 %41
}
declare i32 @ft_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/tmphknfq58v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strlcpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %23, %3
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %7, align 4
%11 = zext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %8
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = sub i32 %18, 1
%20 = icmp ult i32 %17, %19
br label %21
21: ; preds = %16, %8
%22 = phi i1 [ false, %8 ], [ %20, %16 ]
br i1 %22, label %23, label %35
23: ; preds = %21
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %7, align 4
%26 = zext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %7, align 4
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 %28, ptr %32, align 1
%33 = load i32, ptr %7, align 4
%34 = add i32 %33, 1
store i32 %34, ptr %7, align 4
br label %8, !llvm.loop !6
35: ; preds = %21
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %7, align 4
%38 = zext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
store i8 0, ptr %39, align 1
%40 = load ptr, ptr %5, align 8
%41 = call i32 @ft_strlen(ptr noundef %40)
ret i32 %41
}
declare i32 @ft_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/tmppkfa6vgg.c'
source_filename = "/tmp/tmppkfa6vgg.c"
target datalayout = "e-m:e-p270: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/tmppkfa6vgg.c"
target datalayout = "e-m:e-p270: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/tmpbcol9vgu.c'
source_filename = "/tmp/tmpbcol9vgu.c"
target datalayout = "e-m:e-p270: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/tmpbcol9vgu.c"
target datalayout = "e-m:e-p270: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/tmpury4_urk.c'
source_filename = "/tmp/tmpury4_urk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse_strchr(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %7, i64 %10
%12 = getelementptr inbounds i8, ptr %11, i64 -1
store ptr %12, ptr %6, align 8
br label %13
13: ; preds = %27, %2
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %4, align 8
%16 = icmp uge ptr %14, %15
br i1 %16, label %17, label %30
17: ; preds = %13
%18 = load ptr, ptr %6, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load i8, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %20, %22
br i1 %23, label %24, label %26
24: ; preds = %17
%25 = load ptr, ptr %6, align 8
store ptr %25, ptr %3, align 8
br label %31
26: ; preds = %17
br label %27
27: ; preds = %26
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 -1
store ptr %29, ptr %6, align 8
br label %13, !llvm.loop !6
30: ; preds = %13
store ptr null, ptr %3, align 8
br label %31
31: ; preds = %30, %24
%32 = load ptr, ptr %3, align 8
ret ptr %32
}
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/tmpury4_urk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse_strchr(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %7, i64 %10
%12 = getelementptr inbounds i8, ptr %11, i64 -1
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp uge ptr %13, %14
br i1 %15, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %26
%17 = load ptr, ptr %6, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load i8, ptr %5, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %19, %21
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = load ptr, ptr %6, align 8
store ptr %24, ptr %3, align 8
br label %33
25: ; preds = %16
br label %26
26: ; preds = %25
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 -1
store ptr %28, ptr %6, align 8
%29 = load ptr, ptr %6, align 8
%30 = load ptr, ptr %4, align 8
%31 = icmp uge ptr %29, %30
br i1 %31, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %2
store ptr null, ptr %3, align 8
br label %33
33: ; preds = %32, %23
%34 = load ptr, ptr %3, align 8
ret ptr %34
}
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/tmpmhu7sg0q.c'
source_filename = "/tmp/tmpmhu7sg0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @scalbnf(float noundef %0, i32 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i32, align 4
store float %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call float @__ocml_scalbn_f32(float noundef %5, i32 noundef %6)
ret float %7
}
declare float @__ocml_scalbn_f32(float noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmhu7sg0q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @scalbnf(float noundef %0, i32 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i32, align 4
store float %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call float @__ocml_scalbn_f32(float noundef %5, i32 noundef %6)
ret float %7
}
declare float @__ocml_scalbn_f32(float noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpypfzy77b.c'
source_filename = "/tmp/tmpypfzy77b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fdgets(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %27, %3
%10 = load i32, ptr %7, align 4
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %25
12: ; preds = %9
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %25
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = getelementptr inbounds i8, ptr %20, i64 -1
%22 = load i8, ptr %21, align 1
%23 = zext i8 %22 to i32
%24 = icmp ne i32 %23, 10
br label %25
25: ; preds = %16, %12, %9
%26 = phi i1 [ false, %12 ], [ false, %9 ], [ %24, %16 ]
br i1 %26, label %27, label %36
27: ; preds = %25
%28 = load i32, ptr %6, align 4
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = call i32 @read(i32 noundef %28, ptr noundef %32, i32 noundef 1)
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %9, !llvm.loop !6
36: ; preds = %25
%37 = load i32, ptr %7, align 4
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %36
br label %42
40: ; preds = %36
%41 = load ptr, ptr %4, align 8
br label %42
42: ; preds = %40, %39
%43 = phi ptr [ null, %39 ], [ %41, %40 ]
ret ptr %43
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpypfzy77b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fdgets(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %27, %3
%10 = load i32, ptr %7, align 4
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %25
12: ; preds = %9
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %25
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = getelementptr inbounds i8, ptr %20, i64 -1
%22 = load i8, ptr %21, align 1
%23 = zext i8 %22 to i32
%24 = icmp ne i32 %23, 10
br label %25
25: ; preds = %16, %12, %9
%26 = phi i1 [ false, %12 ], [ false, %9 ], [ %24, %16 ]
br i1 %26, label %27, label %36
27: ; preds = %25
%28 = load i32, ptr %6, align 4
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = call i32 @read(i32 noundef %28, ptr noundef %32, i32 noundef 1)
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %9, !llvm.loop !6
36: ; preds = %25
%37 = load i32, ptr %7, align 4
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %36
br label %42
40: ; preds = %36
%41 = load ptr, ptr %4, align 8
br label %42
42: ; preds = %40, %39
%43 = phi ptr [ null, %39 ], [ %41, %40 ]
ret ptr %43
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmph86v_ko7.c'
source_filename = "/tmp/tmph86v_ko7.c"
target datalayout = "e-m:e-p270: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/tmph86v_ko7.c"
target datalayout = "e-m:e-p270: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/tmpew7xd9c1.c'
source_filename = "/tmp/tmpew7xd9c1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bcd_hmsc2sec(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 3
%9 = load i8, ptr %8, align 1
%10 = call zeroext i8 @bcd2i(i8 noundef zeroext %9)
store i8 %10, ptr %3, align 1
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 2
%13 = load i8, ptr %12, align 1
%14 = call zeroext i8 @bcd2i(i8 noundef zeroext %13)
store i8 %14, ptr %4, align 1
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
%17 = load i8, ptr %16, align 1
%18 = call zeroext i8 @bcd2i(i8 noundef zeroext %17)
store i8 %18, ptr %5, align 1
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 0
%21 = load i8, ptr %20, align 1
%22 = call zeroext i8 @bcd2i(i8 noundef zeroext %21)
store i8 %22, ptr %6, align 1
%23 = load i8, ptr %3, align 1
%24 = load i8, ptr %4, align 1
%25 = load i8, ptr %5, align 1
%26 = load i8, ptr %6, align 1
%27 = call double @hmsc2sec(i8 noundef zeroext %23, i8 noundef zeroext %24, i8 noundef zeroext %25, i8 noundef zeroext %26)
ret double %27
}
declare zeroext i8 @bcd2i(i8 noundef zeroext) #1
declare double @hmsc2sec(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpew7xd9c1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bcd_hmsc2sec(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 3
%9 = load i8, ptr %8, align 1
%10 = call zeroext i8 @bcd2i(i8 noundef zeroext %9)
store i8 %10, ptr %3, align 1
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 2
%13 = load i8, ptr %12, align 1
%14 = call zeroext i8 @bcd2i(i8 noundef zeroext %13)
store i8 %14, ptr %4, align 1
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
%17 = load i8, ptr %16, align 1
%18 = call zeroext i8 @bcd2i(i8 noundef zeroext %17)
store i8 %18, ptr %5, align 1
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 0
%21 = load i8, ptr %20, align 1
%22 = call zeroext i8 @bcd2i(i8 noundef zeroext %21)
store i8 %22, ptr %6, align 1
%23 = load i8, ptr %3, align 1
%24 = load i8, ptr %4, align 1
%25 = load i8, ptr %5, align 1
%26 = load i8, ptr %6, align 1
%27 = call double @hmsc2sec(i8 noundef zeroext %23, i8 noundef zeroext %24, i8 noundef zeroext %25, i8 noundef zeroext %26)
ret double %27
}
declare zeroext i8 @bcd2i(i8 noundef zeroext) #1
declare double @hmsc2sec(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb4d5628s.c'
source_filename = "/tmp/tmpb4d5628s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_remove_tail(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @list_last(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @node_remove(ptr noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @list_last(ptr noundef) #1
declare i32 @node_remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb4d5628s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_remove_tail(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @list_last(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @node_remove(ptr noundef %9)
br label %11
11: ; preds = %8, %1
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
declare ptr @list_last(ptr noundef) #1
declare i32 @node_remove(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.