llvm-6502/tools
Chandler Carruth 54fec07ec0 [PM] Split the CallGraph out from the ModulePass which creates the
CallGraph.

This makes the CallGraph a totally generic analysis object that is the
container for the graph data structure and the primary interface for
querying and manipulating it. The pass logic is separated into its own
class. For compatibility reasons, the pass provides wrapper methods for
most of the methods on CallGraph -- they all just forward.

This will allow the new pass manager infrastructure to provide its own
analysis pass that constructs the same CallGraph object and makes it
available. The idea is that in the new pass manager, the analysis pass's
'run' method returns a concrete analysis 'result'. Here, that result is
a 'CallGraph'. The 'run' method will typically do only minimal work,
deferring much of the work into the implementation of the result object
in order to be lazy about computing things, but when (like DomTree)
there is *some* up-front computation, the analysis does it prior to
handing the result back to the querying pass.

I know some of this is fairly ugly. I'm happy to change it around if
folks can suggest a cleaner interim state, but there is going to be some
amount of unavoidable ugliness during the transition period. The good
thing is that this is very limited and will naturally go away when the
old pass infrastructure goes away. It won't hang around to bother us
later.

Next up is the initial new-PM-style call graph analysis. =]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195722 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-26 04:19:30 +00:00
..
bugpoint Use startswith_lower() where possible. 2013-11-04 19:22:50 +00:00
bugpoint-passes
gold Use LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN instead of the "dso list". 2013-10-31 20:51:58 +00:00
llc
lli Cleaning up comments in lli 2013-10-29 01:33:14 +00:00
llvm-ar llvm-ar: Let opening a directory failed in llvm-ar. 2013-11-08 12:35:56 +00:00
llvm-as
llvm-bcanalyzer
llvm-c-test llvm-c-test: Don't leak memory buffers. 2013-10-25 15:58:58 +00:00
llvm-config
llvm-cov llvm-cov: Clean up memory leaks. 2013-11-15 09:44:17 +00:00
llvm-diff
llvm-dis
llvm-dwarfdump llvm-dwarfdump: support for emitting only the debug_types section using -debug-dump 2013-11-19 00:29:42 +00:00
llvm-extract
llvm-jitlistener
llvm-link
llvm-lto Use LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN instead of the "dso list". 2013-10-31 20:51:58 +00:00
llvm-mc
llvm-mcmarkup
llvm-nm move getSymbolNMTypeChar to the one program that needs it: nm. 2013-11-02 21:16:09 +00:00
llvm-objdump
llvm-readobj Add support for DT_VERxxx and DT_MIPS_xxx .dynamic section entries to the 2013-11-11 20:51:48 +00:00
llvm-rtdyld Suppress OS crash dialog in llvm-rtdyld 2013-11-05 09:33:43 +00:00
llvm-shlib Rules adjustments in order to build on DragonFly BSD. 2013-10-31 14:35:00 +00:00
llvm-size
llvm-stress [weak vtables] Place class definitions into anonymous namespaces to prevent weak vtables. 2013-11-19 03:08:35 +00:00
llvm-symbolizer
lto Change libLTO back to linking with @executable_path instead of @rpath. 2013-11-11 20:08:24 +00:00
macho-dump
msbuild VS integration: use the correct registry key after r195379 2013-11-22 18:25:43 +00:00
obj2yaml
opt [PM] Split the CallGraph out from the ModulePass which creates the 2013-11-26 04:19:30 +00:00
yaml2obj
CMakeLists.txt
LLVMBuild.txt
Makefile