GCC Middle and Back End API Reference
sparseset.c File Reference

Functions

sparseset sparseset_alloc ()
static void sparseset_swap ()
void sparseset_clear_bit ()
void sparseset_copy ()
void sparseset_and ()
void sparseset_and_compl ()
void sparseset_ior ()
bool sparseset_equal_p ()

Function Documentation

sparseset sparseset_alloc ( )
@verbatim SparseSet implementation.

Copyright (C) 2007-2013 Free Software Foundation, Inc. Contributed by Peter Bergner bergn.nosp@m.er@v.nosp@m.net.i.nosp@m.bm.c.nosp@m.om

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/.

Allocate and clear a n_elms SparseSet.   

References sparseset_clear().

Referenced by build_conflict_bit_table(), fwprop_init(), init_live_reload_and_inheritance_pseudos(), init_lives(), ira_create_allocno_live_ranges(), ira_flattening(), and lra_create_live_ranges().

void sparseset_and ( )
void sparseset_and_compl ( )
Operation: D = A & ~B.
   Restrictions: D != B, unless D == A == B.   

References sparseset_bit_p(), sparseset_cardinality(), sparseset_clear(), sparseset_clear_bit(), and sparseset_set_bit().

Referenced by process_bb_lives().

void sparseset_copy ( )
bool sparseset_equal_p ( )
Operation: A == B
   Restrictions: none.   

References sparseset_bit_p(), and sparseset_cardinality().

void sparseset_ior ( )
Operation: D = A | B.
   Restrictions: none.   

References sparseset_copy(), and sparseset_set_bit().

Referenced by process_bb_lives().

static void sparseset_swap ( )
inlinestatic
Low level routine not meant for use outside of sparseset.[ch].
   Assumes idx1 < s->members and idx2 < s->members.   

References sparseset_def::dense, and sparseset_insert_bit().

Referenced by sparseset_clear_bit().