| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Shrinkify LLVM's footprint by removing the analyze tool and moving its
functionality into the opt tool. THis eliminates one of the largest tools
from LLVM and doesn't make opt much bigger because it already included
most of the analysis passes. To get the old analyze functionality pass
the -analyze option to opt. Note that the integeration here is dead
simple. The "main" of analyze was just copied to opt and invoked if the
-analyze option was given. There may be opportunities for further
integration such as removing the distinction between transform passes
and analysis passes.
To use the analysis functionality, if you previously did this:
analyze $FNAME -domset -disable-verify
you would now do this:
opt -analyze $FNAME -domset -disable-verify
Pretty simple.
llvm-svn: 29762
|
|
|
|
| |
llvm-svn: 28831
|
|
|
|
|
|
|
|
|
| |
1. Add #includes to LinkAllVMCore.h to get Mangler.o and InlineAsm.o
2. Make Mangler.h and InlineAsm.h use the macros to ensure linkage
3. Make each of the tools with --load options include LinkAllVMCore.h
This should be the last set of changes for this bug and 800.
llvm-svn: 28719
|
|
|
|
| |
llvm-svn: 26494
|
|
|
|
|
|
| |
in relinked object files
llvm-svn: 23922
|
|
|
|
| |
llvm-svn: 21428
|
|
|
|
|
|
|
|
|
|
| |
* Place a try/catch block around the entire tool to Make sure std::string
exceptions are caught and printed before exiting the tool.
* Make sure we catch unhandled exceptions at the top level so that we don't
abort with a useless message but indicate than an unhandled exception was
generated.
llvm-svn: 19192
|
|
|
|
|
|
|
| |
from ModulePass. Instead of implementing Pass::run, then should implement
ModulePass::runOnModule.
llvm-svn: 16436
|
|
|
|
|
|
|
|
| |
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137
|
|
|
|
| |
llvm-svn: 16091
|
|
|
|
| |
llvm-svn: 14740
|
|
|
|
| |
llvm-svn: 13813
|
|
|
|
|
|
| |
to the tool.
llvm-svn: 11634
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
| |
llvm-svn: 9293
|
|
|
|
| |
llvm-svn: 9291
|
|
|
|
| |
llvm-svn: 6155
|
|
|
|
| |
llvm-svn: 6154
|
|
|
|
| |
llvm-svn: 5904
|
|
|
|
| |
llvm-svn: 5616
|
|
|
|
| |
llvm-svn: 4887
|
|
|
|
| |
llvm-svn: 4679
|
|
|
|
| |
llvm-svn: 4559
|
|
|
|
| |
llvm-svn: 3551
|
|
|
|
|
|
|
| |
instead of ::ID's.
- Pass::getAnalysis<> now no longer takes an optional argument
llvm-svn: 3265
|
|
|
|
| |
llvm-svn: 3187
|
|
|
|
|
|
| |
tool of a pipeline is having issues.
llvm-svn: 3167
|
|
|
|
| |
llvm-svn: 3133
|
|
|
|
| |
llvm-svn: 3127
|
|
|
|
| |
llvm-svn: 3114
|
|
|
|
| |
llvm-svn: 3105
|
|
|
|
| |
llvm-svn: 3086
|
|
|
|
| |
llvm-svn: 2987
|
|
|
|
|
|
| |
by the CommandLine 2.0 library
llvm-svn: 2984
|
|
|
|
| |
llvm-svn: 2963
|
|
|
|
| |
llvm-svn: 2873
|
|
|
|
|
|
| |
For details, See: docs/2002-06-25-MegaPatchInfo.txt
llvm-svn: 2778
|
|
|
|
| |
llvm-svn: 2401
|
|
|
|
| |
llvm-svn: 2397
|
|
|
|
|
|
| |
to make debugging output a lot nicer.
llvm-svn: 2395
|
|
|
|
| |
llvm-svn: 2388
|
|
|
|
|
|
| |
indicate whether or not they invalidate the CFGA
llvm-svn: 2386
|
|
|
|
| |
llvm-svn: 2371
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Rename runOnMethod to runOnFunction
* Transform getAnalysisUsageInfo into getAnalysisUsage
- Method is now const
- It now takes one AnalysisUsage object to fill in instead of 3 vectors
to fill in
- Pass's now specify which other passes they _preserve_ not which ones
they modify (be conservative!)
- A pass can specify that it preserves all analyses (because it never
modifies the underlying program)
* s/Method/Function/g in other random places as well
llvm-svn: 2333
|
|
|
|
|
|
| |
s/PrintMethodPass/PrintFunctionPass
llvm-svn: 2181
|
|
|
|
|
|
|
| |
class. The Method class is obsolete (renamed) and all references to it
are being converted over to Function.
llvm-svn: 2144
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Parameterize pass outputting with the printPass template, so analysis
output can optionally take more arguments than just a stream. The
default output mode is just to use operator<< on the analysis.
* Remove CurrentModule hack, in favor of using printPass
* Remove special operator<<'s defined for FindUsedTypes and
FindUnsafePointerTypes, in favor of printPass specializations
* Use std::cout instead of cout
llvm-svn: 1995
|
|
|
|
| |
llvm-svn: 1822
|
|
|
|
| |
llvm-svn: 1794
|
|
|
|
|
|
|
| |
Method::inst_* is now in llvm/Support/InstIterator.h
GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h
llvm-svn: 1746
|