[LLVMdev] How to get register liveness information for each MachineBasicBlock

Dongrui She sarevokcc at gmail.com
Mon Mar 21 03:46:40 PDT 2011


Hi all,

I try to print the live-in and live-out registers for each basic block in a
backend for my own target.
And I can get a list of live-in registers directly in MachineBasicBlock.

Is there a quick way to also get the list of live-out registers without
redoing the analysis. I think
this information is computed and stored somewhere.

-- 

Regards,

Dongrui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110321/d57dea89/attachment.html>


More information about the llvm-dev mailing list