[LLVMdev] Value liveout (uses)

Eli Friedman eli.friedman at gmail.com
Fri May 29 23:49:29 PDT 2009


On Fri, May 29, 2009 at 11:37 PM, Rotem Varon<varonrotem at gmail.com> wrote:
> Hi,
>
> How can i know, if a value have uses outside of the current basic block
> (liveout), without iterating through all the basic block ?
>
> Thanks.

Try use_iterator.  See llvm/Value.h.

-Eli



More information about the llvm-dev mailing list