[PATCH] D135714: [MemProf] ThinLTO summary support

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 14:06:27 PDT 2022


tejohnson created this revision.
tejohnson added a reviewer: snehasish.
Herald added subscribers: ormris, arphaman, steven_wu, mgrang, hiraditya, inglorion.
Herald added a project: All.
tejohnson requested review of this revision.
Herald added a project: LLVM.

Implements the ThinLTO summary support for memprof related metadata.

This includes support for the assembly format, and for building the
summary from IR during ModuleSummaryAnalysis.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135714

Files:
  llvm/include/llvm/Analysis/MemoryProfileInfo.h
  llvm/include/llvm/AsmParser/LLParser.h
  llvm/include/llvm/AsmParser/LLToken.h
  llvm/include/llvm/AsmParser/Parser.h
  llvm/include/llvm/Bitcode/BitcodeReader.h
  llvm/include/llvm/Bitcode/LLVMBitCodes.h
  llvm/include/llvm/IR/ModuleSummaryIndex.h
  llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
  llvm/lib/Analysis/MemoryProfileInfo.cpp
  llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
  llvm/lib/AsmParser/LLLexer.cpp
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/AsmParser/Parser.cpp
  llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/lib/IR/AsmWriter.cpp
  llvm/lib/LTO/LTO.cpp
  llvm/test/Assembler/thinlto-memprof-summary.ll
  llvm/test/ThinLTO/X86/memprof-summary.ll
  llvm/unittests/Analysis/MemoryProfileInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135714.466913.patch
Type: text/x-patch
Size: 93007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221011/0c5c6a4e/attachment.bin>


More information about the llvm-commits mailing list