llvm-project/llvm/test/CodeGen/MIR
Alex Lorenz 33f0aef32f MIR Serialization: Serialize machine basic block operands.
This commit serializes machine basic block operands. The
machine basic block operands use the following syntax:

  %bb.<id>[.<name>]

This commit also modifies the YAML representation for the
machine basic blocks - a new, required field 'id' is added
to the MBB YAML mapping.

The id is used to resolve the MBB references to the
actual MBBs. And while the name of the MBB can be
included in a MBB reference, this name isn't used to
resolve MBB references - as it's possible that multiple
MBBs will reference the same BB and thus they will have the
same name. If the name is specified, the parser will verify
that it is equal to the name of the MBB with the specified id.

Reviewers: Duncan P. N. Exon Smith

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

llvm-svn: 240792
2015-06-26 16:46:11 +00:00
..
X86 MIR Serialization: Serialize machine basic block operands. 2015-06-26 16:46:11 +00:00
basic-blocks.mir MIR Serialization: Serialize machine basic block operands. 2015-06-26 16:46:11 +00:00
function-missing-machine-function.mir MIR Serialization: Connect the machine function analysis pass to the MIR parser. 2015-06-15 20:30:22 +00:00
lit.local.cfg Resubmit r237954 (MIR Serialization: print and parse LLVM IR using MIR format). 2015-05-27 18:02:19 +00:00
llvm-ir-error-reported.mir MIR Serialization: Connect the machine function analysis pass to the MIR parser. 2015-06-15 20:30:22 +00:00
llvmIR.mir MIR Serialization: Connect the machine function analysis pass to the MIR parser. 2015-06-15 20:30:22 +00:00
llvmIRMissing.mir MIR Serialization: Create dummy functions when the MIR file doesn't have LLVM IR. 2015-06-15 23:07:38 +00:00
machine-basic-block-redefinition-error.mir MIR Serialization: Serialize machine basic block operands. 2015-06-26 16:46:11 +00:00
machine-basic-block-unknown-name.mir MIR Serialization: Serialize machine basic block operands. 2015-06-26 16:46:11 +00:00
machine-function-missing-function.mir MIR Parser: Report an error when a machine function doesn't have a corresponding function. 2015-06-16 17:06:29 +00:00
machine-function-missing-name.mir MIR Serialization: Connect the machine function analysis pass to the MIR parser. 2015-06-15 20:30:22 +00:00
machine-function-redefinition-error.mir MIR Serialization: Report an error when machine functions have the same name. 2015-06-15 22:23:23 +00:00
machine-function.mir MIR Serialization: Serialize simple MachineRegisterInfo attributes. 2015-06-24 19:56:10 +00:00
register-info.mir MIR Serialization: Serialize simple MachineRegisterInfo attributes. 2015-06-24 19:56:10 +00:00