This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] cfghooks questions
On Jan 13, 2004, at 7:18 AM, Zdenek Dvorak wrote:
cfg_layout is just a layer over rtl that abstracts over some issues
on the raw rtl representation (explicit jumps, notes and insns not
belonging to any basic block).
I guess, I am still confused about why there are two set of hooks
rtl_cfg_hooks and cfg_layout_rtl_cfg_hooks? As I understand,
cfg_layout_rtl_cfg_hooks also maintains/updates cfg_layout. But
I do not understand then why not use that set all the time for
rtl IR (ie why we need rtl_cfg_hooks?). As you can see I am not
very clear. It'd be useful if you can point me to a place in
sources which can help me to clarify my confusion.
Thanks,
--
Devang