[PATCH] D149932: [MemProf] Add hot allocation type

Kan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 00:10:15 PDT 2023


kanwu created this revision.
kanwu added reviewers: snehasish, davidxl, tejohnson.
Herald added subscribers: hoy, ormris, arphaman, steven_wu, hiraditya.
Herald added a project: All.
kanwu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Add "Hot" AllocationType (in addition to existing cold, notcold).

Use lifetime access density as metric to identify hot allocations.
Treat hot as notcold for MemProfContextDisambiguation or now before
before the disambiguation for "hot" is done.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149932

Files:
  llvm/include/llvm/IR/ModuleSummaryIndex.h
  llvm/lib/Analysis/MemoryProfileInfo.cpp
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/IR/AsmWriter.cpp
  llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
  llvm/test/Assembler/thinlto-memprof-summary.ll
  llvm/unittests/Analysis/MemoryProfileInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149932.519753.patch
Type: text/x-patch
Size: 34032 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230505/c9141de1/attachment.bin>


More information about the llvm-commits mailing list