[LLVMdev] Uniform data dependence info?

Chris Lattner sabre at nondot.org
Thu Feb 24 08:11:56 PST 2005


On Thu, 24 Feb 2005, Victor Leikehman wrote:
>> What specific information do you need?
>
> All my experiments eventually analyze or transform
> the data dependence graph, which takes into account both
> registers and aliasing information.  Because there is already
> a built-in support for graphs, I hoped there is also built-in
> support for data dependence graphs. That would allow, for example,
> to display them naturally with dot utility.

There currently isn't support for this except in the backends.  In the 
target independent world, there is the SelectionDAG support 
(include/llvm/Codegen/SelectionDAG*) which is a fairly general DAG 
framework which will be used for several things (including scheduling in 
the future), but is still under development.  In the SparcV9 backend, 
there is also support for scheduling graphs (see 
include/llvm/CodeGen/SchedGraph*).  I don't know how Sparc specific these 
are, but others on this list probably do.

Both graphs can be emitted using DOT, and in general, any graph that you 
invent yourself can be: just implement the GraphTraits class.

-Chris

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




More information about the llvm-dev mailing list