NuPlusRegisterInfo.cpp
From NaplesPU Documentation
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.