summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* * Remove trailing whitespaceMisha Brukman2005-04-215-135/+135
| | | | | | * Convert tabs to spaces llvm-svn: 21418
* Remove trailing whitespaceMisha Brukman2005-04-214-241/+241
| | | | llvm-svn: 21417
* Remove trailing whitespaceMisha Brukman2005-04-2141-532/+532
| | | | llvm-svn: 21416
* * Remove trailing whitespaceMisha Brukman2005-04-212-15/+15
| | | | | | * Convert tabs to spaces llvm-svn: 21415
* Check for eqv matchingChris Lattner2005-04-211-0/+13
| | | | llvm-svn: 21414
* Match another form of eqvChris Lattner2005-04-211-1/+6
| | | | llvm-svn: 21413
* Remove trailing whitespaceMisha Brukman2005-04-2120-142/+142
| | | | llvm-svn: 21412
* Remove trailing whitespaceMisha Brukman2005-04-2140-376/+376
| | | | llvm-svn: 21411
* this passes on darwinChris Lattner2005-04-211-1/+0
| | | | llvm-svn: 21410
* Remove trailing whitespaceMisha Brukman2005-04-2136-353/+353
| | | | llvm-svn: 21409
* Remove trailing whitespaceMisha Brukman2005-04-2176-609/+609
| | | | llvm-svn: 21408
* Handle stores of global address as stores of immediates. Instead of:Chris Lattner2005-04-211-0/+5
| | | | | | | | | | | | | | | test1: movl $N, %eax movl %eax, G ret emit: test1: movl $N, G ret llvm-svn: 21407
* Handle (store &GV -> mem) as a store immediate. This often occurs forChris Lattner2005-04-211-0/+14
| | | | | | | | | | | | | printf format strings and other stuff. Instead of generating this: movl $l1__2E_str_1, %eax movl %eax, (%esp) we now emit: movl $l1__2E_str_1, (%esp) llvm-svn: 21406
* Use the actual uid/gid for defaulting the fields in the archive.Reid Spencer2005-04-211-2/+3
| | | | llvm-svn: 21405
* Fix a bug where we would not promote calls to invokes if they occured inChris Lattner2005-04-211-3/+5
| | | | | | the same block as the setjmp. Thanks to Greg Pettyjohn for noticing this! llvm-svn: 21403
* Eliminate calls to system dependent function getuid by usingReid Spencer2005-04-211-2/+3
| | | | | | | the newly implemented sys::Process::GetCurrentUserId function. Replace similarly for getgid. llvm-svn: 21402
* Provide an implementation of the GetCurrentUserId and GetCurrentGroupIdReid Spencer2005-04-212-0/+20
| | | | | | methods that were recently added to the interface. llvm-svn: 21401
* Add two new methods for getting the User Id and Group Id values for theReid Spencer2005-04-211-0/+10
| | | | | | current process. llvm-svn: 21400
* Add doxygen comments, patch contributed by Evan Jones.Chris Lattner2005-04-211-6/+6
| | | | llvm-svn: 21397
* add support for taking and resolving the address of free.Chris Lattner2005-04-211-2/+31
| | | | llvm-svn: 21396
* add support for taking the address of free.Chris Lattner2005-04-211-4/+8
| | | | llvm-svn: 21395
* Improve doxygen, from part of Evan's patch that didn't apply.Chris Lattner2005-04-211-6/+6
| | | | llvm-svn: 21394
* Improve doxygen documentation, patch contributed by Evan Jones!Chris Lattner2005-04-213-59/+59
| | | | llvm-svn: 21393
* Improve and elimination. On PPC, for:Chris Lattner2005-04-211-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | bool %test(int %X) { %Y = and int %X, 8 %Z = setne int %Y, 0 ret bool %Z } we now generate this: rlwinm r2, r3, 0, 28, 28 srwi r3, r2, 3 instead of this: rlwinm r2, r3, 0, 28, 28 srwi r2, r2, 3 rlwinm r3, r2, 0, 31, 31 I'll leave it to Nate to get it down to one instruction. :) --------------------------------------------------------------------- llvm-svn: 21391
* Fold (x & 8) != 0 and (x & 8) == 8 into (x & 8) >> 3.Chris Lattner2005-04-211-0/+22
| | | | | | | | | | | | | | | | | | | This turns this PPC code: rlwinm r2, r3, 0, 28, 28 cmpwi cr7, r2, 8 mfcr r2 rlwinm r3, r2, 31, 31, 31 into this: rlwinm r2, r3, 0, 28, 28 srwi r2, r2, 3 rlwinm r3, r2, 0, 31, 31 Next up, nuking the extra and. llvm-svn: 21390
* Instcombine this:Chris Lattner2005-04-211-0/+3
| | | | | | | | | | | | | | | | | %shortcirc_val = select bool %tmp.1, bool true, bool %tmp.4 ; <bool> [#uses=1] %tmp.6 = cast bool %shortcirc_val to int ; <int> [#uses=1] into this: %shortcirc_val = or bool %tmp.1, %tmp.4 ; <bool> [#uses=1] %tmp.6 = cast bool %shortcirc_val to int ; <int> [#uses=1] not this: %tmp.4.cast = cast bool %tmp.4 to int ; <int> [#uses=1] %tmp.6 = select bool %tmp.1, int 1, int %tmp.4.cast ; <int> [#uses=1] llvm-svn: 21389
* Teach simplifycfg that setcc is cheap and non-trapping, so that it canChris Lattner2005-04-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | convert this: %tmp.1 = seteq int %i, 0 ; <bool> [#uses=1] br bool %tmp.1, label %shortcirc_done, label %shortcirc_next shortcirc_next: ; preds = %entry %tmp.4 = seteq int %j, 0 ; <bool> [#uses=1] br label %shortcirc_done shortcirc_done: ; preds = %shortcirc_next, %entry %shortcirc_val = phi bool [ %tmp.4, %shortcirc_next ], [ true, %entry ] ; <bool> [#uses=1] to this: %tmp.1 = seteq int %i, 0 ; <bool> [#uses=1] %tmp.4 = seteq int %j, 0 ; <bool> [#uses=1] %shortcirc_val = select bool %tmp.1, bool true, bool %tmp.4 ; <bool> [#uses=1] ... which is later simplified by instcombine into an or. llvm-svn: 21388
* Fix some broken links, taking care of PR554Chris Lattner2005-04-211-6/+6
| | | | llvm-svn: 21387
* update to match build changes.Chris Lattner2005-04-211-2/+2
| | | | llvm-svn: 21386
* For Bug 543:Reid Spencer2005-04-211-24/+24
| | | | | | | | Standardize the error messages to be in "path: what failed: why" format. Also attempt to use the correct errno to ThrowErrno in situations where the errno value is erased by subsequent system calls. llvm-svn: 21385
* For Bug 543:Reid Spencer2005-04-211-6/+8
| | | | | | | Allow the ThrowErrno function to optionally accept an error number parameter so that callers can specify the error number to be used. llvm-svn: 21384
* Remove trailing whitespace at the end of linesMisha Brukman2005-04-204-41/+41
| | | | llvm-svn: 21380
* Remove trailing whitespace, patch by Markus Oberhumer.Misha Brukman2005-04-202-59/+59
| | | | llvm-svn: 21379
* Add FIXME by Markus Oberhumer from bug 545: not checking for "." in $PATH mayMisha Brukman2005-04-201-0/+2
| | | | | | result in returning executable files that won't be runnable. llvm-svn: 21378
* Do not mark directories as `executable', we only want program filesMisha Brukman2005-04-201-0/+4
| | | | | | Patch by Markus Oberhumer. llvm-svn: 21377
* #include system headers after all LLVM headersMisha Brukman2005-04-201-2/+1
| | | | llvm-svn: 21374
* Eliminate trailing spaces at end-of-lineMisha Brukman2005-04-202-18/+18
| | | | llvm-svn: 21372
* Consistently eschew space between `*' or `&' and function argument nameMisha Brukman2005-04-201-12/+12
| | | | llvm-svn: 21371
* Ignore dangling symlinks in getDirectoryContents()Misha Brukman2005-04-201-3/+8
| | | | | | Thanks to Markus Oberhumer for the patch! llvm-svn: 21370
* Initialize fields mode, uid, and gid.Misha Brukman2005-04-201-0/+6
| | | | | | Patch by Markus Oberhumer. Thanks! llvm-svn: 21369
* Align comments together for consistencyMisha Brukman2005-04-201-1/+1
| | | | llvm-svn: 21368
* * Print commands as we execute them with `-v'Misha Brukman2005-04-203-21/+44
| | | | | | | * Add option `-save-temps' Patch contributed by Markus Oberhumer. llvm-svn: 21367
* Wrap some long lines.Chris Lattner2005-04-191-3/+9
| | | | | | | | Make IPSCCP strip off dead constant exprs that are using functions, making them appear as though their address is taken. This allows us to propagate some more pool descriptors, lowering the overhead of pool alloc. llvm-svn: 21363
* ignore generated filesChris Lattner2005-04-191-0/+4
| | | | llvm-svn: 21362
* fix bogus warningChris Lattner2005-04-191-0/+1
| | | | llvm-svn: 21361
* fix PR549Chris Lattner2005-04-191-1/+3
| | | | llvm-svn: 21360
* Bug fixedChris Lattner2005-04-191-0/+2
| | | | llvm-svn: 21355
* Eliminate a broken transformation, fixing PR548Chris Lattner2005-04-191-4/+2
| | | | llvm-svn: 21354
* Add completely untested support for mtcrf/mfcrf encodingChris Lattner2005-04-191-0/+7
| | | | llvm-svn: 21353
* switch over the rest of the formats that use RC to use isDOTChris Lattner2005-04-192-71/+73
| | | | llvm-svn: 21352
OpenPOWER on IntegriCloud