[PATCH] MIR Serialization: Connect the machine function analysis pass to MIR parser.
Alex Lorenz
arphaman at gmail.com
Tue Jun 9 16:31:34 PDT 2015
I've updated the patch based on Justin's comments:
- renamed MIRMachineFunctionInitializer to MachineFunctionInitializer
- simplified the MIRParser library interface - now the functions only create the parser, they don't parse the LLVM module. The LLVM module can be parsed by calling the appropriate method from the MIRParser class.
- reworked the error handling to use LLVM's diagnostic info.
I also added the 'anchor' method to the MachineFunctionInitializer interface.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D9928
Files:
include/llvm/CodeGen/MIRParser/MIRParser.h
include/llvm/CodeGen/MachineFunctionAnalysis.h
include/llvm/CodeGen/MachineFunctionInitializer.h
include/llvm/IR/DiagnosticInfo.h
include/llvm/Target/TargetMachine.h
lib/CodeGen/LLVMTargetMachine.cpp
lib/CodeGen/MIRParser/MIRParser.cpp
lib/CodeGen/MachineFunction.cpp
lib/CodeGen/MachineFunctionAnalysis.cpp
lib/IR/DiagnosticInfo.cpp
lib/Target/CppBackend/CPPBackend.cpp
lib/Target/CppBackend/CPPTargetMachine.h
test/CodeGen/MIR/function-missing-machine-function.mir
test/CodeGen/MIR/llvmIR.mir
tools/llc/llc.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9928.27414.patch
Type: text/x-patch
Size: 24570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150609/4d4be0e7/attachment.bin>
More information about the llvm-commits
mailing list