[LLVMdev] Building a data flow graph from instructions in BasicBlock

Krzysztof Parzyszek kparzysz at codeaurora.org
Sat Nov 3 17:25:47 PDT 2012


On 11/3/2012 6:35 PM, janarbek wrote:
> Hi All,
>
> I want to build a DFG from instructions in a basic block. I couldn't
> find a function to find the depenencies between instructions. How can i
> do that ?

Look into ScheduleDAG.  It's a part of the scheduling infrastructure, 
but you can use it to build a dependency graph.

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation



More information about the llvm-dev mailing list