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 [CMake] bugpoint-passes should not be built in "all", when LLVM_BUILD_TOOLS is OFF. 2013-01-22 01:44:00 +00:00
gold Use LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN instead of the "dso list". 2013-10-31 20:51:58 +00:00
llc Use function attributes to indicate that we don't want to realign the stack. 2013-08-01 21:42:05 +00:00
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 Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-bcanalyzer Add missing #include's to cctype when using isdigit/alpha/etc. 2013-10-12 00:55:57 +00:00
llvm-c-test llvm-c-test: Don't leak memory buffers. 2013-10-25 15:58:58 +00:00
llvm-config cmake: Prevent semicolon separated lists in llvm-config (PR17020) 2013-08-28 17:04:06 +00:00
llvm-cov llvm-cov: Clean up memory leaks. 2013-11-15 09:44:17 +00:00
llvm-diff Remove several unused variables. 2013-10-01 13:32:03 +00:00
llvm-dis Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
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 Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-jitlistener Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
llvm-link Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
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 Add an instruction deprecation feature to TableGen. 2013-09-12 10:28:05 +00:00
llvm-mcmarkup MC: Simple example parser for MC assembly markup. 2012-10-31 23:24:13 +00:00
llvm-nm move getSymbolNMTypeChar to the one program that needs it: nm. 2013-11-02 21:16:09 +00:00
llvm-objdump Remove several unused variables. 2013-10-01 13:32:03 +00:00
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 Sort the #include lines for tools/... 2012-12-04 10:44:52 +00:00
llvm-stress [weak vtables] Place class definitions into anonymous namespaces to prevent weak vtables. 2013-11-19 03:08:35 +00:00
llvm-symbolizer llvm-symbolizer: don't always run demangler on global object names 2013-10-16 09:54:49 +00:00
lto Change libLTO back to linking with @executable_path instead of @rpath. 2013-11-11 20:08:24 +00:00
macho-dump Object/COFF: Rename getXXX{Begin,End} -> xxx_{begin,end}. 2013-09-27 21:47:05 +00:00
msbuild VS integration: use the correct registry key after r195379 2013-11-22 18:25:43 +00:00
obj2yaml Remove several unused variables. 2013-10-01 13:32:03 +00:00
opt [PM] Split the CallGraph out from the ModulePass which creates the 2013-11-26 04:19:30 +00:00
yaml2obj yaml2coff/elf: Touchup for compatibility. 2013-10-12 21:29:16 +00:00
CMakeLists.txt llvm/tools/llvm-c-test should be built also on msvc. 2013-10-23 17:56:59 +00:00
LLVMBuild.txt Remove the very substantial, largely unmaintained legacy PGO 2013-10-02 15:42:23 +00:00
Makefile Add llvm-c-test tool for testing llvm-c 2013-10-23 08:10:20 +00:00