[LLVMdev] Post-RA Def/Use Information

dag at cray.com dag at cray.com
Fri Jun 15 15:13:45 PDT 2012


Owen Anderson <resistor at mac.com> writes:

> On Jun 15, 2012, at 2:54 PM, dag at cray.com wrote:
>
>> Looking through TOT sources, I don't see anything that would provide
>> def/use chains (or equivalent information) post register allocation.

> Do the MachineRegisterInfo::def_begin/def_end/use_begin/use_end
> iterators not work on physical registers?

Sure, they do, but that doesn't tell you anything about how they relate
to each other.  They simply list every def and use of a register.  For
SSA form, this is great.  But post RA we're not in SSA anymore.

                               -Dave



More information about the llvm-dev mailing list