summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* PR1260:Bill Wendling2007-03-231-2/+6
| | | | | | Add final support to get the QT example to compile. llvm-svn: 35290
* Make sure SEXTLOAD of the specific type is supported on the target.Evan Cheng2007-03-231-0/+4
| | | | llvm-svn: 35289
* For PR1205:Reid Spencer2007-03-231-762/+37
| | | | | | | | | | | | * APIntify visitAdd and visitSelectInst * Remove unused uint64_t versions of utility functions that have been replaced with APInt versions. This completes most of the changes for APIntification of InstCombine. This passes llvm-test and llvm/test/Transforms/InstCombine/APInt. Patch by Zhou Sheng. llvm-svn: 35287
* Also replace uses of SRL if that's also folded during ReduceLoadWidth().Evan Cheng2007-03-231-1/+8
| | | | llvm-svn: 35286
* For PR1205:Reid Spencer2007-03-231-25/+22
| | | | | | | | APIntify visitDiv, visitMul and visitRem. Patch by Zhou Sheng. llvm-svn: 35283
* switch AddReachableCodeToWorklist from being recursive to being iterative.Chris Lattner2007-03-231-46/+54
| | | | llvm-svn: 35282
* For PR1205:Reid Spencer2007-03-231-37/+39
| | | | | | | | | APIntify several utility functions supporting logical operators and shift operators. Patch by Zhou Sheng. llvm-svn: 35281
* Fix constant fold of div by zero and rem by zero to match IEEE 754Reid Spencer2007-03-231-8/+18
| | | | | | | requirements. We must return NaN in some cases and correctly signed infinity in other cases. Passes CFP2006 (not that that says much). llvm-svn: 35277
* Make the "KnownZero ^ TypeMask" computation just once.Zhou Sheng2007-03-231-3/+4
| | | | llvm-svn: 35276
* Simplify the code.Zhou Sheng2007-03-231-1/+1
| | | | llvm-svn: 35275
* A couple of bug fixes for reducing load width xform:Evan Cheng2007-03-231-7/+16
| | | | | | | 1. Address offset is in bytes. 2. Make sure truncate node uses are replaced with new load. llvm-svn: 35274
* For PR1205:Reid Spencer2007-03-221-21/+25
| | | | | | | | APInt support for logical operators in visitAnd, visitOr, and visitXor. Patch by Zhou Sheng. llvm-svn: 35273
* For PR1205:Reid Spencer2007-03-221-16/+17
| | | | | | | | | | * APIntify commonIntCastTransforms * APIntify visitTrunc * APIntify visitZExt Patch by Zhou Sheng. llvm-svn: 35271
* For PR1205:Reid Spencer2007-03-221-63/+63
| | | | | | | | * Re-enable the APInt version of MaskedValueIsZero. * APIntify the Comput{Un}SignedMinMaxValuesFromKnownBits functions * APIntify visitICmpInst. llvm-svn: 35270
* We generate a shufflevector instruction, so we don't need the builtinBill Wendling2007-03-221-6/+13
| | | | | | intrinsic. llvm-svn: 35269
* Support added for shifts and unpacking MMX instructions.Bill Wendling2007-03-224-2/+211
| | | | llvm-svn: 35266
* Change uses of Function::front to Function::getEntryBlock for readability.Dan Gohman2007-03-2213-15/+19
| | | | llvm-svn: 35265
* Add the NoUnwind function attribute.Reid Spencer2007-03-221-0/+2
| | | | llvm-svn: 35260
* Regenerate.Reid Spencer2007-03-225-1546/+1580
| | | | llvm-svn: 35259
* Add support for the noreturn and nounwind function attributes.Reid Spencer2007-03-222-1/+4
| | | | llvm-svn: 35258
* Fix broken optimization disabled by a logic bug.Nick Lewycky2007-03-221-10/+51
| | | | | | | | | Analyze GEPs. If the indices are all zero, transfer whether the pointer is known to be not null through the GEP. Add a few more cases for xor and shift instructions. llvm-svn: 35257
* More opportunities to reduce load size.Evan Cheng2007-03-221-45/+101
| | | | llvm-svn: 35254
* Fix for PR1257. Bug in live range shortening as a result of copy coalescingEvan Cheng2007-03-221-11/+9
| | | | | | where the destination is dead. llvm-svn: 35252
* For PR1248:Reid Spencer2007-03-211-18/+26
| | | | | | | | | | | | * Fix some indentation and comments in InsertRangeTest * Add an "IsSigned" parameter to AddWithOverflow and make it handle signed additions. Also, APIntify this function so it works with any bitwidth. * For the icmp pred ([us]div %X, C1), C2 transforms, exit early if the div instruction's RHS is zero. * Finally, for icmp pred (sdiv %X, C1), -C2, fix an off-by-one error. The HiBound needs to be incremented in order to get the range test correct. llvm-svn: 35247
* repair x86 performance, dejagnu problems from previous changeDale Johannesen2007-03-215-5/+34
| | | | llvm-svn: 35245
* Add TODO list for MSIL backendAnton Korobeynikov2007-03-211-0/+51
| | | | llvm-svn: 35244
* Let the new backend begin!Anton Korobeynikov2007-03-213-0/+1594
| | | | llvm-svn: 35242
* add generation of unnecessary push/pop around callsDale Johannesen2007-03-211-0/+42
| | | | llvm-svn: 35241
* fold (truncate (srl (load x), c)) -> (smaller load (x+c/vt bits))Evan Cheng2007-03-211-6/+24
| | | | llvm-svn: 35239
* Protect R31's frame offset from being used by callee-saved registers, when R31Nicolas Geoffray2007-03-211-0/+20
| | | | | | is the frame pointer. llvm-svn: 35233
* Fix a bug in getAllOnesValue() which brokeZhou Sheng2007-03-211-1/+1
| | | | | | some test cases for bitwidth > 64. llvm-svn: 35232
* Mark re-materializable instructions.Evan Cheng2007-03-213-0/+6
| | | | llvm-svn: 35230
* Updated.Evan Cheng2007-03-201-1/+6
| | | | llvm-svn: 35229
* Potential spiller improvement.Evan Cheng2007-03-201-0/+27
| | | | llvm-svn: 35228
* do not share old induction variables when this would result in invalidDale Johannesen2007-03-204-18/+71
| | | | | | instructions (that would have to be split later) llvm-svn: 35227
* maintain LiveIn when splitting blocks (register scavenging needs it)Dale Johannesen2007-03-202-1/+29
| | | | llvm-svn: 35226
* DominanceFrontier::calculate().Devang Patel2007-03-201-23/+78
| | | | | | Avoid recursion, Use iterative algorithm. llvm-svn: 35225
* Fix some VC++ warnings.Jeff Cohen2007-03-202-1/+2
| | | | llvm-svn: 35224
* Fix (and simplify) 48-bit byte swap.Jeff Cohen2007-03-201-9/+8
| | | | | | Get pos/neg infinity the correct way. llvm-svn: 35223
* LoopSimplify::FindPHIToPartitionLoops()Devang Patel2007-03-202-4/+25
| | | | | | Use ETForest instead of DominatorSet. llvm-svn: 35221
* Code clean up.Lauro Ramos Venancio2007-03-201-23/+20
| | | | llvm-svn: 35220
* Minor bug.Evan Cheng2007-03-201-1/+2
| | | | llvm-svn: 35219
* bugfix: When the source register of CALL_NOLINK was LR, the following code ↵Lauro Ramos Venancio2007-03-203-19/+28
| | | | | | | | | | was emitted: mov lr, pc bx lr So, the function was not called. llvm-svn: 35218
* Regenerate.Reid Spencer2007-03-202-176/+172
| | | | llvm-svn: 35215
* Don't delete things before their last use (avoids bad reads).Reid Spencer2007-03-201-2/+0
| | | | llvm-svn: 35214
* CopyToReg source operand can be a physical register.Lauro Ramos Venancio2007-03-201-3/+19
| | | | llvm-svn: 35213
* Simplify isHighOnes().Zhou Sheng2007-03-201-9/+1
| | | | llvm-svn: 35211
* First cut trivial re-materialization support.Evan Cheng2007-03-204-26/+151
| | | | llvm-svn: 35208
* Make two piece constant generation as a single instruction. It's ↵Evan Cheng2007-03-202-30/+55
| | | | | | re-materialized as a load from constantpool. llvm-svn: 35207
* New entry.Evan Cheng2007-03-201-0/+13
| | | | llvm-svn: 35206
OpenPOWER on IntegriCloud