summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
Commit message (Collapse)AuthorAgeFilesLines
* Pass stuff by reference instead of by copy. Copying entire graphs seems likeChris Lattner2002-02-262-8/+8
| | | | | | a bad idea llvm-svn: 1810
* Move processGraph down lower in the file so all of the forward declarationsChris Lattner2002-02-262-412/+334
| | | | | | can be eliminated. llvm-svn: 1809
* * Changes to compile successfully with GCC 3.0Chris Lattner2002-02-264-185/+132
| | | | | | | * Eliminated memory leak in processGraph * Pass vectors by const reference to moveDummyCode instead of by copy llvm-svn: 1808
* Makefile for profile-pathsAnand Shukla2002-02-261-0/+5
| | | | llvm-svn: 1807
* Initial checkin: functions on Graph used for path profile passAnand Shukla2002-02-262-0/+1428
| | | | llvm-svn: 1806
* Initial checkin: instrument code to get path execution frequencyAnand Shukla2002-02-261-0/+162
| | | | llvm-svn: 1805
* Initial checkin: helper file to insert instrumentation code along edgesAnand Shukla2002-02-261-0/+262
| | | | llvm-svn: 1804
* Initial check in of graph.cpp: implements graph interface used in path profilesAnand Shukla2002-02-261-0/+425
| | | | llvm-svn: 1803
* New makefile to include ProfilePaths dirAnand Shukla2002-02-261-1/+1
| | | | llvm-svn: 1799
* When inlining basic blocks and instructions, give them a name!Chris Lattner2002-02-251-0/+4
| | | | llvm-svn: 1796
* NamespacesChris Lattner2002-02-241-1/+1
| | | | llvm-svn: 1791
* Handle more cases in the linkerChris Lattner2002-02-181-5/+21
| | | | llvm-svn: 1771
* Bug fix for test/Regression/Other/2002-02-14-LevelRaiseBadAssert.llChris Lattner2002-02-142-2/+2
| | | | llvm-svn: 1767
* Implement conversion of method pointer parameter in Call instructionChris Lattner2002-02-141-9/+62
| | | | | | to clean up MST benchmark. llvm-svn: 1763
* * Check in fix for: ↵Chris Lattner2002-02-141-5/+7
| | | | | | | | llvm/test/Regression/Other/2002-02-14-LevelRaiseInstDelete.ll * Minor reformatting. llvm-svn: 1760
* * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and intoChris Lattner2002-02-126-31/+35
| | | | | | | | | 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.hChris Lattner2002-02-126-44/+51
| | | | | | | 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
* Add neccesary #includeChris Lattner2002-02-121-0/+1
| | | | llvm-svn: 1742
* I forgot to provide dominance frontier information. Now it's available.Chris Lattner2002-02-121-5/+24
| | | | | | Also add more comments. llvm-svn: 1741
* Initial checkin of new memory -> register promotion passChris Lattner2002-02-121-0/+93
| | | | llvm-svn: 1739
* General cleanupChris Lattner2002-02-011-4/+3
| | | | llvm-svn: 1628
* Eliminate SimplifyCFG.h file, pull everything into the UnifyMethodExitNodes ↵Chris Lattner2002-01-311-8/+11
| | | | | | class llvm-svn: 1613
* MethodPass's are now guaranteed to not be run on external methods!Chris Lattner2002-01-315-9/+2
| | | | llvm-svn: 1611
* Convert xforms over to new pass structure.Chris Lattner2002-01-319-54/+115
| | | | llvm-svn: 1605
* Convert analyses to new pass structureChris Lattner2002-01-311-0/+4
| | | | llvm-svn: 1603
* Remove extraneous #includesChris Lattner2002-01-261-1/+0
| | | | llvm-svn: 1588
* Remove opt namespaceChris Lattner2002-01-261-3/+1
| | | | llvm-svn: 1587
* Implement new DeadInstElmination passChris Lattner2002-01-231-1/+5
| | | | | | remove old comment llvm-svn: 1555
* Don't insert a useless castChris Lattner2002-01-221-2/+1
| | | | llvm-svn: 1527
* Rename LowerAllocations.h to ChangeAllocations.h since it now contains theChris Lattner2002-01-221-1/+1
| | | | | | RaiseAllocations pass as well. llvm-svn: 1525
* Pull RaiseAllocations stuff out of the CleanGCC pass into it's own pass inChris Lattner2002-01-222-67/+66
| | | | | | the ChangeAllocations.h header file. llvm-svn: 1522
* LowerAllocations is really a BasicBlock pass. Make it so.Chris Lattner2002-01-211-57/+54
| | | | llvm-svn: 1521
* Move stuff out of the Optimizations directories into the appropriate TransformsChris Lattner2002-01-2110-61/+52
| | | | | | directories. Eliminate the opt namespace. llvm-svn: 1520
* Elminate an unused variableChris Lattner2002-01-211-1/+0
| | | | llvm-svn: 1518
* Rename SwapStructureContents -> IPO/SimpleStructMutationChris Lattner2002-01-212-5/+6
| | | | | | Move MutateStructTypes.(cpp|h) -> IPO/MutateStructTypes.(cpp|h) llvm-svn: 1510
* Implement a more powerful, simpler, pass system. This pass system can figureChris Lattner2002-01-217-66/+71
| | | | | | | | | out how to run a collection of passes optimially given their behaviors and charactaristics. Convert code to use it. llvm-svn: 1507
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-2023-127/+155
| | | | llvm-svn: 1503
* initial checkinChris Lattner2001-12-141-0/+150
| | | | llvm-svn: 1480
* * isFirstClassType is now provided by the Type classChris Lattner2001-12-141-7/+2
| | | | | | * Add ReplaceInstWithInst llvm-svn: 1468
* * add ReplaceInstWithInstChris Lattner2001-12-141-26/+25
| | | | | | | * Add support for pointer indexing * Fix minor bugs that are majorly annoying llvm-svn: 1467
* Remove unsized array supportChris Lattner2001-12-141-6/+0
| | | | llvm-svn: 1466
* * Support pointer indexingChris Lattner2001-12-141-210/+33
| | | | | | | | | * Unsized arrays are a thing of the past, remove DoInsertArrayCast family * Remove cases were we would get into infinite loops because we would insert a cast which would then be removed, inserting a different cast, ad infinitum... * Remove some code that should be redundant with ExprTypeConvert code llvm-svn: 1465
* Many many changes and bugfixes:Chris Lattner2001-12-141-130/+199
| | | | | | | | | | * Remove support for unsized arrays * Add pointer indexing support * Allow more arbitrary malloc type changes (which are too generous currently and should be fixed in the future) * Allow more and better conversions llvm-svn: 1464
* The proper prototype for malloc returns a pointer, not an unsized arrayChris Lattner2001-12-141-6/+3
| | | | llvm-svn: 1463
* * Refactor trace values to work as a proper pass. Before it used to addChris Lattner2001-12-141-420/+177
| | | | | | | | | | methods while the pass was running which was a no no. Now it adds the printf method at pass initialization * Revamp code to use printf calls instead of the old style print_<type> calls. * Simplify code llvm-svn: 1457
* Assertion could never fail because another one would in it's place. :)Chris Lattner2001-12-131-1/+1
| | | | llvm-svn: 1449
* Implement more general conversions for getelementptr instructionsChris Lattner2001-12-071-17/+104
| | | | llvm-svn: 1432
* Remove code that is superceeded by code in ExprTypeConvert.cppChris Lattner2001-12-071-40/+1
| | | | llvm-svn: 1431
* Don't insert scales of 1 :)Chris Lattner2001-12-071-1/+2
| | | | llvm-svn: 1430
* We can do cast-add elimination even on casts that reinterpretChris Lattner2001-12-061-13/+11
| | | | llvm-svn: 1427
OpenPOWER on IntegriCloud