r192040 - in /branches/lra/gcc: ChangeLog lra-a...

steven@gcc.gnu.org steven@gcc.gnu.org
Wed Oct 3 15:51:00 GMT 2012


Author: steven
Date: Wed Oct  3 15:51:28 2012
New Revision: 192040

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192040
Log:
	* timevar.def (TV_LRA, TV_LRA_ELIMINATE, TV_LRA_INHERITANCE,
	TV_LRA_CREATE_LIVE_RANGES, TV_LRA_ASSIGN, TV_LRA_COALESCE): New.
	* lra.c (get_static_insn_data): Use XNEW* instead of xmalloc,
	or XRESIZEVEC instead of xrealloc.
	(check_and_expand_insn_recog_data): Likewise.
	(setup_operand_alternative): Likewise.
	(lra_set_insn_recog_data): Likewise.
	(init_reg_info): Likewise.
	(expand_reg_info): Likewise.
	(remove_scratches): Likewise.
	(lra): Push/pop TV_LRA.
	* lra-eliminations.c (lra_eliminate): Push/pop TV_LRA_ELIMINATE.
	* lra-spills.c (assign_spill_hard_regs): Use XNEW* instead of xmalloc.
	(lra_spill): Likewise.
	* lra-lives.c (create_start_finish_chains): Likewise.
	(remove_some_program_points_and_update_live_ranges): Likewise.
	(lra_create_live_ranges): Push/pop TV_LRA_CREATE_LIVE_RANGES.
	* lra-coalesce.c (lra_coalesce): Push/pop TV_LRA_COALESCE.
	Use XNEW* instead of xmalloc.
	* lra-constraints.c (lra_inheritance): Likewise.
	* lra-assigns.c (init_regno_assign_info): Use XNEW* instead of xmalloc.
	(init_lives): Likewise.
	(assign_by_spills): Likewise.
	(lra_assign): Likewise.  Push/pop TV_LRA_ASSIGN.

	* lra-assigns.c (live_hard_reg_pseudos_bitmap_obstack,
	live_reload_and_inheritance_pseudos_bitmap_obstack): New bitmap
	obstacks.
	(init_lives, finish_lives, init_live_reload_and_inheritance_pseudos,
	finish_live_reload_and_inheritance_pseudos): Initialize or release
	them, and allocate bitmaps on the new bitmap obstacks.


Modified:
    branches/lra/gcc/ChangeLog
    branches/lra/gcc/lra-assigns.c
    branches/lra/gcc/lra-coalesce.c
    branches/lra/gcc/lra-constraints.c
    branches/lra/gcc/lra-eliminations.c
    branches/lra/gcc/lra-lives.c
    branches/lra/gcc/lra-spills.c
    branches/lra/gcc/lra.c
    branches/lra/gcc/timevar.def



More information about the Gcc-cvs mailing list