[LCG] Hoist the logic for forming a new SCC from the top of the DFSStack
authorChandler Carruth <chandlerc@gmail.com>
Wed, 23 Apr 2014 06:09:03 +0000 (06:09 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 23 Apr 2014 06:09:03 +0000 (06:09 +0000)
commitb0015735153741b6f0978127976002fda9503a3c
tree6e9c61c8ccad1d46f177b4ab976002dad86930f3
parentb3112f6acc4fda6471c2043b2f1aa8c36754cc3b
[LCG] Hoist the logic for forming a new SCC from the top of the DFSStack
into a helper function. I plan to re-use it for doing incremental
DFS-based updates to the SCCs when we mutate the call graph.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206948 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LazyCallGraph.h
lib/Analysis/LazyCallGraph.cpp