llvm-6502/lib/Analysis/IPA
Chris Lattner 08e322db8a Implement (but don't enable) PR6724 and rdar://6295824. In short,
we have RefreshCallGraph detect when a function pass devirtualizes
a call, and have CGSCCPassMgr iterate (up to a count) when this 
happens.  This allows (in the example) GVN to devirtualize the 
call in foo, then the inliner to inline it away.

This is not currently enabled because I haven't done any analysis
on the (potentially substantial) code size or performance impact of
doing this, and guess what, it exposes callgraph updating bugs in
various passes.  This is progress though, and you can play with it
by passing -max-cg-scc-iterations=5 to opt.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101973 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-21 00:47:40 +00:00
..
CallGraph.cpp PR6880: Don't dereference CallsExternalNode if it's NULL. 2010-04-20 12:16:50 +00:00
CallGraphSCCPass.cpp Implement (but don't enable) PR6724 and rdar://6295824. In short, 2010-04-21 00:47:40 +00:00
CMakeLists.txt Update CMake build. 2010-03-01 19:42:47 +00:00
FindUsedTypes.cpp Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
GlobalsModRef.cpp Revert 101465, it broke internal OpenGL testing. 2010-04-16 23:37:20 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00