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: [tree-ssa] Removal of gotos from cfg based ir


On Fri, 14 Nov 2003, Chris Lattner wrote:

> On Fri, 14 Nov 2003, Zdenek Dvorak wrote:
> > > FWIW, LLVM does the exact opposite of this: the CFG is implicitly defined
> > > by the goto's in the program (as opposed to Zdenek's design, where the
> > > gotos are implicitly defined by the CFG).
> >
> > how do you get the edges in the cfg then?
>
> Def-use edges, which are tracked for all SSA values.

Sorry for the terseness.  Def-use edges are used to get predecessors,
use-def edges are used to get successors.

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/


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