[LLVMdev] Access GVN's value graph

Chris Lattner clattner at apple.com
Sat May 7 15:05:37 PDT 2011


On May 7, 2011, at 9:27 AM, George Baah wrote:

> Hi All,
>    I would like to get access to GVN's value graph and use it in our pass. 
> However, I do not see a .h file for GVN. Is there a way to get access to the value graph? 
> I assume that the value is encoded in the value table. Thanks.

Hi George,

There is currently no way to do that.  Feel free to hack up the code in your local tree.

-Chris




More information about the llvm-dev mailing list