Re: Implementing the pass for reaching definition analysis in gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ Re-directed to gcc-help.  Much easier to get help this way. ]

On Wed, Oct 14, 2009 at 09:41, utkarsh dubey <dubey.utkarsh@xxxxxxxxx> 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
>

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux