GCC Middle and Back End API Reference
block_range_cache Class Reference

#include <gimple-range-cache.h>

Collaboration diagram for block_range_cache:

Public Member Functions

 block_range_cache ()
 
 ~block_range_cache ()
 
bool set_bb_range (tree name, const_basic_block bb, const vrange &v)
 
bool get_bb_range (vrange &v, tree name, const_basic_block bb)
 
bool bb_range_p (tree name, const_basic_block bb)
 
void dump (FILE *f)
 
void dump (FILE *f, basic_block bb, bool print_varying=true)
 

Private Member Functions

ssa_block_rangesget_block_ranges (tree name)
 
ssa_block_rangesquery_block_ranges (tree name)
 

Private Attributes

vec< class ssa_block_ranges * > m_ssa_ranges
 
class vrange_allocatorm_range_allocator
 
bitmap_obstack m_bitmaps
 

Detailed Description

Header file for gimple ranger SSA cache.
   Copyright (C) 2017-2024 Free Software Foundation, Inc.
   Contributed by Andrew MacLeod <amacleod@redhat.com>.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   

Constructor & Destructor Documentation

◆ block_range_cache()

block_range_cache::block_range_cache ( )

◆ ~block_range_cache()

block_range_cache::~block_range_cache ( )

Member Function Documentation

◆ bb_range_p()

◆ dump() [1/2]

void block_range_cache::dump ( FILE * f)

◆ dump() [2/2]

void block_range_cache::dump ( FILE * f,
basic_block bb,
bool print_varying = true )

◆ get_bb_range()

◆ get_block_ranges()

ssa_block_ranges & block_range_cache::get_block_ranges ( tree name)
private

◆ query_block_ranges()

ssa_block_ranges * block_range_cache::query_block_ranges ( tree name)
inlineprivate

References m_ssa_ranges, NULL, and SSA_NAME_VERSION.

Referenced by bb_range_p(), and get_bb_range().

◆ set_bb_range()

Field Documentation

◆ m_bitmaps

bitmap_obstack block_range_cache::m_bitmaps
private

◆ m_range_allocator

class vrange_allocator* block_range_cache::m_range_allocator
private

◆ m_ssa_ranges

vec<class ssa_block_ranges *> block_range_cache::m_ssa_ranges
private

The documentation for this class was generated from the following files: