[PATCH] D46699: [ThinLTO] Print module summary index to assembly
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 10 08:40:11 PDT 2018
tejohnson created this revision.
tejohnson added reviewers: mehdi_amini, pcc.
Herald added subscribers: eraman, inglorion.
Implements AsmWriter support for printing the module summary index to
assembly with the format discussed in the RFC "LLVM Assembly format for
ThinLTO Summary".
Implements just enough of the parsing support to recognize and ignore
the summary entries. As agreed in the RFC thread, this will be the
behavior when assembling the IR. A follow on change will implement
parsing/assembling of the summary entries for use by tools that
currently build the summary index from bitcode.
Repository:
rL LLVM
https://reviews.llvm.org/D46699
Files:
include/llvm/IR/ModuleSummaryIndex.h
lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLLexer.h
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
lib/AsmParser/LLToken.h
lib/IR/AsmWriter.cpp
test/Bitcode/thinlto-alias.ll
test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll
test/Bitcode/thinlto-function-summary-callgraph-relbf.ll
test/Bitcode/thinlto-function-summary-refgraph.ll
test/Bitcode/thinlto-type-tests.ll
test/Bitcode/thinlto-type-vcalls.ll
tools/llvm-dis/llvm-dis.cpp
tools/llvm-lto/llvm-lto.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46699.146137.patch
Type: text/x-patch
Size: 50760 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180510/3e9c2391/attachment.bin>
More information about the llvm-commits
mailing list