2005-11-17 Mircea Namolaru * ipa-cha.c: New file. Contains IPA CHA specific functionality. * ipa-prop.h: Add declaration for cha_driver. * tree.h: Added a mew macro, TYPE_OBJ_CREATED and a new field cha-inheritance in tree_binfo. * print-tree.c: (print_node): Support for TYPE_OBJ_CREATED. * Makefile.in: Add ipa-cha.c. * langhooks.h: Added a new hook, cha_is_ctor_dtor. Added an additional argument to fold_obj_type_ref. * langhooks-def.h: Support for the new hook. * tree-ssa-ccp.c: (fold_stmt): Add the additional argument to the invocation of fold_obj_type_ref. * cp/cp-lang.h: Map the new hook. * cp/cp-tree.h: Declaration for cp_cha_is_ctor_dtor. Added a new argument to the declaration of fold_obj_type_ref. * cp/class.c: (cp_cha_is_ctor_dtor): New function. (get_array_entry): New function. (cp_fold_obj_virtuals): New function. (cp_fold_obj_type_ref): Add an additional argument decl_type. Extend its functionality. * common.opt: Add ipa-cha flag. * timevar.def: Add IPA CHA optimization. * passes.c: Add IPA CHA pass. * tree-pass.h: Same.