summaryrefslogtreecommitdiff
path: root/tools/analyze
Commit message (Collapse)AuthorAge
* Convert over to new style of Makefile, where there is a difference between ↵Chris Lattner2002-07-23
| | | | | | .o and .a libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3000 91177308-0d34-0410-b5e6-96231b3b80d8
* Add description to Enum options.Chris Lattner2002-07-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2987 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert command line option processing code over to use the syntax supportedChris Lattner2002-07-22
| | | | | | | by the CommandLine 2.0 library git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2984 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for bottom up closure of ds analysisChris Lattner2002-07-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2963 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename DataStructure to LocalDataStructuresChris Lattner2002-07-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2873 91177308-0d34-0410-b5e6-96231b3b80d8
* MEGAPATCH checkin.Chris Lattner2002-06-25
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2778 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge all include/llvm/Transforms/Scalar/* into a single Scalar.hChris Lattner2002-05-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2538 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove InstForest from analysis namespaceChris Lattner2002-04-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2401 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2397 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new optional getPassName() virtual function that a Pass can overrideChris Lattner2002-04-29
| | | | | | | to make debugging output a lot nicer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2395 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename functions to be more consistend with other pass constructorsChris Lattner2002-04-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2388 91177308-0d34-0410-b5e6-96231b3b80d8
* Tighten up the AnalysisUsage of lots of passes, primarily to correctly ↵Chris Lattner2002-04-28
| | | | | | indicate whether or not they invalidate the CFGA git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2386 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate the cfg namespaceChris Lattner2002-04-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2371 91177308-0d34-0410-b5e6-96231b3b80d8
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-27
| | | | | | | | | | | | | | | | - 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2333 91177308-0d34-0410-b5e6-96231b3b80d8
* Add #includesChris Lattner2002-04-08
| | | | | | | s/PrintMethodPass/PrintFunctionPass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2181 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove asmwriter library from link line, because the useful contents of itChris Lattner2002-04-07
| | | | | | | have been incorporated into the vmcore library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2153 91177308-0d34-0410-b5e6-96231b3b80d8
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-07
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2144 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add support for DataStructure analysisChris Lattner2002-03-26
| | | | | | | | | | | | | * 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1995 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull interprocedural analyses out of Analysis library into their own libChris Lattner2002-03-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1827 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull callgraph out of Cfg namespaceChris Lattner2002-03-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1822 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup to build with GCC 3.0.4Chris Lattner2002-02-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1794 91177308-0d34-0410-b5e6-96231b3b80d8
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-12
| | | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1746 91177308-0d34-0410-b5e6-96231b3b80d8
* Catch the parse exception if bad input is provided. Much better than an abortChris Lattner2002-02-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1631 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix dependency problemChris Lattner2002-01-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1619 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert analyze over to use new pass framework for its analysesChris Lattner2002-01-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1607 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate opt libraryChris Lattner2002-01-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1516 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
* Induction variables must be phi nodesChris Lattner2001-12-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1402 91177308-0d34-0410-b5e6-96231b3b80d8
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-27
| | | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1400 91177308-0d34-0410-b5e6-96231b3b80d8
* Add hooks to print natural loop information and induction variablesChris Lattner2001-11-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1389 91177308-0d34-0410-b5e6-96231b3b80d8
* Add hooks for the FindUsedTypes passChris Lattner2001-11-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1233 91177308-0d34-0410-b5e6-96231b3b80d8
* Add analysis pass.Chris Lattner2001-11-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1182 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support to print a call graph, and also add support for module level ↵Chris Lattner2001-09-28
| | | | | | interprocedural analyses git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@659 91177308-0d34-0410-b5e6-96231b3b80d8
* Export the instruction forest support from the analysis libraryChris Lattner2001-09-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@556 91177308-0d34-0410-b5e6-96231b3b80d8
* iFix dependence orderChris Lattner2001-09-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@517 91177308-0d34-0410-b5e6-96231b3b80d8
* Make use of the new TOOLNAME/USEDLIBS options provided in Makefile.commonChris Lattner2001-09-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@501 91177308-0d34-0410-b5e6-96231b3b80d8
* Parenthesize output for expranalyze so that pointer stuff being multiplied ↵Chris Lattner2001-07-25
| | | | | | isn't confusing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the new Alias command line optionChris Lattner2001-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284 91177308-0d34-0410-b5e6-96231b3b80d8
* CommandLine library cleanup. No longer use getValue/setValue, instead, just ↵Chris Lattner2001-07-23
| | | | | | | | | treat the commandline args as the objects they represent and the "right thing" will happen git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved inline/llvm/Tools/* to include/llvm/Support/*Chris Lattner2001-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279 91177308-0d34-0410-b5e6-96231b3b80d8
* Large scale changes to implement new command line argument facilityChris Lattner2001-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272 91177308-0d34-0410-b5e6-96231b3b80d8
* Support changed expression apiChris Lattner2001-07-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242 91177308-0d34-0410-b5e6-96231b3b80d8
* Update makefile for more accurate depsChris Lattner2001-07-20
| | | | | | | Include support to print out Expression types git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix clean targetChris Lattner2001-07-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203 91177308-0d34-0410-b5e6-96231b3b80d8
* Reordered link line for correct static linking.Vikram S. Adve2001-07-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198 91177308-0d34-0410-b5e6-96231b3b80d8
* Add better support for post dominator information.Chris Lattner2001-07-06
| | | | | | | Print method name for each analysis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of analyze tool.Chris Lattner2001-07-03
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137 91177308-0d34-0410-b5e6-96231b3b80d8