summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/TransformInternals.cpp
Commit message (Collapse)AuthorAgeFilesLines
* For PR1072:Reid Spencer2007-02-031-92/+0
| | | | | | | Removing -raise has neglible positive or negative side effects so we are opting to remove it. See the PR for comparison details. llvm-svn: 33844
* For PR950:Reid Spencer2006-12-311-4/+4
| | | | | | | | | | | | | This patch replaces signed integer types with signless ones: 1. [US]Byte -> Int8 2. [U]Short -> Int16 3. [U]Int -> Int32 4. [U]Long -> Int64. 5. Removal of isSigned, isUnsigned, getSignedVersion, getUnsignedVersion and other methods related to signedness. In a few places this warranted identifying the signedness information from other sources. llvm-svn: 32785
* For PR950:Reid Spencer2006-10-201-4/+5
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* Remove dead #includeChris Lattner2005-10-291-1/+0
| | | | llvm-svn: 24083
* ConvertibleToGEP always returns 0, remove some old crufty code whichChris Lattner2005-07-261-13/+0
| | | | | | is actually dead because of this! llvm-svn: 22515
* Remove trailing whitespaceMisha Brukman2005-04-211-4/+4
| | | | llvm-svn: 21427
* Fix VS warningsChris Lattner2005-01-081-3/+3
| | | | llvm-svn: 19383
* Merge i*.h headers into Instructions.h as part of bug403.Alkis Evlogimenos2004-07-291-1/+1
| | | | llvm-svn: 15325
* Support getelementptr instructions which use uint's to index into structureChris Lattner2004-04-051-104/+6
| | | | | | | types and can have arbitrary 32- and 64-bit integer types indexing into sequential types. llvm-svn: 12653
* Adjust to the changed StructType interface. In particular, ↵Chris Lattner2004-02-091-1/+1
| | | | | | getElementTypes() is gone. llvm-svn: 11228
* Finegrainify namespacificationChris Lattner2004-01-091-12/+16
| | | | | | add flags for PR82 llvm-svn: 10724
* rename ClassifyExpression -> ClassifyExprChris Lattner2003-12-231-1/+1
| | | | llvm-svn: 10592
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Do not crash on empty structuresChris Lattner2003-10-171-0/+5
| | | | llvm-svn: 9195
* Regularize header file commentsChris Lattner2003-10-131-1/+1
| | | | llvm-svn: 9071
* Fix spelling.Misha Brukman2003-10-101-1/+1
| | | | llvm-svn: 9027
* avoid dividing by zero when dealing with zero sized types (like [0 x double])Chris Lattner2003-06-231-0/+1
| | | | llvm-svn: 6862
* Fix bug: LevelRaise/2003-06-07-EmptyArrayTest.llChris Lattner2003-06-071-1/+2
| | | | llvm-svn: 6669
* s/convertable/convertible/gMisha Brukman2003-05-201-2/+2
| | | | llvm-svn: 6248
* Make the levelraise pass be well behaved w.r.t the TargetData that the currentChris Lattner2003-04-241-12/+7
| | | | | | PassMAnager provides. llvm-svn: 5896
* Fix bug: LevelRaise/2003-01-22-GEPProblem.llChris Lattner2003-01-231-1/+1
| | | | llvm-svn: 5407
* Fix bug: 2002-10-02-SignExtensionProblem.llChris Lattner2002-10-021-3/+2
| | | | llvm-svn: 4017
* Fix: test/Regression/LLC/badidx.c problemChris Lattner2002-09-161-11/+11
| | | | llvm-svn: 3763
* - Change getelementptr instruction to use long indexes instead of uintChris Lattner2002-09-111-7/+7
| | | | | | indexes for sequential types. llvm-svn: 3681
* Simplify code (somtimes dramatically), by using the new "auto-insert" featureChris Lattner2002-09-101-20/+10
| | | | | | of instruction constructors. llvm-svn: 3656
* - Eliminate the last traces of the 'analysis' namespaceChris Lattner2002-08-301-1/+1
| | | | llvm-svn: 3550
* *** 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
OpenPOWER on IntegriCloud