r193066 - in /trunk/gcc: ChangeLog alias.c basi...

crowl@gcc.gnu.org crowl@gcc.gnu.org
Thu Nov 1 19:23:00 GMT 2012


Author: crowl
Date: Thu Nov  1 19:23:35 2012
New Revision: 193066

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193066
Log:
This patch normalizes more bitmap function names.

  sbitmap.h

    TEST_BIT -> bitmap_bit_p
    SET_BIT -> bitmap_set_bit
    SET_BIT_WITH_POPCOUNT -> bitmap_set_bit_with_popcount
    RESET_BIT -> bitmap_clear_bit
    RESET_BIT_WITH_POPCOUNT -> bitmap_clear_bit_with_popcount

  basic-block.h

    sbitmap_intersection_of_succs -> bitmap_intersection_of_succs
    sbitmap_intersection_of_preds -> bitmap_intersection_of_preds
    sbitmap_union_of_succs -> bitmap_union_of_succs
    sbitmap_union_of_preds -> bitmap_union_of_preds

The sbitmap.h functions also needed their numeric paramter changed
from unsigned int to int to match the bitmap functions.

Callers updated to match.

Tested on x86-64, config-list.mk testing.


Index: gcc/ChangeLog

2012-11-01  Lawrence Crowl  <crowl@google.com>

	* sbitmap.h (TEST_BIT): Rename bitmap_bit_p, normalizing parameter
	type. Update callers to match.
	(SET_BIT): Rename bitmap_set_bit, normalizing parameter type. Update
	callers to match.
	(SET_BIT_WITH_POPCOUNT): Rename bitmap_set_bit_with_popcount,
	normalizing parameter type. Update callers to match.
	(RESET_BIT): Rename bitmap_clear_bit, normalizing parameter type.
	Update callers to match.
	(RESET_BIT_WITH_POPCOUNT): Rename bitmap_clear_bit_with_popcount,
	normalizing parameter type. Update callers to match.
	* basic-block.h (sbitmap_intersection_of_succs): Rename
	bitmap_intersection_of_succs. Update callers to match.
	* basic-block.h (sbitmap_intersection_of_preds): Rename
	bitmap_intersection_of_preds. Update callers to match.
	* basic-block.h (sbitmap_union_of_succs): Rename
	bitmap_union_of_succs. Update callers to match.
	* basic-block.h (sbitmap_union_of_preds): Rename
	bitmap_union_of_preds. Update callers to match.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/alias.c
    trunk/gcc/basic-block.h
    trunk/gcc/bt-load.c
    trunk/gcc/calls.c
    trunk/gcc/cfg.c
    trunk/gcc/cfganal.c
    trunk/gcc/cfgbuild.c
    trunk/gcc/cfgloop.c
    trunk/gcc/cfgloopmanip.c
    trunk/gcc/cfgrtl.c
    trunk/gcc/config/epiphany/resolve-sw-modes.c
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/mips/mips.c
    trunk/gcc/config/spu/spu.c
    trunk/gcc/cprop.c
    trunk/gcc/cse.c
    trunk/gcc/dce.c
    trunk/gcc/ddg.c
    trunk/gcc/df-core.c
    trunk/gcc/domwalk.c
    trunk/gcc/dse.c
    trunk/gcc/ebitmap.c
    trunk/gcc/ebitmap.h
    trunk/gcc/except.c
    trunk/gcc/function.c
    trunk/gcc/gcse.c
    trunk/gcc/genautomata.c
    trunk/gcc/graphite-sese-to-poly.c
    trunk/gcc/ira-lives.c
    trunk/gcc/ira.c
    trunk/gcc/lcm.c
    trunk/gcc/loop-unroll.c
    trunk/gcc/lower-subreg.c
    trunk/gcc/lra-lives.c
    trunk/gcc/lra.c
    trunk/gcc/mode-switching.c
    trunk/gcc/modulo-sched.c
    trunk/gcc/recog.c
    trunk/gcc/regcprop.c
    trunk/gcc/sbitmap.c
    trunk/gcc/sbitmap.h
    trunk/gcc/sched-rgn.c
    trunk/gcc/sel-sched-ir.c
    trunk/gcc/sel-sched.c
    trunk/gcc/store-motion.c
    trunk/gcc/tracer.c
    trunk/gcc/tree-cfg.c
    trunk/gcc/tree-eh.c
    trunk/gcc/tree-into-ssa.c
    trunk/gcc/tree-outof-ssa.c
    trunk/gcc/tree-ssa-dce.c
    trunk/gcc/tree-ssa-live.c
    trunk/gcc/tree-ssa-loop-im.c
    trunk/gcc/tree-ssa-loop-ivcanon.c
    trunk/gcc/tree-ssa-loop-ivopts.c
    trunk/gcc/tree-ssa-loop-manip.c
    trunk/gcc/tree-ssa-phiopt.c
    trunk/gcc/tree-ssa-pre.c
    trunk/gcc/tree-ssa-propagate.c
    trunk/gcc/tree-ssa-reassoc.c
    trunk/gcc/tree-ssa-structalias.c
    trunk/gcc/tree-stdarg.c
    trunk/gcc/tree-vect-slp.c
    trunk/gcc/tree-vrp.c
    trunk/gcc/var-tracking.c



More information about the Gcc-cvs mailing list