[PATCH] D42703: Remove CallGraphTraits and use equivalent methods in GraphTraits

Easwaran Raman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 12:34:47 PST 2018


eraman created this revision.
eraman added reviewers: davidxl, dberlin.

https://reviews.llvm.org/D42698 adds child_edge_{begin|end} and children_edges to GraphTraits
which are used here. The reason for this change is to make it easy to
use count propagation on ModulesummaryIndex. As it stands,
CallGraphTraits is in Analysis while ModuleSummaryIndex is in IR.


Repository:
  rL LLVM

https://reviews.llvm.org/D42703

Files:
  include/llvm/Analysis/CallGraph.h
  include/llvm/Analysis/SyntheticCountsUtils.h
  lib/Analysis/SyntheticCountsUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42703.132030.patch
Type: text/x-patch
Size: 5259 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180130/90fbe443/attachment.bin>


More information about the llvm-commits mailing list