]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-structalias.c
This patch normalizes more bitmap function names.
authorLawrence Crowl <crowl@google.com>
Thu, 1 Nov 2012 19:23:35 +0000 (19:23 +0000)
committerLawrence Crowl <crowl@gcc.gnu.org>
Thu, 1 Nov 2012 19:23:35 +0000 (19:23 +0000)
commitd7c028c07b1998cc80f67e053c8131cf8b387af7
tree5ec5bcd56906f1ff213b4652971a165736d6fda7
parent6cd1dd26753a93d9916335a6f698857915d273c2
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.

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