[LLVMdev] Computing live values

Vladimir Prus ghost at cs.msu.su
Wed May 11 05:57:02 PDT 2005


Say I want to find all LLVM Value*-es that a live on exit from a basic block. 
What's the best way?

- The 'LiveRange', 'LiveVariables' and 'LiveIntervals' classes seem to be tied 
to register allocation.
- The ./lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.h file seem to provide 
what I need, but it's no a public header.


- Volodya




More information about the llvm-dev mailing list