aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-08-02 13:33:43 +0200
committerRichard Biener <rguenther@suse.de>2023-08-03 13:21:32 +0200
commit021a0cd4494463026226a10d9556a0eedc422e5e (patch)
tree6c2cb9b63a5ae9309ea3241e16449df75e5b69aa /gcc/value-range.h
parent3d48c11ad082def8ee237e5778d8a5d569bff96d (diff)
downloadgcc-021a0cd4494463026226a10d9556a0eedc422e5e.zip
gcc-021a0cd4494463026226a10d9556a0eedc422e5e.tar.gz
gcc-021a0cd4494463026226a10d9556a0eedc422e5e.tar.bz2
Add virtual operand global liveness computation class
The following adds an on-demand global liveness computation class computing and caching the live-out virtual operand of basic blocks and answering live-out, live-in and live-on-edge queries. The flow is optimized for the intended use in code sinking which will query live-in and possibly can be optimized further when the originating query is for live-out. The code relies on up-to-date immediate dominator information and on an unchanging virtual operand state. * tree-ssa-live.h (class virtual_operand_live): New. * tree-ssa-live.cc (virtual_operand_live::init): New. (virtual_operand_live::get_live_in): Likewise. (virtual_operand_live::get_live_out): Likewise.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions