CoolFace
Modelpublic

Aboudek/ASM_TO_LLVM_V2

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
extr_interface.c_work_modifier.ll101 linesDownload Raw Back to tg
1; ModuleID = 'tg/extr_interface.c_work_modifier.c'2source_filename = "tg/extr_interface.c_work_modifier.c"3target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"4target triple = "x86_64-unknown-linux-gnu"5 6@.str = private unnamed_addr constant [10 x i8] c"[offline]\00", align 17@offline_mode = dso_local global i32 0, align 48@.str.1 = private unnamed_addr constant [11 x i8] c"[reply=%d]\00", align 19@reply_id = dso_local global i32 0, align 410@.str.2 = private unnamed_addr constant [7 x i8] c"[html]\00", align 111@TGLMF_HTML = dso_local global i32 0, align 412@do_html = dso_local global i32 0, align 413@.str.3 = private unnamed_addr constant [18 x i8] c"[disable_preview]\00", align 114@TGL_SEND_MSG_FLAG_DISABLE_PREVIEW = dso_local global i32 0, align 415@disable_msg_preview = dso_local global i32 0, align 416@.str.4 = private unnamed_addr constant [17 x i8] c"[enable_preview]\00", align 117@TGL_SEND_MSG_FLAG_ENABLE_PREVIEW = dso_local global i32 0, align 418@count = dso_local global i32 0, align 419 20; Function Attrs: noinline nounwind optnone uwtable21define dso_local void @work_modifier(ptr noundef %0, i32 noundef %1) #0 {22  %3 = alloca ptr, align 823  %4 = alloca i32, align 424  store ptr %0, ptr %3, align 825  store i32 %1, ptr %4, align 426  %5 = load ptr, ptr %3, align 827  %6 = load i32, ptr %4, align 428  %7 = call i64 @is_same_word(ptr noundef %5, i32 noundef %6, ptr noundef @.str)29  %8 = icmp ne i64 %7, 030  br i1 %8, label %9, label %1031 329:                                                ; preds = %233  store i32 1, ptr @offline_mode, align 434  br label %1035 3610:                                               ; preds = %9, %237  %11 = load ptr, ptr %3, align 838  %12 = call i32 @sscanf(ptr noundef %11, ptr noundef @.str.1, ptr noundef @reply_id)39  %13 = icmp sge i32 %12, 140  br i1 %13, label %14, label %1541 4214:                                               ; preds = %1043  br label %1544 4515:                                               ; preds = %14, %1046  %16 = load ptr, ptr %3, align 847  %17 = load i32, ptr %4, align 448  %18 = call i64 @is_same_word(ptr noundef %16, i32 noundef %17, ptr noundef @.str.2)49  %19 = icmp ne i64 %18, 050  br i1 %19, label %20, label %2251 5220:                                               ; preds = %1553  %21 = load i32, ptr @TGLMF_HTML, align 454  store i32 %21, ptr @do_html, align 455  br label %2256 5722:                                               ; preds = %20, %1558  %23 = load ptr, ptr %3, align 859  %24 = load i32, ptr %4, align 460  %25 = call i64 @is_same_word(ptr noundef %23, i32 noundef %24, ptr noundef @.str.3)61  %26 = icmp ne i64 %25, 062  br i1 %26, label %27, label %2963 6427:                                               ; preds = %2265  %28 = load i32, ptr @TGL_SEND_MSG_FLAG_DISABLE_PREVIEW, align 466  store i32 %28, ptr @disable_msg_preview, align 467  br label %2968 6929:                                               ; preds = %27, %2270  %30 = load ptr, ptr %3, align 871  %31 = load i32, ptr %4, align 472  %32 = call i64 @is_same_word(ptr noundef %30, i32 noundef %31, ptr noundef @.str.4)73  %33 = icmp ne i64 %32, 074  br i1 %33, label %34, label %3675 7634:                                               ; preds = %2977  %35 = load i32, ptr @TGL_SEND_MSG_FLAG_ENABLE_PREVIEW, align 478  store i32 %35, ptr @disable_msg_preview, align 479  br label %3680 8136:                                               ; preds = %34, %2982  ret void83}84 85declare i64 @is_same_word(ptr noundef, i32 noundef, ptr noundef) #186 87declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #188 89attributes #0 = { noinline nounwind optnone uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }90attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }91 92!llvm.module.flags = !{!0, !1, !2, !3, !4}93!llvm.ident = !{!5}94 95!0 = !{i32 1, !"wchar_size", i32 4}96!1 = !{i32 7, !"PIC Level", i32 2}97!2 = !{i32 7, !"PIE Level", i32 2}98!3 = !{i32 7, !"uwtable", i32 2}99!4 = !{i32 7, !"frame-pointer", i32 2}100!5 = !{!"clang version 15.0.3"}101