[PATCH] D52776: [OptRemarks] Add library for parsing optimization remarks
Francis Visoiu Mistrih via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 2 03:22:14 PDT 2018
thegameg created this revision.
thegameg added reviewers: hfinkel, paquette, anemet, JDevlieghere.
Herald added a reviewer: deadalnix.
Herald added a subscriber: mgorny.
Add a library that parses optimization remarks (currently YAML, so based on the YAMLParser).
The goal is to be able to provide a remark parser that is not completely dependent on YAML, in case we decide to change the format later.
It exposes a C API which takes a handler that is called with the remark structure. It adds a libLLVMOptRemark.a static library, and it's used in-tree by the llvm-opt-report tool (from which the parser has been mostly moved out).
https://reviews.llvm.org/D52776
Files:
include/llvm-c/OptRemarks.h
lib/CMakeLists.txt
lib/LLVMBuild.txt
lib/OptRemarks/CMakeLists.txt
lib/OptRemarks/LLVMBuild.txt
lib/OptRemarks/OptRemarksParser.cpp
tools/llvm-opt-report/CMakeLists.txt
tools/llvm-opt-report/OptReport.cpp
unittests/CMakeLists.txt
unittests/OptRemarks/CMakeLists.txt
unittests/OptRemarks/OptRemarksParsingTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52776.167910.patch
Type: text/x-patch
Size: 39749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181002/f93300aa/attachment.bin>
More information about the llvm-commits
mailing list