MIR Serialization: Serialize the register mask machine operands.
authorAlex Lorenz <arphaman@gmail.com>
Mon, 29 Jun 2015 16:57:06 +0000 (16:57 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 29 Jun 2015 16:57:06 +0000 (16:57 +0000)
commit1a4def3d97f3dbec286e875c9c239709fe1f24a0
treefd5dbb2b021b4995bba2c6741eb4f54d4804dbc9
parent59a20ece84158676b2afa8ac43306172b453d14d
MIR Serialization: Serialize the register mask machine operands.

This commit implements serialization of the register mask machine
operands. This commit serializes only the call preserved register
masks that are defined by a target, it doesn't serialize arbitrary
register masks.

This commit also extends the TargetRegisterInfo class and TableGen so that
the users of TRI can get the list of all the call preserved register masks and
their names.

Reviewers: Duncan P. N. Exon Smith

Differential Revision: http://reviews.llvm.org/D10673

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240966 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetRegisterInfo.h
lib/CodeGen/MIRParser/MIParser.cpp
lib/CodeGen/MIRPrinter.cpp
test/CodeGen/MIR/X86/register-mask-operands.mir [new file with mode: 0644]
utils/TableGen/RegisterInfoEmitter.cpp