summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* More typo'sEvan Cheng2006-01-161-2/+2
| | | | llvm-svn: 25375
* Some typo'sEvan Cheng2006-01-161-13/+12
| | | | llvm-svn: 25374
* fix short immediate loadsAndrew Lenharth2006-01-161-1/+1
| | | | llvm-svn: 25371
* 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
* For PR411:Reid Spencer2006-01-1610-2252/+3237
| | | | | | | | | | | | | | | | 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-161-0/+105
| | | | | | | | 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
* 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 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 never worked correctly. Remove.Chris Lattner2006-01-161-629/+0
| | | | llvm-svn: 25349
* 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
* 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
* 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
* Token chain results are not always the first or last result. Consider ↵Chris Lattner2006-01-141-3/+17
| | | | | | copyfromreg nodes, where they are the middle result (the flag result is last) llvm-svn: 25325
* Cleanup IA64ISD, tell the graph drawer what the symbolic names for the enums ↵Chris Lattner2006-01-142-14/+11
| | | | | | are. llvm-svn: 25324
* Change ET-Forest to automatically recalculate its DFSnum's if too many slowChris Lattner2006-01-142-7/+24
| | | | | | | | queries are made. Patch by Daniel Berlin! llvm-svn: 25323
* silence a warningChris Lattner2006-01-141-0/+1
| | | | llvm-svn: 25322
* Let the inliner update the callgraph to reflect the changes it makes, insteadChris Lattner2006-01-141-12/+2
| | | | | | of doing it ourselves. This fixes Transforms/Inline/2006-01-14-CallGraphUpdate.ll llvm-svn: 25321
* Teach the inliner to update the CallGraph itself, and have it add edges toChris Lattner2006-01-141-4/+53
| | | | | | llvm.stacksave/restore when it inserts calls to them. llvm-svn: 25320
* Add a new CallGraph::getOrInsertFunction for clients to use when updatingChris Lattner2006-01-141-16/+19
| | | | | | the callgraph. llvm-svn: 25317
* FunctionPass's cannot do IPO things.Chris Lattner2006-01-141-4/+0
| | | | llvm-svn: 25315
* add a dump method to CallGraphChris Lattner2006-01-141-0/+4
| | | | llvm-svn: 25314
* Remove some duplicated codeNate Begeman2006-01-141-8/+0
| | | | llvm-svn: 25313
* bswap implementationNate Begeman2006-01-1410-2/+95
| | | | llvm-svn: 25312
* Add bswap intrinsics as documented in the Language ReferenceNate Begeman2006-01-145-1/+55
| | | | llvm-svn: 25309
* Remove some redundant stuff out of the readme.Nate Begeman2006-01-141-18/+0
| | | | llvm-svn: 25308
* A typo.Evan Cheng2006-01-141-1/+1
| | | | llvm-svn: 25307
* Implement a new InvalidateStructLayoutInfo method and add some commentsChris Lattner2006-01-141-0/+18
| | | | llvm-svn: 25304
OpenPOWER on IntegriCloud