summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/PassManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add explicit keywords.Dan Gohman2007-10-081-5/+7
| | | | llvm-svn: 42747
* Fix a using namespace llvm; in a header file.Dan Gohman2007-10-031-0/+1
| | | | llvm-svn: 42584
* Do not overuse std::string. Pass around char * directly.Devang Patel2007-08-101-11/+11
| | | | llvm-svn: 41001
* minor simplifications.Chris Lattner2007-08-101-10/+8
| | | | llvm-svn: 40981
* avoid copying strings.Chris Lattner2007-08-101-4/+4
| | | | llvm-svn: 40980
* Fix pastos in comments for doFinalization functions.Dan Gohman2007-07-301-2/+2
| | | | llvm-svn: 40588
* Add facility to dump pass manager structure Devang Patel2007-07-271-0/+12
| | | | | | to make it easier to understand failure. llvm-svn: 40567
* Use SmallVector instead of std::vector.Devang Patel2007-07-201-10/+10
| | | | llvm-svn: 40109
* Verify loop info.Devang Patel2007-07-191-7/+18
| | | | llvm-svn: 40062
* Set up ground work to verify preserved analysis info.Devang Patel2007-07-191-1/+8
| | | | llvm-svn: 40039
* Fix memory leak.Devang Patel2007-07-091-3/+0
| | | | llvm-svn: 38469
* Here is the bulk of the sanitizing.Gabor Greif2007-07-051-1/+1
| | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
* Fix quotes in debug messages.Devang Patel2007-06-181-6/+6
| | | | llvm-svn: 37630
* If user wants to run instcombine twice, do not block it.Devang Patel2007-05-231-5/+0
| | | | llvm-svn: 37301
* Drop 'const'Devang Patel2007-05-031-9/+9
| | | | llvm-svn: 36662
* Use 'static const char' instead of 'static const int'.Devang Patel2007-05-021-9/+9
| | | | | | | 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 Patel2007-05-011-8/+17
| | | | llvm-svn: 36632
* Use toplevel function pass manager as OnTheFly manager.Devang Patel2007-04-261-10/+17
| | | | llvm-svn: 36481
* Proivde getAnalysis<FPAnalysis>(Func) support.Devang Patel2007-04-161-0/+5
| | | | llvm-svn: 36159
* Do not assert during analysis implementation initialization.Devang Patel2007-04-161-1/+3
| | | | llvm-svn: 36158
* Print and delete on the fly pass managers.Devang Patel2007-04-161-3/+19
| | | | llvm-svn: 36157
* Update module pass manager to support module passes that requireDevang Patel2007-04-161-11/+44
| | | | | | function passes. llvm-svn: 36154
* Give each pass manager chance to manage lower level analysis pass, which isDevang Patel2007-04-161-20/+60
| | | | | | pass required by one of pass managed by the manager. llvm-svn: 36153
* Removed tabs everywhere except autogenerated & external files. Add makeAnton Korobeynikov2007-04-161-3/+3
| | | | | | target for tabs checking. llvm-svn: 36146
* Speed Up Pass Manager.Devang Patel2007-03-081-15/+16
| | | | | | | - Check Immutableness before searching PreservedSet. - Avoid unnecessary traversal while setting Last User. llvm-svn: 35028
* Keep track of higher level analysis.Devang Patel2007-03-061-0/+26
| | | | llvm-svn: 34974
* Keep track of inherited analysis. For example, if a loop pass does notDevang Patel2007-03-061-0/+21
| | | | | | | preserve dominator info then it should update parent FPPassManager's available analysis info to reflect this. llvm-svn: 34942
* Add preparePassManager() hook. This allows each pass to check whetherDevang Patel2007-03-061-0/+3
| | | | | | | | | | | | current active pass manager is appropriate or not. A loop pass may consider current LPPassManager in appropraite if loop pass is not preserving analysis information that is used by other passes managed by current LPPassManager. In such situation, loop pass can pop current LPPassManager from the PMStack using this hook and use new LPPassManager for itself. llvm-svn: 34941
* Current pass manager, not the parent pass manager, assumes the role ofDevang Patel2007-03-051-22/+10
| | | | | | | | | last user when one of the managed pass uses info provided by parent pass manager. This was exposed by LPPassManager work. llvm-svn: 34936
* Avoid constructing std::strings unless pass debugging is ON.Devang Patel2007-03-051-32/+52
| | | | llvm-svn: 34933
* Account for time consumed by releaseMemory() properly.Devang Patel2007-03-051-2/+2
| | | | llvm-svn: 34932
* Unbreak VC++ build.Jeff Cohen2007-03-051-0/+1
| | | | llvm-svn: 34917
* Make getPassManagerType() const.Devang Patel2007-02-271-2/+4
| | | | llvm-svn: 34669
* temporarily revert Devang's most recent patch, which caused a largeChris Lattner2007-02-171-16/+4
| | | | | | compile-time regression in LLC. llvm-svn: 34385
* Use inverted map to speedup collectLastUses().Devang Patel2007-02-171-4/+16
| | | | llvm-svn: 34364
* Do not drop transferred last uses on the floor.Devang Patel2007-02-071-0/+3
| | | | | | Use handleLastUserOverflow(). llvm-svn: 34006
* Fix PR1158Devang Patel2007-02-051-0/+5
| | | | | | Do not insert Analysis pass, if it is already available. llvm-svn: 33915
* cvs commitDevang Patel2007-02-011-0/+8
| | | | llvm-svn: 33765
* For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoidReid Spencer2007-01-301-2/+2
| | | | | | confusion with external linkage types. llvm-svn: 33663
* - Undo previous check-in (i.e. Do not export TimingInfo class throughDevang Patel2007-01-291-5/+65
| | | | | | | | | | | PassManagers.h). - Add StopPassTimer() and StartPassTimer() to expose TimingInfo to CallGraphPassManager - Use these two APIs in CalLgraphPassManager to measure timings. llvm-svn: 33638
* Move TimingInfo into PassManagers.h so that other libs can use it.Devang Patel2007-01-291-53/+5
| | | | llvm-svn: 33626
* Update ModulePass::assignPassManager() to take into account PreferredDevang Patel2007-01-171-4/+5
| | | | | | Pass Manager Type. llvm-svn: 33308
* s/PassDebugging_New/PassDebugging/gDevang Patel2007-01-171-5/+5
| | | | llvm-svn: 33307
* Update assignPassManager() signature to allow selection of preferredDevang Patel2007-01-171-4/+13
| | | | | | | pass manager type. This allows new FPPassManager to select Call Graph Pass Manager (if available) as its parent. llvm-svn: 33306
* Pass manager may require certain analysis. In such cases, initiallyDevang Patel2007-01-161-3/+2
| | | | | | pass manager is last user. llvm-svn: 33273
* Undo last check-in.Devang Patel2007-01-161-62/+50
| | | | | | Remove setupPassManager() and its use. llvm-svn: 33270
* Setup pass manager before scheduling required analysis.Devang Patel2007-01-161-50/+62
| | | | llvm-svn: 33262
* Code refactoring.Devang Patel2007-01-161-18/+21
| | | | llvm-svn: 33245
* Remove extra white spaces. Fix comments.Devang Patel2007-01-151-1/+1
| | | | llvm-svn: 33244
* Do not record last users of Pass Manager.Devang Patel2007-01-151-2/+7
| | | | llvm-svn: 33243
OpenPOWER on IntegriCloud