summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* UniqueVector template provides a means of enumerating objects uniquely.Jim Laskey2006-01-161-0/+70
| | | | llvm-svn: 25376
* More typo'sEvan Cheng2006-01-161-2/+2
| | | | llvm-svn: 25375
* Some typo'sEvan Cheng2006-01-161-13/+12
| | | | llvm-svn: 25374
* like bswap, the ct* intrinsics require unsigned operandsChris Lattner2006-01-161-26/+26
| | | | llvm-svn: 25373
* ConsistencyChris Lattner2006-01-161-5/+5
| | | | llvm-svn: 25372
* fix short immediate loadsAndrew Lenharth2006-01-161-1/+1
| | | | llvm-svn: 25371
* this is fixedAndrew Lenharth2006-01-161-1/+0
| | | | llvm-svn: 25370
* stack and rpccAndrew Lenharth2006-01-163-35/+11
| | | | llvm-svn: 25369
* Fix FP_TO_INT**_IN_MEM lowering.Evan Cheng2006-01-163-104/+133
| | | | llvm-svn: 25368
* There is no llvm.bswap.i8, need at least 2 bytes to swap.Reid Spencer2006-01-161-1/+0
| | | | llvm-svn: 25367
* For PR411:Reid Spencer2006-01-1612-2271/+3280
| | | | | | | | | | | | | | | | This patch is an incremental step towards supporting a flat symbol table. It de-overloads the intrinsic functions by providing type-specific intrinsics and arranging for automatically upgrading from the old overloaded name to the new non-overloaded name. Specifically: llvm.isunordered -> llvm.isunordered.f32, llvm.isunordered.f64 llvm.sqrt -> llvm.sqrt.f32, llvm.sqrt.f64 llvm.ctpop -> llvm.ctpop.i8, llvm.ctpop.i16, llvm.ctpop.i32, llvm.ctpop.i64 llvm.ctlz -> llvm.ctlz.i8, llvm.ctlz.i16, llvm.ctlz.i32, llvm.ctlz.i64 llvm.cttz -> llvm.cttz.i8, llvm.cttz.i16, llvm.cttz.i32, llvm.cttz.i64 New code should not use the overloaded intrinsic names. Warnings will be emitted if they are used. llvm-svn: 25366
* For PR411:Reid Spencer2006-01-162-0/+138
| | | | | | | | This file makes the helper functions for auto-upgrade of llvm assembly and bytecode more accessible. This is part of de-overloading of intrinsic functions to support the flat symbol table (no type planes). llvm-svn: 25365
* Friendly namesAndrew Lenharth2006-01-162-1/+19
| | | | llvm-svn: 25364
* fix a crash due to missing parensChris Lattner2006-01-161-1/+1
| | | | llvm-svn: 25363
* add notes from my *other* email acct.Chris Lattner2006-01-161-0/+88
| | | | llvm-svn: 25362
* transfer some notes from my email to somewhere useful.Chris Lattner2006-01-162-0/+71
| | | | llvm-svn: 25361
* Fix these testcases :(Chris Lattner2006-01-162-1/+2
| | | | | | | Apparently Andrew hasn't implemented ReadCycleCounter in the new isel and renamed ornot to eqv llvm-svn: 25360
* Add a couple very minor tweaksChris Lattner2006-01-161-7/+11
| | | | llvm-svn: 25359
* fixing divides: FP should now be 100%, and integers are fine tooDuraid Madina2006-01-161-17/+24
| | | | | | | unless you try to div/mod 0 by anything, in which case you will get some cute number, and not 0, which is bad. llvm-svn: 25358
* Constant fold ctpop/ctlz/cttz, and a couple other small cleanupsNate Begeman2006-01-161-2/+58
| | | | llvm-svn: 25357
* Expand case for 64b Legalize, even though no one should end up using thisNate Begeman2006-01-161-4/+43
| | | | | | | (itanium supports bswap natively, alpha should custom lower it using the VAX floating point swapload, ha ha). llvm-svn: 25356
* Add BSWAP stuff to intrinsic lowering for CBE & friends.Nate Begeman2006-01-161-2/+106
| | | | llvm-svn: 25355
* Fix up 'adding an intrinsic' section a bit, first draft of 'adding a newNate Begeman2006-01-161-36/+111
| | | | | | sdnode' section. llvm-svn: 25354
* fix division! again!! pattern isel, prepare to die.Duraid Madina2006-01-162-101/+118
| | | | llvm-svn: 25353
* Silly Sparc is big endian. If we have to load args out of incoming stack slotsChris Lattner2006-01-161-0/+4
| | | | | | | that are smaller than an int, make sure to adjust the frame pointer to take this into consideration. llvm-svn: 25351
* This pass has been removed.Chris Lattner2006-01-162-197/+0
| | | | llvm-svn: 25350
* This pass has never worked correctly. Remove.Chris Lattner2006-01-161-629/+0
| | | | llvm-svn: 25349
* Remove a never-working passChris Lattner2006-01-161-1/+0
| | | | llvm-svn: 25348
* PRE is no moreChris Lattner2006-01-161-1/+1
| | | | llvm-svn: 25347
* Make sure that bool,byte and short arguments are the right type when loadedChris Lattner2006-01-151-0/+1
| | | | | | from memory. llvm-svn: 25346
* Thanks to Daniel Berlin's ETForest fix, we can now use it again for the verifierChris Lattner2006-01-151-2/+0
| | | | llvm-svn: 25345
* Initialize DFSnum's to -1, in case a node is not reachable.Chris Lattner2006-01-151-2/+3
| | | | llvm-svn: 25344
* add an assert, patch by Daniel BerlinChris Lattner2006-01-151-0/+1
| | | | llvm-svn: 25343
* Added spec for insertelement operation.Robert Bocchino2006-01-151-1/+54
| | | | llvm-svn: 25342
* ET-Forest has issues with unreachable blocks. Temporarily disable verifiers useChris Lattner2006-01-151-0/+2
| | | | | | of it until they are resolved. llvm-svn: 25341
* Disable a broken optimizationChris Lattner2006-01-151-1/+2
| | | | llvm-svn: 25340
* Disable two transformations that contribute to bus errors on SparcV8.Chris Lattner2006-01-151-2/+6
| | | | llvm-svn: 25339
* Added patterns for 8-bit multiplyEvan Cheng2006-01-151-2/+11
| | | | llvm-svn: 25338
* Type inferencing bugEvan Cheng2006-01-151-0/+2
| | | | llvm-svn: 25337
* explain that r12 is the stack pointer regDuraid Madina2006-01-152-33/+5
| | | | llvm-svn: 25336
* Don't print a label for the first MBB in a function.Chris Lattner2006-01-152-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compile this: %_2E_str_8 = external global [75 x sbyte] implementation ; Functions: declare int %printf(sbyte*, ...) void %test() %tmp.101 = call int (sbyte*, ...)* %printf( sbyte* getelementptr ([75 x sbyte]* %_2E_str_8, int 0, int 0) ) ; <int> [#uses=0] unreachable } to this: main_endif_2E_8: save -96, %o6, %o6 sethi %hi(_2E_str_8), %l0 add %l0, %lo(_2E_str_8), %o0 call printf nop instead of this: main_endif_2E_8: save -96, %o6, %o6 sethi %hi(_2E_str_8), %l0 or %g0, %lo(_2E_str_8), %l1 ;; extra instruction add %l1, %l0, %o0 call printf nop llvm-svn: 25335
* Use the default impl of DYNAMIC_STACKALLOC, allowing us to delete some code.Chris Lattner2006-01-152-41/+4
| | | | llvm-svn: 25334
* Use the default lowering of ISD::DYNAMIC_STACKALLOC, delete now dead code.Chris Lattner2006-01-153-84/+4
| | | | llvm-svn: 25333
* Have legalize take care of DYNAMIC_STACKALLOC for us, implement ↵Chris Lattner2006-01-151-18/+4
| | | | | | llvm.stacksave/stackrestore. llvm-svn: 25332
* Allow the target to specify 'expand' if they just require the amount toChris Lattner2006-01-151-9/+19
| | | | | | be subtracted from the stack pointer. llvm-svn: 25331
* Implement DYNAMIC_STACKALLOC for V8Chris Lattner2006-01-151-1/+18
| | | | llvm-svn: 25330
* Fix custom lowering of dynamic_stackallocChris Lattner2006-01-151-6/+9
| | | | llvm-svn: 25329
* add a missing break that Reid noticed.Chris Lattner2006-01-151-0/+1
| | | | llvm-svn: 25328
* add a missing node nameChris Lattner2006-01-151-0/+1
| | | | llvm-svn: 25327
* reorder passesChris Lattner2006-01-151-4/+6
| | | | llvm-svn: 25326
OpenPOWER on IntegriCloud