Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add new method | Chris Lattner | 2004-04-18 | 1 | -0/+8 | |
| | | | | llvm-svn: 13050 | |||||
* | Fix computation of exit blocks | Chris Lattner | 2004-04-18 | 1 | -2/+2 | |
| | | | | llvm-svn: 13047 | |||||
* | Change the ExitBlocks list from being explicitly contained in the Loop | Chris Lattner | 2004-04-18 | 1 | -43/+12 | |
| | | | | | | | structure to being dynamically computed on demand. This makes updating loop information MUCH easier. llvm-svn: 13045 | |||||
* | Implement method | Chris Lattner | 2004-04-18 | 1 | -0/+12 | |
| | | | | llvm-svn: 13036 | |||||
* | Add a new method, add a check missing that caused a segfault if a loop didn't | Chris Lattner | 2004-04-18 | 1 | -0/+14 | |
| | | | | | | have a canonical indvar llvm-svn: 13032 | |||||
* | add some helpful methods. Rearrange #includes to proper order | Chris Lattner | 2004-04-15 | 1 | -6/+89 | |
| | | | | llvm-svn: 12960 | |||||
* | Add some methods that are useful for updating loop information. | Chris Lattner | 2004-04-12 | 1 | -4/+86 | |
| | | | | llvm-svn: 12871 | |||||
* | Order #includes alphabetically, per style guide. | Misha Brukman | 2004-01-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 11015 | |||||
* | Improve encapsulation in the Loop and LoopInfo classes by eliminating the | Chris Lattner | 2004-01-08 | 1 | -2/+2 | |
| | | | | | | | getSubLoops/getTopLevelLoops methods, replacing them with iterator-based accessors. llvm-svn: 10714 | |||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+4 | |
| | | | | llvm-svn: 9903 | |||||
* | Do not add unreachable code to a natural loop! | Chris Lattner | 2003-10-22 | 1 | -1/+4 | |
| | | | | llvm-svn: 9377 | |||||
* | 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 | |||||
* | Regularize header file comments | Chris Lattner | 2003-10-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 9071 | |||||
* | Make getNumBackEdges more efficient | Chris Lattner | 2003-10-12 | 1 | -7/+6 | |
| | | | | llvm-svn: 9063 | |||||
* | Remove explicit use of BasicBlock::succ_iterator | Chris Lattner | 2003-09-24 | 1 | -2/+2 | |
| | | | | llvm-svn: 8706 | |||||
* | Fix the bug that broke the nightly tester in McCat/18-imp last night. :( | Chris Lattner | 2003-08-17 | 1 | -6/+6 | |
| | | | | llvm-svn: 7925 | |||||
* | Fix bug: LoopPreheaders/2003-08-15-PreheadersFail.ll | Chris Lattner | 2003-08-16 | 1 | -4/+81 | |
| | | | | llvm-svn: 7915 | |||||
* | Fix bug: Analysis/LoopInfo/2003-05-15-NestingProblem.ll | Chris Lattner | 2003-05-15 | 1 | -1/+7 | |
| | | | | llvm-svn: 6230 | |||||
* | Fix bug: LoopPreheaders/2003-04-25-AssertFail.ll | Chris Lattner | 2003-04-26 | 1 | -3/+24 | |
| | | | | llvm-svn: 5959 | |||||
* | Add dump method for Loops | Chris Lattner | 2003-02-28 | 1 | -0/+4 | |
| | | | | llvm-svn: 5671 | |||||
* | Simplify a bit by using a new member function | Chris Lattner | 2003-02-27 | 1 | -6/+3 | |
| | | | | llvm-svn: 5662 | |||||
* | Change behavior of changeExitBlock function to replace all instances of exit ↵ | Chris Lattner | 2003-02-27 | 1 | -2/+8 | |
| | | | | | | block llvm-svn: 5661 | |||||
* | Fix bug: LICM/2003-02-27-PreheaderProblem.ll | Chris Lattner | 2003-02-27 | 1 | -0/+7 | |
| | | | | | | | | There may be a single outside predecessor and still need a new loop-preheader if the predecessor has multiple successors. llvm-svn: 5656 | |||||
* | - LoopInfo now calculates and tracks loop exit blocks | Chris Lattner | 2003-02-27 | 1 | -11/+40 | |
| | | | | llvm-svn: 5650 | |||||
* | Dramatically simplify building of natural loops and fix a bug where the BBMap | Chris Lattner | 2003-02-22 | 1 | -37/+23 | |
| | | | | | | was not correctly computed. llvm-svn: 5606 | |||||
* | Fix the requisite bug that I introduced | Chris Lattner | 2003-02-20 | 1 | -11/+13 | |
| | | | | llvm-svn: 5605 | |||||
* | Fix 80 character formatting | Chris Lattner | 2003-02-20 | 1 | -4/+4 | |
| | | | | llvm-svn: 5604 | |||||
* | Fix bug: 2003-02-19-LoopInfoNestingBug.ll | Chris Lattner | 2003-02-20 | 1 | -15/+35 | |
| | | | | llvm-svn: 5603 | |||||
* | Added helper functions in LoopInfo: isLoopExit and numBackEdges. | Misha Brukman | 2002-10-11 | 1 | -0/+24 | |
| | | | | llvm-svn: 4112 | |||||
* | Minor tweak | Chris Lattner | 2002-09-29 | 1 | -2/+3 | |
| | | | | llvm-svn: 3985 | |||||
* | Fix printing of loop information | Chris Lattner | 2002-09-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 3977 | |||||
* | Fix printing of loop information | Chris Lattner | 2002-09-26 | 1 | -2/+2 | |
| | | | | llvm-svn: 3941 | |||||
* | - Add new methods to LoopInfo: getLoopPreheader, addBasicBlockToLoop. | Chris Lattner | 2002-09-26 | 1 | -1/+51 | |
| | | | | | | | These allow extra information to be easily gathered, and loopinfo to be updated. llvm-svn: 3936 | |||||
* | Changed so it gets linked properly | Anand Shukla | 2002-08-26 | 1 | -0/+1 | |
| | | | | llvm-svn: 3508 | |||||
* | - Do not expose ::ID from any of the analyses anymore. | Chris Lattner | 2002-08-21 | 1 | -1/+0 | |
| | | | | llvm-svn: 3417 | |||||
* | - Cleaned up the interface to AnalysisUsage to take analysis class names | Chris Lattner | 2002-08-08 | 1 | -1/+1 | |
| | | | | | | | instead of ::ID's. - Pass::getAnalysis<> now no longer takes an optional argument llvm-svn: 3264 | |||||
* | Declare that these passes only depend on the CFG of the function | Chris Lattner | 2002-07-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 3157 | |||||
* | * Eliminate the Provided set. All Passes now finally just automatically | Chris Lattner | 2002-07-29 | 1 | -1/+0 | |
| | | | | | | provide themselves. llvm-svn: 3124 | |||||
* | * Standardize how analysis results/passes as printed with the print() virtual | Chris Lattner | 2002-07-27 | 1 | -8/+27 | |
| | | | | | | | | | | methods * Eliminate AnalysisID: Now it is just a typedef for const PassInfo* * Simplify how AnalysisID's are initialized * Eliminate Analysis/Writer.cpp/.h: incorporate printing functionality into the analyses themselves. llvm-svn: 3116 | |||||
* | * Add support for different "PassType's" | Chris Lattner | 2002-07-26 | 1 | -0/+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: 3112 | |||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 1 | -1/+1 | |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779 | |||||
* | *** empty log message *** | Chris Lattner | 2002-06-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 2755 | |||||
* | Mark analyses that only depend on the CFG of a function | Chris Lattner | 2002-05-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 2507 | |||||
* | Eliminate the cfg namespace, moving LoopInfo, Dominators, Interval* classes | Chris Lattner | 2002-04-28 | 1 | -10/+9 | |
| | | | | | | to the global namespace llvm-svn: 2370 | |||||
* | Change the Dominator info and LoopInfo classes to keep track of ↵ | Chris Lattner | 2002-04-28 | 1 | -9/+9 | |
| | | | | | | | | BasicBlock's, not const BasicBlocks llvm-svn: 2337 | |||||
* | * Rename MethodPass class to FunctionPass | Chris Lattner | 2002-04-27 | 1 | -6/+5 | |
| | | | | | | | | | | | | | | | - 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 | |||||
* | Don't leak all of the Loop objects created... | Chris Lattner | 2002-04-09 | 1 | -2/+10 | |
| | | | | llvm-svn: 2196 | |||||
* | s/Method/Function | Chris Lattner | 2002-04-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 2180 | |||||
* | * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into | Chris Lattner | 2002-02-12 | 1 | -3/+2 | |
| | | | | | | | | | 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 | |||||
* | Method.h no longer includes BasicBlock.h | Chris Lattner | 2002-02-12 | 1 | -1/+1 | |
| | | | | | | | 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 |