[LLVMdev] [LLVMDev] [Question] How do I get the number of machine registers.

Jeff Kunkel jdkunk3 at gmail.com
Fri Sep 3 09:37:15 PDT 2010


How do I get the total number of machine registers? I have currently
a MachineFunction and some derivatives.

How are the machine registers ordered internally? Can I index them off of a
zero based array or do I have to create a map to have them be zero based?

Thanks,
Jeff Kunkel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100903/05733725/attachment.html>


More information about the llvm-dev mailing list