Handbook
Glossary
build-liveness-graph ( insn -- )
Vocabulary
compiler
.
cfg
.
dce
Inputs
insn
an
object
Outputs
None
Definition
IN:
compiler.cfg.dce
GENERIC:
build-liveness-graph
( insn -- )
Methods
USING:
accessors
compiler.cfg.dce
compiler.cfg.instructions
generic
kernel
namespaces
sets
;
M:
##allot
build-liveness-graph
[
dst>>
allocations
get
adjoin
]
[
M\
##allot
build-liveness-graph
(call-next-method)
]
bi
;
USING:
accessors
compiler.cfg.dce
compiler.cfg.instructions
kernel
;
M:
##set-slot-imm
build-liveness-graph
dup
obj>>
setter-liveness-graph
;
USING:
accessors
compiler.cfg.dce
compiler.cfg.instructions
kernel
;
M:
##set-slot
build-liveness-graph
dup
obj>>
setter-liveness-graph
;
USING:
accessors
compiler.cfg.dce
compiler.cfg.instructions
kernel
;
M:
##write-barrier-imm
build-liveness-graph
dup
src>>
setter-liveness-graph
;
USING:
accessors
compiler.cfg.dce
compiler.cfg.instructions
kernel
;
M:
##write-barrier
build-liveness-graph
dup
src>>
setter-liveness-graph
;
USING:
compiler.cfg.dce
compiler.cfg.instructions
kernel
;
M:
insn
build-liveness-graph
drop
;
USING:
compiler.cfg.dce
compiler.cfg.def-use
compiler.cfg.instructions
kernel
sequences
;
M:
vreg-insn
build-liveness-graph
[
uses-vregs
]
[
defs-vregs
]
bi
[
add-edges
]
with
each
;