| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* Convert tabs to spaces
llvm-svn: 21418
|
|
|
|
| |
llvm-svn: 21417
|
|
|
|
| |
llvm-svn: 21416
|
|
|
|
|
|
| |
* Convert tabs to spaces
llvm-svn: 21415
|
|
|
|
| |
llvm-svn: 21414
|
|
|
|
| |
llvm-svn: 21413
|
|
|
|
| |
llvm-svn: 21412
|
|
|
|
| |
llvm-svn: 21411
|
|
|
|
| |
llvm-svn: 21410
|
|
|
|
| |
llvm-svn: 21409
|
|
|
|
| |
llvm-svn: 21408
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
test1:
movl $N, %eax
movl %eax, G
ret
emit:
test1:
movl $N, G
ret
llvm-svn: 21407
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 21405
|
|
|
|
|
|
| |
the same block as the setjmp. Thanks to Greg Pettyjohn for noticing this!
llvm-svn: 21403
|
|
|
|
|
|
|
| |
the newly implemented sys::Process::GetCurrentUserId function. Replace
similarly for getgid.
llvm-svn: 21402
|
|
|
|
|
|
| |
methods that were recently added to the interface.
llvm-svn: 21401
|
|
|
|
|
|
| |
current process.
llvm-svn: 21400
|
|
|
|
| |
llvm-svn: 21397
|
|
|
|
| |
llvm-svn: 21396
|
|
|
|
| |
llvm-svn: 21395
|
|
|
|
| |
llvm-svn: 21394
|
|
|
|
| |
llvm-svn: 21393
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
%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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 21387
|
|
|
|
| |
llvm-svn: 21386
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 21380
|
|
|
|
| |
llvm-svn: 21379
|
|
|
|
|
|
| |
result in returning executable files that won't be runnable.
llvm-svn: 21378
|
|
|
|
|
|
| |
Patch by Markus Oberhumer.
llvm-svn: 21377
|
|
|
|
| |
llvm-svn: 21374
|
|
|
|
| |
llvm-svn: 21372
|
|
|
|
| |
llvm-svn: 21371
|
|
|
|
|
|
| |
Thanks to Markus Oberhumer for the patch!
llvm-svn: 21370
|
|
|
|
|
|
| |
Patch by Markus Oberhumer. Thanks!
llvm-svn: 21369
|
|
|
|
| |
llvm-svn: 21368
|
|
|
|
|
|
|
| |
* Add option `-save-temps'
Patch contributed by Markus Oberhumer.
llvm-svn: 21367
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 21362
|
|
|
|
| |
llvm-svn: 21361
|
|
|
|
| |
llvm-svn: 21360
|
|
|
|
| |
llvm-svn: 21355
|
|
|
|
| |
llvm-svn: 21354
|
|
|
|
| |
llvm-svn: 21353
|
|
|
|
| |
llvm-svn: 21352
|