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)
commit7c6ad33126df9ebbc66206b7882f336e6748202f
tree05d481564f9b880f498709f8792052dcfad54bf5
parent7255090cd339bc93902b5f28fa73eb2d5556de64
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241844 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MIRYamlMapping.h
lib/CodeGen/MIRParser/MIRParser.cpp
lib/CodeGen/MIRPrinter.cpp
test/CodeGen/MIR/frame-info.mir [new file with mode: 0644]