This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Implementing the pass for reaching definition analysis in gcc
- From: Diego Novillo <dnovillo at google dot com>
- To: utkarsh dubey <dubey dot utkarsh at gmail dot com>, Gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Wed, 14 Oct 2009 09:56:34 -0400
- Subject: Re: Implementing the pass for reaching definition analysis in gcc
- References: <4c63d61a0910140641q46c12c8dke99f31b2f5ece360@mail.gmail.com>
[ Re-directed to gcc-help. Much easier to get help this way. ]
On Wed, Oct 14, 2009 at 09:41, utkarsh dubey <dubey.utkarsh@gmail.com> wrote:
> hi
>
> i am working on a project in which i have to implement the passes for
> reaching definition analysis,
Reaching definitions is done implicitly when computing the SSA form.
For each SSA name, simply traverse its immediate uses using
FOR_EACH_IMM_USE_STMT.
> constant propagation,
<src>/gcc/tree-ssa-ccp.c
> copy propagation
<src>/gcc/tree-ssa-copy.c
> and constant folding.
<src>/gcc/fold-const.c (helper routines used by all the optimizers
and front ends).
> Till now i have
> just been able to build GCC on my
> system.But now i have no clue from where to start. If anyone could please
> help me that how can i get the source codes
> for these passes so that i can go through them and then try to implement it
> myself.
> Please provide some material to start this project.....
>
>
> with regards
> Utkarsh
> M.tech,
> Department of computer science and engineering
> Indian Institute of Technology Kanpur,India
>