[PATCH] MIR Serialization: Print and parse machine function names.

Alex Lorenz arphaman at gmail.com
Mon May 18 16:26:21 PDT 2015


Hi dexonsmith, bogner, bob.wilson,

This patch is based on the initial MIR serialization patch (http://reviews.llvm.org/D9616).

In this patch the machine function's names are printed out and then parsed when loading a mir file.

This patch introduces a serializable struct that will mirror the state of the actual machine functions.
This patch doesn't interact with the real machine functions when parsing yet - the connection to the
machine analysis pass where machine functions are created and the serialization of remaining attributes 
in machine functions will be implemented in later patches.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9841

Files:
  lib/CodeGen/MIR/MIRParser.cpp
  lib/CodeGen/MIR/MIRPrinter.cpp
  lib/CodeGen/MIR/MIRPrinter.h
  lib/CodeGen/MIR/MIRPrintingPass.cpp
  lib/CodeGen/MIR/YAMLMapping.h
  test/CodeGen/MIR/llvmIR.mir
  test/CodeGen/MIR/mf.mir
  test/CodeGen/MIR/mfNameMissing.mir

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9841.26026.patch
Type: text/x-patch
Size: 9828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150518/764fffee/attachment.bin>


More information about the llvm-commits mailing list