llvm-mirror/tools/opt
Chandler Carruth 98adff6224 [PM] Split DominatorTree into a concrete analysis result object which
can be used by both the new pass manager and the old.

This removes it from any of the virtual mess of the pass interfaces and
lets it derive cleanly from the DominatorTreeBase<> template. In turn,
tons of boilerplate interface can be nuked and it turns into a very
straightforward extension of the base DominatorTree interface.

The old analysis pass is now a simple wrapper. The names and style of
this split should match the split between CallGraph and
CallGraphWrapperPass. All of the users of DominatorTree have been
updated to match using many of the same tricks as with CallGraph. The
goal is that the common type remains the resulting DominatorTree rather
than the pass. This will make subsequent work toward the new pass
manager significantly easier.

Also in numerous places things became cleaner because I switched from
re-running the pass (!!! mid way through some other passes run!!!) to
directly recomputing the domtree.

llvm-svn: 199104
2014-01-13 13:07:17 +00:00
..
AnalysisWrappers.cpp [PM] Split the CallGraph out from the ModulePass which creates the 2013-11-26 04:19:30 +00:00
CMakeLists.txt [PM] Add (very skeletal) support to opt for running the new pass 2014-01-11 08:16:35 +00:00
GraphPrinters.cpp [PM] Split DominatorTree into a concrete analysis result object which 2014-01-13 13:07:17 +00:00
LLVMBuild.txt Split out the IRReader header and the utility functions it provides into 2013-03-26 02:25:37 +00:00
Makefile Strip dead code when linking by default with BFD ld (linux, ...) and ld64 (os x). 2013-12-27 22:38:59 +00:00
NewPMDriver.cpp [PM] Wire up support for writing bitcode with new PM. 2014-01-13 07:38:24 +00:00
NewPMDriver.h [PM] Add an enum for describing the desired output strategy, and run 2014-01-13 03:08:40 +00:00
opt.cpp [cleanup] Move the Dominators.h and Verifier.h headers into the IR 2014-01-13 09:26:24 +00:00
Passes.cpp [PM] Add module and function printing passes for the new pass manager. 2014-01-12 12:15:39 +00:00
Passes.h [PM] Add (very skeletal) support to opt for running the new pass 2014-01-11 08:16:35 +00:00
PrintSCC.cpp [PM] Remove the underspecified 'getRoot' method from CallGraph. It's 2013-11-27 01:32:17 +00:00