Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | When a loop is deleted, immediately release all of the active | Dan Gohman | 2009-09-27 | 1 | -0/+9 | |
| | | | | | | | | LoopPasses for that loop. This avoids trouble with the PassManager trying to call verifyAnalysis on them, and frees up some memory sooner rather than later. llvm-svn: 82945 | |||||
* | Delete a bogus comment. | Dan Gohman | 2009-09-27 | 1 | -1/+0 | |
| | | | | llvm-svn: 82908 | |||||
* | Don't try to verify a LoopPass analysis if the loop has been deleted. | Dan Gohman | 2009-09-03 | 1 | -1/+3 | |
| | | | | llvm-svn: 80919 | |||||
* | convert LoopInfo.h and GraphWriter.h to use raw_ostream | Chris Lattner | 2009-08-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 79836 | |||||
* | Call doInitialization(), releaseMemory(), and doFinalization() for ↵ | Torok Edwin | 2009-06-29 | 1 | -0/+3 | |
| | | | | | | | | | | on-the-fly passes as well. Also don't call finalizers for LoopPass if initialization was not called. Add a unittest that tests that these methods are called, in the proper order, and the correct number of times. llvm-svn: 74438 | |||||
* | Before deleting a basic block, give other loop passes a chance cleanup ↵ | Devang Patel | 2009-03-25 | 1 | -0/+7 | |
| | | | | | | analysis values, related to the instructions in the basic block. llvm-svn: 67719 | |||||
* | Sprinkle some PrettyStackEntry magic into the passmanager. With this, we now | Chris Lattner | 2009-03-06 | 1 | -5/+7 | |
| | | | | | | | | | | | | | | | | get nice and happy stack traces when we crash in an optimizer or codegen. For example, an abort put in UnswitchLoops now looks like this: Stack dump: 0. Program arguments: clang pr3399.c -S -O3 1. <eof> parser at end of file 2. per-module optimization passes 3. Running pass 'CallGraph Pass Manager' on module 'pr3399.c'. 4. Running pass 'Loop Pass Manager' on function '@foo' 5. Running pass 'Unswitch loops' on basic block '%for.inc' Abort llvm-svn: 66260 | |||||
* | Add a method to ScalarEvolution for telling it when a loop has been | Dan Gohman | 2009-02-17 | 1 | -3/+0 | |
| | | | | | | | | | | | modified in a way that may effect the trip count calculation. Change IndVars to use this method when it rewrites pointer or floating-point induction variables instead of using a doInitialization method to sneak these changes in before ScalarEvolution has a chance to see the loop. This eliminates the need for LoopPass to depend on ScalarEvolution. llvm-svn: 64810 | |||||
* | Move dumpPassStructure out of line. | Dan Gohman | 2009-02-17 | 1 | -0/+10 | |
| | | | | llvm-svn: 64796 | |||||
* | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 55779 | |||||
* | Don't call getAnalysisUsage unless -debug-pass is enabled. This speeds | Chris Lattner | 2008-08-08 | 1 | -4/+2 | |
| | | | | | | up the passmgr by avoiding useless work. llvm-svn: 54528 | |||||
* | Fix spelling of "hierarchy" in comments. | Dan Gohman | 2008-07-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 53489 | |||||
* | Keep track of inherited analysis (e.g. dominator tree). | Devang Patel | 2008-07-03 | 1 | -0/+3 | |
| | | | | llvm-svn: 53088 | |||||
* | Fix typos in comments. | Devang Patel | 2008-07-01 | 1 | -1/+1 | |
| | | | | | | Thanks for the feedback! llvm-svn: 52978 | |||||
* | Add dom info verifier. | Devang Patel | 2008-07-01 | 1 | -0/+3 | |
| | | | | llvm-svn: 52967 | |||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45418 | |||||
* | Use empty() member functions when that's what's being tested for instead | Dan Gohman | 2007-10-03 | 1 | -2/+2 | |
| | | | | | | of comparing begin() and end(). llvm-svn: 42585 | |||||
* | ooops... | Devang Patel | 2007-09-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 42118 | |||||
* | - Use correct header for SCEV inside LoopPass.cpp | Anton Korobeynikov | 2007-08-20 | 1 | -1/+1 | |
| | | | | | | - Move SCEVExpander::expand() out-of-line workarounding possible toolchain bug llvm-svn: 41197 | |||||
* | Introduce Simple Analysis interface for loop passes. | Devang Patel | 2007-07-31 | 1 | -0/+21 | |
| | | | | | | Right now, this interface provides hooks for only to operations, 1) clone basic block 2) delete value. llvm-svn: 40625 | |||||
* | Verify loop info. | Devang Patel | 2007-07-19 | 1 | -14/+2 | |
| | | | | llvm-svn: 40062 | |||||
* | Replace mysterious code causing a g++-4.2 warning | Duncan Sands | 2007-07-19 | 1 | -12/+6 | |
| | | | | | | with hopefully correct code that pleases g++-4.2. llvm-svn: 40051 | |||||
* | Add loop info verification mechanism. | Devang Patel | 2007-06-29 | 1 | -1/+13 | |
| | | | | llvm-svn: 37822 | |||||
* | Drop 'const' | Devang Patel | 2007-05-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 36662 | |||||
* | Use 'static const char' instead of 'static const int'. | Devang Patel | 2007-05-02 | 1 | -1/+1 | |
| | | | | | | | 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 | -1/+4 | |
| | | | | llvm-svn: 36632 | |||||
* | Now IndVarSimplify is a LoopPass. | Devang Patel | 2007-03-07 | 1 | -0/+3 | |
| | | | | llvm-svn: 35003 | |||||
* | Now LoopUnswitch is a LoopPass. | Devang Patel | 2007-03-07 | 1 | -1/+2 | |
| | | | | llvm-svn: 34992 | |||||
* | Insert loop into LQ before visiting children. | Devang Patel | 2007-03-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 34982 | |||||
* | Use schedulePass() instead of assignPassManager() to add new LPPassManager. | Devang Patel | 2007-03-06 | 1 | -3/+11 | |
| | | | | | | This ensures that require analysis info is available. llvm-svn: 34980 | |||||
* | Add LPPassManager::insertLoop(). | Devang Patel | 2007-03-06 | 1 | -0/+32 | |
| | | | | llvm-svn: 34979 | |||||
* | LPPassManager::deleteLoopFromQueue() add meat. Cut-n-paste code from | Devang Patel | 2007-03-06 | 1 | -7/+71 | |
| | | | | | | LoopUnswitch pass. llvm-svn: 34977 | |||||
* | LPPassManager. Implement preparePassManager() hook. | Devang Patel | 2007-03-06 | 1 | -0/+25 | |
| | | | | llvm-svn: 34975 | |||||
* | LPPassManager : Add initialization and finalizatino hooks. | Devang Patel | 2007-03-06 | 1 | -0/+20 | |
| | | | | llvm-svn: 34968 | |||||
* | Use std::deque to manage loop queue inside LPPassManager. | Devang Patel | 2007-03-06 | 1 | -40/+6 | |
| | | | | llvm-svn: 34943 | |||||
* | Avoid constructing std::strings unless pass debugging is ON. | Devang Patel | 2007-03-05 | 1 | -7/+3 | |
| | | | | llvm-svn: 34933 | |||||
* | Fix thinko. | Devang Patel | 2007-02-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 34528 | |||||
* | Loop passes are set up to accept pointer. | Devang Patel | 2007-02-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 34527 | |||||
* | Teach LoopPass to assign itself one Loop Pass Manager. | Devang Patel | 2007-02-23 | 1 | -0/+41 | |
| | | | | llvm-svn: 34510 | |||||
* | Add facility that allows LoopPass to re-insert a loop into | Devang Patel | 2007-02-23 | 1 | -0/+13 | |
| | | | | | | Loop Pass Manager's queue. llvm-svn: 34509 | |||||
* | Add LPPassManager interface that LoopPass can use to skip | Devang Patel | 2007-02-23 | 1 | -0/+13 | |
| | | | | | | rest of the passes in the queue for a loop. llvm-svn: 34508 | |||||
* | Populate and walk loop queue. | Devang Patel | 2007-02-22 | 1 | -6/+20 | |
| | | | | llvm-svn: 34505 | |||||
* | Add LoopQueue. This is used by loop pass manager to manage loop nest. | Devang Patel | 2007-02-22 | 1 | -0/+36 | |
| | | | | llvm-svn: 34504 | |||||
* | Add Loop Pass Manager. | Devang Patel | 2007-02-22 | 1 | -0/+69 | |
llvm-svn: 34487 |