This commit extends the TargetRegisterInfo class and TableGen so that the users of TRI can get the list of all the call preserved register masks and a list of names that correspond to each mask.
This patch is useful for MIR Serialization, as it would enable serialization of register mask machine operands.
ArrayRef already implies 'const', no?