llvm-6502/lib
Chandler Carruth e3a8e534e1 [LCG] Re-organize the methods for mutating a call graph to make their
API requirements much more obvious.

The key here is that there are two totally different use cases for
mutating the graph. Prior to doing any SCC formation, it is very easy to
mutate the graph. There may be users that want to do small tweaks here,
and then use the already-built graph for their SCC-based operations.
This method remains on the graph itself and is documented carefully as
being cheap but unavailable once SCCs are formed.

Once SCCs are formed, and there is some in-flight DFS building them, we
have to be much more careful in how we mutate the graph. These mutation
operations are sunk onto the SCCs themselves, which both simplifies
things (the code was already there!) and helps make it obvious that
these interfaces are only applicable within that context. The other
primary constraint is that the edge being mutated is actually related to
the SCC on which we call the method. This helps make it obvious that you
cannot arbitrarily mutate some other SCC.

I've tried to write much more complete documentation for the interesting
mutation API -- intra-SCC edge removal. Currently one aspect of this
documentation is a lie (the result list of SCCs) but we also don't even
have tests for that API. =[ I'm going to add tests and fix it to match
the documentation next.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207339 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-27 01:59:50 +00:00
..
Analysis [LCG] Re-organize the methods for mutating a call graph to make their 2014-04-27 01:59:50 +00:00
AsmParser Add 'musttail' marker to call instructions 2014-04-24 20:14:34 +00:00
Bitcode Add 'musttail' marker to call instructions 2014-04-24 20:14:34 +00:00
CodeGen DAGCombiner: Simplify code a bit, make more transforms work with vectors. 2014-04-26 23:09:49 +00:00
DebugInfo Fix missing include 2014-04-25 21:42:35 +00:00
ExecutionEngine [C++] Use 'nullptr'. 2014-04-24 06:44:33 +00:00
IR Add missing include guards and missing #include, found by modules build. 2014-04-26 00:53:26 +00:00
IRReader
LineEditor
Linker
LTO Add an -mattr option to the gold plugin to support subtarget features in LTO 2014-04-25 21:46:51 +00:00
MC Fix quadratic performance during debug compression due to sections x symbols iteration. 2014-04-25 00:48:01 +00:00
Object [yaml2obj][ELF] Remove unnecessary space between namespace name and 2014-04-23 17:30:29 +00:00
Option
ProfileData ProfileData: Treat missing function counts as malformed 2014-04-25 02:45:33 +00:00
Support cl::ParseCommandLineOptions(): Use StringRef to receive sys::path::filename() instead of std::string. 2014-04-23 14:51:23 +00:00
TableGen
Target Replace std::vector with SmallVector for some small, known size vectors. 2014-04-26 19:29:47 +00:00
Transforms RecursivelyDeleteTriviallyDeadInstructions() could remove 2014-04-26 05:58:11 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile