[PATCH] Machine Level IR Serialization: print and parse LLVM IR.

Alex Lorenz arphaman at gmail.com
Fri May 15 17:24:39 PDT 2015


I decided to switch back to the MachineFunctionPass, but this time the 'HaveToPrintModule' flag isn't required - I print out the
module in the 'doFinalization' method. This means I will have to print out the machine functions into a
temporary string and then print out the string after the module is printed in the 'doFinalization' method.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9616

Files:
  include/llvm/CodeGen/MIR/MIRParser.h
  include/llvm/CodeGen/Passes.h
  include/llvm/InitializePasses.h
  include/llvm/Support/YAMLTraits.h
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/LLVMBuild.txt
  lib/CodeGen/LLVMTargetMachine.cpp
  lib/CodeGen/MIR/CMakeLists.txt
  lib/CodeGen/MIR/LLVMBuild.txt
  lib/CodeGen/MIR/MIRParser.cpp
  lib/CodeGen/MIR/MIRPrinter.cpp
  lib/CodeGen/MIR/MIRPrinter.h
  lib/CodeGen/MIR/MIRPrintingPass.cpp
  lib/CodeGen/MIR/Makefile
  lib/CodeGen/Makefile
  lib/Support/YAMLTraits.cpp
  test/CodeGen/Generic/stop-after.ll
  test/CodeGen/MIR/lit.local.cfg
  test/CodeGen/MIR/llvmIR.mir
  test/CodeGen/MIR/llvmIRMissing.mir
  tools/llc/llc.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9616.25907.patch
Type: text/x-patch
Size: 20686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150516/7238d978/attachment.bin>


More information about the llvm-commits mailing list