• Leszek Swirski's avatar
    [maglev] Add safepoints for deferred calls · 8103fe57
    Leszek Swirski authored
    Add a concept of "register snapshots" which snapshot the end-state
    of the register allocation for a node (i.e. the state of the register
    allocation when the node's code completes). These can be requested by
    nodes, so that they know which registers need to be kept alive by the
    node, and which of those are tagged.
    
    Nodes can then use this information to temporarily spill registers
    across a deferred call, without requiring the register allocator to
    spill them unconditionally on the non-deferred path. The maglev
    safepoint table has support for these additional spilled registers.
    
    Bug: v8:7700
    Change-Id: Id0052b5da86dd263f9019b1433fe5994a472a5b1
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3751203
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#81614}
    8103fe57
Name
Last commit
Last update
..
DEPS Loading commit data...
OWNERS Loading commit data...
maglev-basic-block.h Loading commit data...
maglev-code-gen-state.h Loading commit data...
maglev-code-generator.cc Loading commit data...
maglev-code-generator.h Loading commit data...
maglev-compilation-info.cc Loading commit data...
maglev-compilation-info.h Loading commit data...
maglev-compilation-unit.cc Loading commit data...
maglev-compilation-unit.h Loading commit data...
maglev-compiler.cc Loading commit data...
maglev-compiler.h Loading commit data...
maglev-concurrent-dispatcher.cc Loading commit data...
maglev-concurrent-dispatcher.h Loading commit data...
maglev-graph-builder.cc Loading commit data...
maglev-graph-builder.h Loading commit data...
maglev-graph-labeller.h Loading commit data...
maglev-graph-printer.cc Loading commit data...
maglev-graph-printer.h Loading commit data...
maglev-graph-processor.h Loading commit data...
maglev-graph-verifier.h Loading commit data...
maglev-graph.h Loading commit data...
maglev-interpreter-frame-state.h Loading commit data...
maglev-ir.cc Loading commit data...
maglev-ir.h Loading commit data...
maglev-regalloc-data.h Loading commit data...
maglev-regalloc.cc Loading commit data...
maglev-regalloc.h Loading commit data...
maglev-register-frame-array.h Loading commit data...
maglev-vreg-allocator.h Loading commit data...
maglev.cc Loading commit data...
maglev.h Loading commit data...