[LCG] Switch the SCC lookup to be in terms of call graph nodes rather
authorChandler Carruth <chandlerc@gmail.com>
Wed, 23 Apr 2014 23:12:06 +0000 (23:12 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 23 Apr 2014 23:12:06 +0000 (23:12 +0000)
commit31d2477c683f3c411195a896b852af286d49cfcb
tree4e15b9351fcaff55a38ff5c90c5906d4fb950d3d
parente69ea7d8ae951f115511580a913c5802a9843659
[LCG] Switch the SCC lookup to be in terms of call graph nodes rather
than functions. So far, this access pattern is *much* more common. It
seems likely that any user of this interface is going to have nodes at
the point that they are querying the SCCs.

No functionality changed.

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