Register Liveness

I was wonderring if there is any quick way to check how many virtual registers are live-in at any give instruction of a function?

Right now my understanding is that I would have to calculate the gen, kill, in and out sets and iterate over the entire functions CFG until the sets stop changing.


There has been talk about lazily computing liveness. Please search the llvmdev archive.