MIR Serialization: Serialize the simple MachineFrameInfo attributes.
authorAlex Lorenz <arphaman@gmail.com>
Thu, 9 Jul 2015 19:55:27 +0000 (19:55 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 9 Jul 2015 19:55:27 +0000 (19:55 +0000)
commit60541c1d44b1b85baa0d69d34bce61f2ffd416ca
tree2d17a799a26666e498c9d7a9362ff7e7f52972d3
parentea533cde30df7b9941b27606168e0664344f580d
MIR Serialization: Serialize the simple MachineFrameInfo attributes.

This commit serializes the 13 scalar boolean and integer attributes from the
MachineFrameInfo class: IsFrameAddressTaken, IsReturnAddressTaken, HasStackMap,
HasPatchPoint, StackSize, OffsetAdjustment, MaxAlignment, AdjustsStack,
HasCalls, MaxCallFrameSize, HasOpaqueSPAdjustment, HasVAStart, and
HasMustTailInVarArgFunc. These attributes are serialized as part
of the frameInfo YAML mapping, which itself is a part of the machine function's
YAML mapping.

llvm-svn: 241844
llvm/include/llvm/CodeGen/MIRYamlMapping.h
llvm/lib/CodeGen/MIRParser/MIRParser.cpp
llvm/lib/CodeGen/MIRPrinter.cpp
llvm/test/CodeGen/MIR/frame-info.mir [new file with mode: 0644]