Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove a bunch of extraneous LLVMContext arguments | Chris Lattner | 2009-11-06 | 1 | -1/+1 |
| | | | | | | from various APIs, addressing PR5325. llvm-svn: 86231 | ||||
* | eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 | Chris Lattner | 2009-09-02 | 1 | -2/+1 |
| | | | | llvm-svn: 80766 | ||||
* | Get rid of the Pass+Context magic. | Owen Anderson | 2009-07-22 | 1 | -1/+1 |
| | | | | llvm-svn: 76702 | ||||
* | Thread LLVMContext through the constant folding APIs, which touches a lot of ↵ | Owen Anderson | 2009-07-06 | 1 | -1/+1 |
| | | | | | | files. llvm-svn: 74844 | ||||
* | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 1 | -1/+1 |
| | | | | llvm-svn: 55779 | ||||
* | Fix comment typos. | Duncan Sands | 2008-08-01 | 1 | -1/+1 |
| | | | | llvm-svn: 54266 | ||||
* | Use Instruction::eraseFromParent(). | Dan Gohman | 2008-06-21 | 1 | -1/+1 |
| | | | | llvm-svn: 52606 | ||||
* | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 1 | -4/+4 |
| | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | Fix typo in comment. | Nick Lewycky | 2007-05-06 | 1 | -1/+1 |
| | | | | llvm-svn: 36873 | ||||
* | Drop 'const' | Devang Patel | 2007-05-03 | 1 | -2/+2 |
| | | | | llvm-svn: 36662 | ||||
* | Use 'static const char' instead of 'static const int'. | Devang Patel | 2007-05-02 | 1 | -2/+2 |
| | | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652 | ||||
* | Do not use typeinfo to identify pass in pass manager. | Devang Patel | 2007-05-01 | 1 | -0/+4 |
| | | | | 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 | ||||
* | Adjust #includes to match movement of constant folding code from ↵ | Chris Lattner | 2007-01-30 | 1 | -1/+1 |
| | | | | | | transformutils to libanalysis. llvm-svn: 33680 | ||||
* | Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic | Chris Lattner | 2006-12-19 | 1 | -2/+3 |
| | | | | | | | 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 | -1/+1 |
| | | | | | | is 'unsigned'. llvm-svn: 32279 | ||||
* | eliminate RegisterOpt. It does the same thing as RegisterPass. | Chris Lattner | 2006-08-27 | 1 | -1/+2 |
| | | | | llvm-svn: 29925 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -3/+3 |
| | | | | 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 | ||||
* | 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 | ||||
* | Constant propagation should remove the dead instructions | Chris Lattner | 2004-04-13 | 1 | -0/+4 |
| | | | | llvm-svn: 12917 | ||||
* | Add header file I accidentally removed in teh shuffle | Chris Lattner | 2004-01-12 | 1 | -0/+1 |
| | | | | llvm-svn: 10795 | ||||
* | Remove unneeded #include | Chris Lattner | 2004-01-12 | 1 | -1/+0 |
| | | | | llvm-svn: 10788 | ||||
* | Finegrainify namespacification | Chris Lattner | 2004-01-09 | 1 | -5/+2 |
| | | | | llvm-svn: 10725 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+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 | ||||
* | Hopefully, the final fix for `[Pp]ropogate'. | Misha Brukman | 2003-05-20 | 1 | -8/+8 |
| | | | | llvm-svn: 6251 | ||||
* | - Rename AnalysisUsage::preservesAll to getPreservesAll & preservesCFG to | Chris Lattner | 2002-10-21 | 1 | -1/+1 |
| | | | | | | setPreservesCFG to be less confusing. llvm-svn: 4255 | ||||
* | Updates to work with recent Statistic's changes: | Chris Lattner | 2002-10-01 | 1 | -3/+3 |
| | | | | | | | | | | | | * 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 | -1/+1 |
| | | | | | | | | | | | | | | | * 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 | -2/+2 |
| | | | | llvm-svn: 3016 | ||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 1 | -2/+2 |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779 | ||||
* | Trivial cleanups | Chris Lattner | 2002-05-13 | 1 | -2/+2 |
| | | | | llvm-svn: 2617 | ||||
* | Add support for printing out statistics information when -stats is added to | Chris Lattner | 2002-05-10 | 1 | -1/+5 |
| | | | | | | 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 | -80/+2 |
| | | | | llvm-svn: 2516 | ||||
* | * Eliminate dead code that should have been removed in last revision | Chris Lattner | 2002-05-06 | 1 | -146/+50 |
| | | | | | | | | | * Convert main constant propogation pass to be worklist driven instead of iterative. * -constprop pass no longer "constant propogates" terminator instructions - CFG is now preserved! llvm-svn: 2502 | ||||
* | * Use simplified interface to constant propogation stuff. | Chris Lattner | 2002-05-06 | 1 | -35/+8 |
| | | | | | | | | * Remove dead PHI case (which could not work due to getNumOperands rather than getNumIncomingValues. This really belongs in InstCombine, anyway so we'll move it there. llvm-svn: 2497 | ||||
* | Implement constant propogation of shift instructions | Chris Lattner | 2002-05-06 | 1 | -4/+33 |
| | | | | llvm-svn: 2471 | ||||
* | Add new optional getPassName() virtual function that a Pass can override | Chris Lattner | 2002-04-29 | 1 | -0/+2 |
| | | | | | | to make debugging output a lot nicer. llvm-svn: 2395 | ||||
* | Tighten up the AnalysisUsage of lots of passes, primarily to correctly ↵ | Chris Lattner | 2002-04-28 | 1 | -0/+6 |
| | | | | | | indicate whether or not they invalidate the CFGA llvm-svn: 2386 | ||||
* | Split ConstantVals.h into Constant.h and Constants.h | Chris Lattner | 2002-04-28 | 1 | -1/+0 |
| | | | | llvm-svn: 2378 | ||||
* | * Rename MethodPass class to FunctionPass | Chris Lattner | 2002-04-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | - 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/Method/Function | Chris Lattner | 2002-04-08 | 1 | -1/+1 |
| | | | | | | Remove extraneous #includes of llvm/Assembly/Writer llvm-svn: 2178 | ||||
* | ConstantHandling moved into VMCore library | Chris Lattner | 2002-04-08 | 1 | -1/+1 |
| | | | | llvm-svn: 2165 | ||||
* | Change references to the Method class to be references to the Function | Chris Lattner | 2002-04-07 | 1 | -6/+6 |
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144 | ||||
* | Fix bug: test/Regression/Other/2002-03-11-ConstPropCrash.ll | Chris Lattner | 2002-03-11 | 1 | -2/+4 |
| | | | | llvm-svn: 1858 | ||||
* | Change over to use new style pass mechanism, now passes only expose small | Chris Lattner | 2002-02-26 | 1 | -11/+17 |
| | | | | | | creation functions in their public header file, unless they can help it. llvm-svn: 1816 |