[LCG] Add the other simple edge insertion API to the call graph. This
authorChandler Carruth <chandlerc@gmail.com>
Thu, 1 May 2014 12:18:20 +0000 (12:18 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 1 May 2014 12:18:20 +0000 (12:18 +0000)
commit3ce8291da368d6c46c3d7f3a3f195562fe8a7a37
tree23520fa5a8b1ac45fa8a67b8bba2881009cae90e
parent54bf6fd4a57878f9247646eb3074c7f4141f39fa
[LCG] Add the other simple edge insertion API to the call graph. This
just connects an SCC to one of its descendants directly. Not much of an
impact. The last one is the hard one -- connecting an SCC to one of its
ancestors, and thereby forming a cycle such that we have to merge all
the SCCs participating in the cycle.

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