summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar
Commit message (Collapse)AuthorAgeFilesLines
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-092-3/+3
| | | | | | be 'Argument' instead of FunctionArgument. llvm-svn: 2216
* Add explicit #includes of Function.h to make up for the removed #includeChris Lattner2002-04-091-0/+1
| | | | | | in iOther.h llvm-svn: 2209
* Add #includes to make up for #includes pruned out of header files.Chris Lattner2002-04-091-0/+1
| | | | llvm-svn: 2207
* s/Method/FunctionChris Lattner2002-04-087-22/+19
| | | | | | Remove extraneous #includes of llvm/Assembly/Writer llvm-svn: 2178
* ConstantHandling moved into VMCore libraryChris Lattner2002-04-083-3/+3
| | | | llvm-svn: 2165
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-074-29/+29
| | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144
* Simplify code a lot by using the Module::getFunction & getOrInsertFunctionChris Lattner2002-03-291-46/+24
| | | | llvm-svn: 2028
* Change references from Method to FunctionChris Lattner2002-03-264-55/+56
| | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991
* Major overhaul to support arbitrary mixed array and structure indices.Vikram S. Adve2002-03-241-63/+94
| | | | | | Also moved to the Scalar/ directory and renamed to "MultiDim". llvm-svn: 1961
* New pass to decompose multi-dimensional array references intoVikram S. Adve2002-03-231-0/+148
| | | | | | a sequence of 1-D references, using a sequence of getElementPtrs. llvm-svn: 1948
* Fix bug: test/Regression/Other/2002-03-11-InstCombineHang.llChris Lattner2002-03-111-2/+2
| | | | llvm-svn: 1864
* Fix bug: test/Regression/Other/2002-03-11-ConstPropCrash.llChris Lattner2002-03-112-3/+5
| | | | llvm-svn: 1858
* Change over to use new style pass mechanism, now passes only expose smallChris Lattner2002-02-268-60/+227
| | | | | | creation functions in their public header file, unless they can help it. llvm-svn: 1816
* * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and intoChris Lattner2002-02-125-29/+32
| | | | | | | | | 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-125-37/+40
| | | | | | | 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
* MethodPass's are now guaranteed to not be run on external methods!Chris Lattner2002-01-313-6/+1
| | | | llvm-svn: 1611
* Convert xforms over to new pass structure.Chris Lattner2002-01-314-27/+48
| | | | llvm-svn: 1605
* 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-221-5/+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-217-42/+36
| | | | | | directories. Eliminate the opt namespace. llvm-svn: 1520
* Implement a more powerful, simpler, pass system. This pass system can figureChris Lattner2002-01-211-4/+4
| | | | | | | | | 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-209-34/+42
| | | | llvm-svn: 1503
* initial checkinChris Lattner2001-12-141-0/+150
| | | | llvm-svn: 1480
* Remove unsized array supportChris Lattner2001-12-141-6/+0
| | | | llvm-svn: 1466
* Assertion could never fail because another one would in it's place. :)Chris Lattner2001-12-131-1/+1
| | | | llvm-svn: 1449
* Actually return true when a change has been madeChris Lattner2001-12-051-0/+2
| | | | llvm-svn: 1425
* Fix a bug introduced by "internal linkage" work.Chris Lattner2001-12-041-2/+3
| | | | llvm-svn: 1415
* Fix bugs, don't do external methods which causes segv.Chris Lattner2001-12-041-1/+4
| | | | llvm-svn: 1414
* Implement induction variable simplificationChris Lattner2001-12-041-1/+125
| | | | llvm-svn: 1411
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-041-1/+1
| | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-036-51/+51
| | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407
* Split the PHINode class out from the iOther.h file into the iPHINode.h fileChris Lattner2001-12-035-4/+6
| | | | llvm-svn: 1405
* Initial checkin of indvar stuffChris Lattner2001-12-032-0/+75
| | | | llvm-svn: 1404
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-274-5/+5
| | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400
* Misc cleanupsChris Lattner2001-11-261-53/+53
| | | | llvm-svn: 1377
* Expose constant propogation of an instruction in a clean wayChris Lattner2001-11-261-37/+24
| | | | llvm-svn: 1376
* Add #includes to enable buiding in Release modeChris Lattner2001-11-071-0/+1
| | | | llvm-svn: 1174
* Avoid making a broken transformation!Chris Lattner2001-11-031-20/+33
| | | | llvm-svn: 1115
* Expose the low level DCE mechanism to external usersChris Lattner2001-11-011-10/+20
| | | | | | Refactor code to support it llvm-svn: 1083
* Simplify DCE code a lotChris Lattner2001-11-011-26/+5
| | | | llvm-svn: 1079
* Use the correct prototype for malloc and freeChris Lattner2001-10-311-2/+2
| | | | llvm-svn: 1066
* Implemented constant propogation of cast instructionsChris Lattner2001-10-312-3/+31
| | | | llvm-svn: 1064
* Convert to new simpler pass itfChris Lattner2001-10-182-5/+11
| | | | llvm-svn: 880
* Convert optimizations to the pass infrastructureChris Lattner2001-10-185-14/+27
| | | | llvm-svn: 873
* Add new Pass infrastructure and some examplesChris Lattner2001-10-151-0/+121
| | | | llvm-svn: 836
OpenPOWER on IntegriCloud