[PATCH] D70927: Introduce a CallGraph updater helper class

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 2 14:47:54 PST 2019


jdoerfert created this revision.
jdoerfert added reviewers: chandlerc, modocache.
Herald added subscribers: bollu, hiraditya, mgorny, mehdi_amini.
Herald added a project: LLVM.

The CallGraphUpdater is a helper that simplifies the process of updating
the call graph, both old and new style, while running an CG-SCC pass.

The uses are, for now, contained in different commits, e.g. D70767 <https://reviews.llvm.org/D70767>.

More functionality, e.g., replace a function with a new version, is
added as we need it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70927

Files:
  llvm/include/llvm/Analysis/CGSCCPassManager.h
  llvm/include/llvm/Analysis/CallGraph.h
  llvm/include/llvm/Transforms/Utils/CallGraphUpdater.h
  llvm/lib/Analysis/CGSCCPassManager.cpp
  llvm/lib/Transforms/Utils/CMakeLists.txt
  llvm/lib/Transforms/Utils/CallGraphUpdater.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70927.231782.patch
Type: text/x-patch
Size: 11161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191202/e57e3fd5/attachment.bin>


More information about the llvm-commits mailing list