GCC Middle and Back End API Reference
dom_ranger Class Reference

#include <gimple-range.h>

Inheritance diagram for dom_ranger:
Collaboration diagram for dom_ranger:

Public Member Functions

 dom_ranger ()
 
 ~dom_ranger ()
 
virtual bool range_of_expr (vrange &r, tree expr, gimple *s=NULL) override
 
virtual bool range_on_edge (vrange &r, edge e, tree expr) override
 
virtual bool range_of_stmt (vrange &r, gimple *s, tree name=NULL) override
 
bool edge_range (vrange &r, edge e, tree name)
 
void range_in_bb (vrange &r, basic_block bb, tree name)
 
void pre_bb (basic_block bb)
 
void post_bb (basic_block bb)
 
virtual tree value_of_expr (tree expr, gimple *=NULL)
 
virtual tree value_on_edge (edge, tree expr)
 
virtual tree value_of_stmt (gimple *, tree name=NULL)
 
virtual tree value_on_entry (basic_block, tree expr)
 
virtual tree value_on_exit (basic_block, tree expr)
 
virtual bool range_on_entry (vrange &r, basic_block bb, tree expr)
 
virtual bool range_on_exit (vrange &r, basic_block bb, tree expr)
 
class relation_oraclerelation () const
 
void create_relation_oracle ()
 
void destroy_relation_oracle ()
 
class infer_range_oracleinfer_oracle () const
 
void create_infer_oracle (bool do_search=TRUE)
 
void destroy_infer_oracle ()
 
class gimple_outgoing_rangegori () const
 
class gori_mapgori_ssa () const
 
void create_gori (int not_executable_flag=0, int sw_max_edges=INT_MAX)
 
void destroy_gori ()
 
virtual void dump (FILE *)
 

Protected Member Functions

 DISABLE_COPY_AND_ASSIGN (dom_ranger)
 
void maybe_push_edge (edge e, bool edge_0)
 
bool get_tree_range (vrange &v, tree expr, gimple *stmt, basic_block bbentry=NULL, basic_block bbexit=NULL)
 
bool invoke_range_of_expr (vrange &v, tree expr, gimple *stmt, basic_block bbentry, basic_block bbexit)
 
bool get_arith_expr_range (vrange &r, tree expr, gimple *stmt)
 
void share_query (range_query &q)
 

Protected Attributes

ssa_cache m_global
 
vec< ssa_lazy_cache * > m_freelist
 
vec< ssa_lazy_cache * > m_e0
 
vec< ssa_lazy_cache * > m_e1
 
bitmap m_pop_list
 
range_tracer tracer
 
relation_oraclem_relation
 
infer_range_oraclem_infer
 
gimple_outgoing_rangem_gori
 
gori_mapm_map
 
bool m_shared_copy_p
 

Constructor & Destructor Documentation

◆ dom_ranger()

◆ ~dom_ranger()

dom_ranger::~dom_ranger ( )

Member Function Documentation

◆ create_gori()

void range_query::create_gori ( int not_executable_flag = 0,
int sw_max_edges = INT_MAX )
inherited

◆ create_infer_oracle()

void range_query::create_infer_oracle ( bool do_search = TRUE)
inherited

◆ create_relation_oracle()

void range_query::create_relation_oracle ( )
inherited

◆ destroy_gori()

void range_query::destroy_gori ( )
inherited

◆ destroy_infer_oracle()

void range_query::destroy_infer_oracle ( )
inherited

◆ destroy_relation_oracle()

void range_query::destroy_relation_oracle ( )
inherited

◆ DISABLE_COPY_AND_ASSIGN()

dom_ranger::DISABLE_COPY_AND_ASSIGN ( dom_ranger )
protected

◆ dump()

void range_query::dump ( FILE * )
virtualinherited

◆ edge_range()

bool dom_ranger::edge_range ( vrange & r,
edge e,
tree name )

◆ get_arith_expr_range()

bool range_query::get_arith_expr_range ( vrange & r,
tree expr,
gimple * stmt )
protectedinherited

◆ get_tree_range()

◆ gori()

◆ gori_ssa()

◆ infer_oracle()

◆ invoke_range_of_expr()

bool range_query::invoke_range_of_expr ( vrange & v,
tree expr,
gimple * stmt,
basic_block bbentry,
basic_block bbexit )
protectedinherited

◆ maybe_push_edge()

void dom_ranger::maybe_push_edge ( edge e,
bool edge_0 )
protected

◆ post_bb()

void dom_ranger::post_bb ( basic_block bb)

◆ pre_bb()

◆ range_in_bb()

◆ range_of_expr()

◆ range_of_stmt()

◆ range_on_edge()

bool dom_ranger::range_on_edge ( vrange & r,
edge ,
tree expr )
overridevirtual
Support routines for value queries.
   Copyright (C) 2020-2024 Free Software Foundation, Inc.
   Contributed by Aldy Hernandez <aldyh@redhat.com> and
   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/>.   

Reimplemented from range_query.

References dump_file, edge_range(), fputc(), range_query::get_tree_range(), gimple_range_ssa_p(), range_tracer::header(), NULL, print_generic_expr(), r, range_in_bb(), TDF_SLIM, tracer, and range_tracer::trailer().

◆ range_on_entry()

◆ range_on_exit()

bool range_query::range_on_exit ( vrange & r,
basic_block bb,
tree expr )
virtualinherited

◆ relation()

◆ share_query()

◆ value_of_expr()

◆ value_of_stmt()

◆ value_on_edge()

◆ value_on_entry()

tree range_query::value_on_entry ( basic_block bb,
tree expr )
virtualinherited

◆ value_on_exit()

tree range_query::value_on_exit ( basic_block bb,
tree expr )
virtualinherited

Field Documentation

◆ m_e0

vec<ssa_lazy_cache *> dom_ranger::m_e0
protected

◆ m_e1

vec<ssa_lazy_cache *> dom_ranger::m_e1
protected

◆ m_freelist

vec<ssa_lazy_cache *> dom_ranger::m_freelist
protected

◆ m_global

ssa_cache dom_ranger::m_global
protected

◆ m_gori

◆ m_infer

◆ m_map

◆ m_pop_list

bitmap dom_ranger::m_pop_list
protected

Referenced by dom_ranger(), and ~dom_ranger().

◆ m_relation

◆ m_shared_copy_p

bool range_query::m_shared_copy_p
protectedinherited

◆ tracer

range_tracer dom_ranger::tracer
protected

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