NuPlusRegisterInfo.cpp

From NaplesPU Documentation
Revision as of 19:50, 11 June 2018 by Edo (talk | contribs) (Created page with "These files contain the NuPlus implementation of the ''TargetRegisterInfo'' class and include the ''NuPlusGenRegisterInfo.inc'' file that is generated by TableGen from NuPlu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

These files contain the NuPlus implementation of the TargetRegisterInfo class and include the NuPlusGenRegisterInfo.inc file that is generated by TableGen from NuPlusRegisterInfo.td. This file describes the class used to get information about a target machines register file, used for a variety of purposed, especially register allocation.

In particular:

  • The getCalleeSavedRegs returns the nu+ callee-saved registers, i.e. S50, S51, S52, S53, S54, S55, S56, S57, MR_REG, FP_REG, RA_REG, V56, V57, V58, V59, V60, V61, V62 and V63. The NuPlusCSR_SaveList list is defined inside the NuPlusGenRegisterInfo.inc file.