MIR Serialization: Serialize MBB successors.
authorAlex Lorenz <arphaman@gmail.com>
Tue, 30 Jun 2015 18:16:42 +0000 (18:16 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 30 Jun 2015 18:16:42 +0000 (18:16 +0000)
commit73d2cc5b8e9c92870ca5717d7a524702e0d7e279
tree9539b4d85dab4dc02753d7de03106d52436d03ce
parentba4660cb83640bc09c7b9cd834b9cb0509bd7754
MIR Serialization: Serialize MBB successors.

This commit implements serialization of the machine basic block successors. It
uses a YAML flow sequence that contains strings that have the MBB references.
The MBB references in those strings use the same syntax as the MBB machine
operands in the machine instruction strings.

Reviewers: Duncan P. N. Exon Smith

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241093 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MIRYamlMapping.h
lib/CodeGen/MIRParser/MIParser.cpp
lib/CodeGen/MIRParser/MIParser.h
lib/CodeGen/MIRParser/MIRParser.cpp
lib/CodeGen/MIRPrinter.cpp
test/CodeGen/MIR/expected-eof-after-successor-mbb.mir [new file with mode: 0644]
test/CodeGen/MIR/expected-mbb-reference-for-successor-mbb.mir [new file with mode: 0644]
test/CodeGen/MIR/successor-basic-blocks.mir [new file with mode: 0644]