This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, Pointer Bounds Checker 14/x] Passes [11/n] Optimization helpers


On 10/08/14 13:16, Ilya Enkovich wrote:
Hi,

This patch introduces structures and manipulation functions used by simple checker optimizations.  Structures are used to hold checks information - type of check and checked address in a polinomial form.

Thanks,
Ilya
--
2014-10-08  Ilya Enkovich  <ilya.enkovich@intel.com>

	* tree-chkp.c (check_type): New.
	(pol_item): New.
	(address_t): New.
	(check_info): New.
	(bb_checks): New.
	(chkp_pol_item_compare): New.
	(chkp_pol_find): New.
	(chkp_extend_const): New.
	(chkp_add_addr_item): New.
	(chkp_sub_addr_item): New.
	(chkp_add_addr_addr): New.
	(chkp_sub_addr_addr): New.
	(chkp_mult_addr): New.
	(chkp_is_constant_addr): New.
	(chkp_print_addr): New.
	(chkp_collect_addr_value): New.
	(chkp_collect_value): New.
	(chkp_fill_check_info): New.


+/* Find plynomial item in ADDR with var equal to VAR
s/plynomial/polynomial/

With nit fixed and functions moved into whatever new file gets created for the optimization work this will be OK.
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]