Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Do not use typeinfo to identify pass in pass manager. | Devang Patel | 2007-05-01 | 1 | -0/+7 | |
| | | | | llvm-svn: 36632 | |||||
* | Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes in | Reid Spencer | 2007-02-05 | 1 | -1/+2 | |
| | | | | | | | the Transforms library. This reduces debug library size by 132 KB, debug binary size by 376 KB, and reduces link time for llvm tools slightly. llvm-svn: 33939 | |||||
* | Inherit BasicBlockPass directly from Pass. | Devang Patel | 2007-01-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 33511 | |||||
* | Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic | Chris Lattner | 2006-12-19 | 1 | -8/+7 | |
| | | | | | | | converted, we lose a static initializer. This also allows GCC to emit warnings about unused statistics. llvm-svn: 32690 | |||||
* | Detemplatize the Statistic class. The only type it is instantiated with | Chris Lattner | 2006-12-06 | 1 | -2/+2 | |
| | | | | | | is 'unsigned'. llvm-svn: 32279 | |||||
* | eliminate RegisterOpt. It does the same thing as RegisterPass. | Chris Lattner | 2006-08-27 | 1 | -2/+2 | |
| | | | | llvm-svn: 29925 | |||||
* | clean up and modernize this pass. | Chris Lattner | 2005-05-08 | 1 | -24/+18 | |
| | | | | llvm-svn: 21776 | |||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -5/+5 | |
| | | | | llvm-svn: 21427 | |||||
* | Prototype these functions more accurately | Chris Lattner | 2004-09-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 16432 | |||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -1/+1 | |
| | | | | | | | | 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 | |||||
* | Make the create...() functions for some of these passes return a FunctionPass *. | Brian Gaeke | 2004-07-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 15276 | |||||
* | Changes to fix up the inst_iterator to pass to boost iterator checks. This | Chris Lattner | 2004-04-27 | 1 | -1/+4 | |
| | | | | | | patch was graciously contributed by Vladimir Prus. llvm-svn: 13185 | |||||
* | This code really wants to iterate over the OPERANDS of an instruction, not | Chris Lattner | 2004-04-21 | 1 | -3/+2 | |
| | | | | | | | | over its USES. If it's dead it doesn't have any uses! :) Thanks to the fabulous and mysterious Bill Wendling for pointing this out. :) llvm-svn: 13102 | |||||
* | Finegrainify namespacification | Chris Lattner | 2004-01-09 | 1 | -5/+3 | |
| | | | | llvm-svn: 10725 | |||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -1/+4 | |
| | | | | llvm-svn: 9903 | |||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 | |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | |||||
* | - Rename AnalysisUsage::preservesAll to getPreservesAll & preservesCFG to | Chris Lattner | 2002-10-21 | 1 | -2/+2 | |
| | | | | | | setPreservesCFG to be less confusing. llvm-svn: 4255 | |||||
* | Updates to work with recent Statistic's changes: | Chris Lattner | 2002-10-01 | 1 | -7/+7 | |
| | | | | | | | | | | | | * Renamed StatisticReporter.h/cpp to Statistic.h/cpp * Broke constructor to take two const char * arguments instead of one, so that indendation can be taken care of automatically. * Sort the list by pass name when printing * Make sure to print all statistics as a group, instead of randomly when the statistics dtors are called. * Updated ProgrammersManual with new semantics. llvm-svn: 4002 | |||||
* | * Add support for different "PassType's" | Chris Lattner | 2002-07-26 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3113 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-23 | 1 | -4/+4 | |
| | | | | llvm-svn: 3016 | |||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 1 | -11/+8 | |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779 | |||||
* | Simplify the interface to local DCE and Constant prop | Chris Lattner | 2002-05-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 2749 | |||||
* | Add support for printing out statistics information when -stats is added to | Chris Lattner | 2002-05-10 | 1 | -2/+8 | |
| | | | | | | the command line llvm-svn: 2601 | |||||
* | Merge all individual .h files into a single Scalar.h file | Chris Lattner | 2002-05-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 2537 | |||||
* | Factor code out to the TransformUtils library | Chris Lattner | 2002-05-07 | 1 | -22/+3 | |
| | | | | llvm-svn: 2516 | |||||
* | * Remove all cfg simplification stuff for a new cfg simplify pass (todo) | Chris Lattner | 2002-05-07 | 1 | -330/+85 | |
| | | | | | | * Convert to worklist instead of iterative algorithm llvm-svn: 2510 | |||||
* | Merge blocks like this: | Chris Lattner | 2002-05-06 | 1 | -26/+39 | |
| | | | | | | | | | | void "test3"(bool %T) { br bool %T, label %BB1, label %BB1 BB1: ret void } llvm-svn: 2472 | |||||
* | Eliminate duplicate or unneccesary #include's | Chris Lattner | 2002-04-29 | 1 | -2/+0 | |
| | | | | llvm-svn: 2397 | |||||
* | Add new optional getPassName() virtual function that a Pass can override | Chris Lattner | 2002-04-29 | 1 | -0/+3 | |
| | | | | | | to make debugging output a lot nicer. llvm-svn: 2395 | |||||
* | Split ConstantVals.h into Constant.h and Constants.h | Chris Lattner | 2002-04-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 2378 | |||||
* | * Rename MethodPass class to FunctionPass | Chris Lattner | 2002-04-27 | 1 | -8/+8 | |
| | | | | | | | | | | | | | | | - 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 | |||||
* | Change Constant::getNullConstant to Constant::getNullValue | Chris Lattner | 2002-04-27 | 1 | -3/+1 | |
| | | | | llvm-svn: 2323 | |||||
* | Add #includes to make up for #includes pruned out of header files. | Chris Lattner | 2002-04-09 | 1 | -0/+1 | |
| | | | | llvm-svn: 2207 | |||||
* | s/Method/Function | Chris Lattner | 2002-04-08 | 1 | -1/+0 | |
| | | | | | | Remove extraneous #includes of llvm/Assembly/Writer llvm-svn: 2178 | |||||
* | Change references from Method to Function | Chris Lattner | 2002-03-26 | 1 | -14/+14 | |
| | | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991 | |||||
* | Change over to use new style pass mechanism, now passes only expose small | Chris Lattner | 2002-02-26 | 1 | -15/+43 | |
| | | | | | | creation functions in their public header file, unless they can help it. llvm-svn: 1816 | |||||
* | * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into | Chris Lattner | 2002-02-12 | 1 | -18/+19 | |
| | | | | | | | | | llvm/Support/CFG.h * Make pred & succ iterators for intervals global functions * Add #includes that are now neccesary because BasicBlock.h doesn't include InstrTypes.h anymore llvm-svn: 1750 | |||||
* | Implement new DeadInstElmination pass | Chris Lattner | 2002-01-23 | 1 | -1/+5 | |
| | | | | | | remove old comment llvm-svn: 1555 | |||||
* | Move stuff out of the Optimizations directories into the appropriate Transforms | Chris Lattner | 2002-01-21 | 1 | -8/+8 | |
| | | | | | | directories. Eliminate the opt namespace. llvm-svn: 1520 | |||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 1503 | |||||
* | Rename ConstPoolVal -> Constant | Chris Lattner | 2001-12-03 | 1 | -3/+3 | |
| | | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407 | |||||
* | Split the PHINode class out from the iOther.h file into the iPHINode.h file | Chris Lattner | 2001-12-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 1405 | |||||
* | Create a new #include "Support/..." directory structure to move things | Chris Lattner | 2001-11-27 | 1 | -1/+1 | |
| | | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400 | |||||
* | Avoid making a broken transformation! | Chris Lattner | 2001-11-03 | 1 | -20/+33 | |
| | | | | llvm-svn: 1115 | |||||
* | Expose the low level DCE mechanism to external users | Chris Lattner | 2001-11-01 | 1 | -10/+20 | |
| | | | | | | Refactor code to support it llvm-svn: 1083 | |||||
* | Simplify DCE code a lot | Chris Lattner | 2001-11-01 | 1 | -26/+5 | |
| | | | | llvm-svn: 1079 | |||||
* | Convert optimizations to the pass infrastructure | Chris Lattner | 2001-10-18 | 1 | -6/+19 | |
| | | | | llvm-svn: 873 | |||||
* | Commit more code over to new cast style | Chris Lattner | 2001-10-02 | 1 | -7/+7 | |
| | | | | llvm-svn: 697 | |||||
* | Pull predecessor and successor iterators out of the CFG*.h files, and plop ↵ | Chris Lattner | 2001-10-01 | 1 | -18/+15 | |
| | | | | | | | | | them into the BasicBlock class where they should be. pred_begin/pred_end become methods on BasicBlock, and the cfg namespace isn't used anymore. llvm-svn: 691 | |||||
* | * Eliminate constant pool dependancies: | Chris Lattner | 2001-09-07 | 1 | -29/+6 | |
| | | | | | | * Eliminate DoRemoveUnusedConstants llvm-svn: 453 |