Aboudek/ASM_TO_LLVM_V2
0
1; ModuleID = 'tmux/extr_input.c_input_start_timer.c'2source_filename = "tmux/extr_input.c_input_start_timer.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%struct.timeval = type { i32 }7%struct.input_ctx = type { i32 }8 9@__const.input_start_timer.tv = private unnamed_addr constant %struct.timeval { i32 100000 }, align 410@llvm.compiler.used = appending global [1 x ptr] [ptr @input_start_timer], section "llvm.metadata"11 12; Function Attrs: noinline nounwind optnone uwtable13define internal void @input_start_timer(ptr noundef %0) #0 {14 %2 = alloca ptr, align 815 %3 = alloca %struct.timeval, align 416 store ptr %0, ptr %2, align 817 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.input_start_timer.tv, i64 4, i1 false)18 %4 = load ptr, ptr %2, align 819 %5 = getelementptr inbounds %struct.input_ctx, ptr %4, i32 0, i32 020 %6 = call i32 @event_del(ptr noundef %5)21 %7 = load ptr, ptr %2, align 822 %8 = getelementptr inbounds %struct.input_ctx, ptr %7, i32 0, i32 023 %9 = call i32 @event_add(ptr noundef %8, ptr noundef %3)24 ret void25}26 27; Function Attrs: argmemonly nocallback nofree nounwind willreturn28declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #129 30declare i32 @event_del(ptr noundef) #231 32declare i32 @event_add(ptr noundef, ptr noundef) #233 34attributes #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" }35attributes #1 = { argmemonly nocallback nofree nounwind willreturn }36attributes #2 = { "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" }37 38!llvm.module.flags = !{!0, !1, !2, !3, !4}39!llvm.ident = !{!5}40 41!0 = !{i32 1, !"wchar_size", i32 4}42!1 = !{i32 7, !"PIC Level", i32 2}43!2 = !{i32 7, !"PIE Level", i32 2}44!3 = !{i32 7, !"uwtable", i32 2}45!4 = !{i32 7, !"frame-pointer", i32 2}46!5 = !{!"clang version 15.0.3"}47 