aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.cc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2024-06-26 14:53:54 -0400
committerAndrew MacLeod <amacleod@redhat.com>2024-06-28 13:49:25 -0400
commit5612541834c063dd4126fb059e59c5dc8d5f2f8e (patch)
tree751069bb7bb4941006374d9a8bbdb2d791161527 /gcc/tree-vect-loop.cc
parent7419b4fe48b48e44b27e2dadc9ff870f5e049077 (diff)
downloadgcc-5612541834c063dd4126fb059e59c5dc8d5f2f8e.zip
gcc-5612541834c063dd4126fb059e59c5dc8d5f2f8e.tar.gz
gcc-5612541834c063dd4126fb059e59c5dc8d5f2f8e.tar.bz2
ssa_lazy_cache takes an optional bitmap_obstack pointer.
Allow ssa_lazy cache to allocate bitmaps from a client provided obstack if so desired. * gimple-range-cache.cc (ssa_lazy_cache::ssa_lazy_cache): Relocate here. Check for provided obstack. (ssa_lazy_cache::~ssa_lazy_cache): Relocate here. Free bitmap or obstack. * gimple-range-cache.h (ssa_lazy_cache::ssa_lazy_cache): Move. (ssa_lazy_cache::~ssa_lazy_cache): Move. (ssa_lazy_cache::m_ob): New. * gimple-range.cc (dom_ranger::dom_ranger): Iniitialize obstack. (dom_ranger::~dom_ranger): Release obstack. (dom_ranger::pre_bb): Create ssa_lazy_cache using obstack. * gimple-range.h (m_bitmaps): New.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions