summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/TransformInternals.cpp
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Chris Lattner2002-07-251-2/+2
| | | | llvm-svn: 3075
* MEGAPATCH checkin.Chris Lattner2002-06-251-4/+4
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* Factor code out of TransformInternals into the Transform Utils libraryChris Lattner2002-05-071-64/+0
| | | | llvm-svn: 2515
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-281-1/+0
| | | | llvm-svn: 2378
* * Clean up the code a bitChris Lattner2002-04-161-8/+4
| | | | | | | | * Allow structs with negative offsets. This enables the em3d benchmark to be made typesafe. In this case, the struct had an array as the first element, so a negative index was ok (the expr was -8 + 8x) llvm-svn: 2271
* Implement TODO, fixing bug:Chris Lattner2002-04-091-16/+9
| | | | | | test/Regression/Transforms/LevelRaise/2002-04-09-MissedRaise.ll llvm-svn: 2219
* Add explicit #includes of Function.h to make up for the removed #includeChris Lattner2002-04-091-0/+1
| | | | | | in iOther.h llvm-svn: 2209
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-071-1/+0
| | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144
* Make ConvertableToGEP handle cases where the user is indexing into theChris Lattner2002-03-211-23/+29
| | | | | | | | | | | first element of a structure type. Before this would not be handled because getStructOffset would either stop immediately (because StopEarly was true and Offset = 0), or blast past the level we wanted. Now ConvertableToGEP steps down through the type one level at a time, checking the Offset and Scale conditions at each step llvm-svn: 1931
* Implement the new InsertInstBeforeInst functionChris Lattner2002-03-211-0/+14
| | | | llvm-svn: 1930
* 1. Fix bug test/Regression/Other/2002-03-20-LevelRaiseBadCodegen.llChris Lattner2002-03-211-15/+21
| | | | | | | | | | | | 2. Allow negative scales in ConvertableToGEP, so that this loop from alloc_tree in the Olden health benchmark is correctly raised: for (i = 3; i >= 0; i--) fval[i] = alloc_tree(level - 1, label*4 + i + 1, new); Stepping through the array backwards caused a negative scale. llvm-svn: 1922
* Fix bug: test/Regression/Other/2002-03-14-LevelRaiseHang.llChris Lattner2002-03-141-1/+1
| | | | llvm-svn: 1869
* update commentsChris Lattner2002-03-111-3/+2
| | | | llvm-svn: 1862
* We were not correctly burrowing down multiple levels to get to a leaf. Fix ↵Chris Lattner2002-03-071-1/+2
| | | | | | this now llvm-svn: 1833
* Bug fix for test/Regression/Other/2002-02-14-LevelRaiseBadAssert.llChris Lattner2002-02-141-0/+1
| | | | llvm-svn: 1767
* Elminate an unused variableChris Lattner2002-01-211-1/+0
| | | | llvm-svn: 1518
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-2/+2
| | | | llvm-svn: 1503
* * add ReplaceInstWithInstChris Lattner2001-12-141-26/+25
| | | | | | | * Add support for pointer indexing * Fix minor bugs that are majorly annoying llvm-svn: 1467
* Don't insert scales of 1 :)Chris Lattner2001-12-071-1/+2
| | | | llvm-svn: 1430
* Fix bug that caused invalid transformations to be appliedChris Lattner2001-12-061-1/+1
| | | | llvm-svn: 1426
* Handle more complex array indexing expressionsChris Lattner2001-12-051-14/+47
| | | | llvm-svn: 1424
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-031-5/+5
| | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407
* losslessCastableTypes is moved to Type classChris Lattner2001-11-261-50/+133
| | | | | | getStructOffsetType supports array indexing llvm-svn: 1343
* Better heuristics for handling arraysChris Lattner2001-11-141-1/+1
| | | | llvm-svn: 1296
* Improve raising significantlyChris Lattner2001-11-081-0/+42
| | | | llvm-svn: 1214
* Refactor code to share stuffChris Lattner2001-11-041-0/+89
llvm-svn: 1127
OpenPOWER on IntegriCloud