[PATCH] IR: Move the slot tracker out of AsmWriter into a separate public module.

Alex Lorenz arphaman at gmail.com
Wed Jun 17 13:20:08 PDT 2015


Hi dexonsmith, bob.wilson, bogner,

This patch moves the SlotTracker class out of AsmWriter.cpp into a separate module that's publicly accessible.

This patch would be useful for MIR Serialization, in particular it would enable the MIR parser to parse metadata machine operands. The metadata machine operands are serialized using the familiar '!' <slot> notation, and the MIR parser has to be able to map from slot numbers to the actual metadata nodes. The SlotTracker class would allow the MIRParser to create this mapping.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10517

Files:
  include/llvm/IR/SlotTracker.h
  lib/IR/AsmWriter.cpp
  lib/IR/CMakeLists.txt
  lib/IR/SlotTracker.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10517.27862.patch
Type: text/x-patch
Size: 29759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150617/d3db3891/attachment.bin>


More information about the llvm-commits mailing list