This is an archive of the discontinued LLVM Phabricator instance.

Remove CallGraphTraits and use equivalent methods in GraphTraits
ClosedPublic

Authored by eraman on Jan 30 2018, 12:34 PM.

Details

Summary

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.

Diff Detail

Event Timeline

eraman created this revision.Jan 30 2018, 12:34 PM
This revision is now accepted and ready to land.Jan 31 2018, 11:58 AM
This revision was automatically updated to reflect the committed changes.