- Apr 21, 2008
-
-
Owen Anderson authored
and simplify code that was fallout from the separation of memcpyopt and gvn. llvm-svn: 50034
-
Chris Lattner authored
llvm-svn: 50022
-
Chris Lattner authored
llvm-svn: 50016
-
Chris Lattner authored
llvm-svn: 50006
-
Chris Lattner authored
a call to Instruction::isUsedOutsideOfBlock. llvm-svn: 50005
-
- Apr 20, 2008
-
-
Chris Lattner authored
llvm-svn: 50003
-
Chris Lattner authored
Add a cost function. llvm-svn: 50002
-
Chris Lattner authored
such as those in PR2235. Right now the pass is not very effective. :) llvm-svn: 50000
-
Torok Edwin authored
llvm-svn: 49989
-
Chris Lattner authored
llvm-svn: 49977
-
- Apr 17, 2008
-
-
Owen Anderson authored
llvm-svn: 49842
-
- Apr 14, 2008
-
-
Dan Gohman authored
llvm-svn: 49681
-
Dan Gohman authored
llvm-svn: 49671
-
Owen Anderson authored
llvm-svn: 49657
-
- Apr 13, 2008
-
-
Owen Anderson authored
which is significantly more efficient. llvm-svn: 49614
-
- Apr 11, 2008
-
-
Owen Anderson authored
of calls and less aggressive with non-readnone calls. llvm-svn: 49516
-
- Apr 10, 2008
-
-
Dan Gohman authored
in addition to integer expressions. Rewrite GetOrEnforceKnownAlignment as a ComputeMaskedBits problem, moving all of its special alignment knowledge to ComputeMaskedBits as low-zero-bits knowledge. Also, teach ComputeMaskedBits a few basic things about Mul and PHI instructions. This improves ComputeMaskedBits-based simplifications in a few cases, but more noticeably it significantly improves instcombine's alignment detection for loads, stores, and memory intrinsics. llvm-svn: 49492
-
- Apr 09, 2008
-
-
Devang Patel authored
llvm-svn: 49430
-
Owen Anderson authored
GVN and into its own pass. llvm-svn: 49419
-
Owen Anderson authored
llvm-svn: 49418
-
- Apr 07, 2008
-
-
Owen Anderson authored
in both time and memory savings for GVN. For example, one testcase went from 10.5s to 6s with this patch. llvm-svn: 49345
-
Owen Anderson authored
allocations, which GVN can't optimize anyways. llvm-svn: 49329
-
- Apr 06, 2008
-
-
Chris Lattner authored
llvm-svn: 49283
-
Gabor Greif authored
Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277
-
- Apr 02, 2008
-
-
David Greene authored
Iterators folloring a SmallVector erased element are invalidated so don't access cached iterators from after the erased element. Re-apply 49056 with SmallVector support. llvm-svn: 49106
-
Tanya Lattner authored
llvm-svn: 49060
-
David Greene authored
Iterators folloring a SmallVector erased element are invalidated so don't access cached iterators from after the erased element. llvm-svn: 49056
-
- Mar 31, 2008
-
-
Nate Begeman authored
llvm-svn: 48971
-
- Mar 30, 2008
-
-
Chris Lattner authored
patch by David Chisnall. llvm-svn: 48963
-
- Mar 29, 2008
-
-
Chris Lattner authored
when something changes, instead of moving forward. This allows us to simplify memset lowering, inserting the memset at the end of the range of stuff we're touching instead of at the start. This, in turn, allows us to make use of the addressing instructions already used in the function instead of inserting our own. For example, we now codegen: %tmp41 = getelementptr [8 x i8]* %ref_idx, i32 0, i32 0 ; <i8*> [#uses=2] call void @llvm.memset.i64( i8* %tmp41, i8 -1, i64 8, i32 1 ) instead of: %tmp20 = getelementptr [8 x i8]* %ref_idx, i32 0, i32 7 ; <i8*> [#uses=1] %ptroffset = getelementptr i8* %tmp20, i64 -7 ; <i8*> [#uses=1] call void @llvm.memset.i64( i8* %ptroffset, i8 -1, i64 8, i32 1 ) llvm-svn: 48940
-
Chris Lattner authored
into a memset!) faster by avoiding an allocation of an std::list node. llvm-svn: 48939
-
Chris Lattner authored
llvm-svn: 48937
-
- Mar 28, 2008
-
-
Chris Lattner authored
memsets that initialize "structs of arrays" and other store sequences that are not sequential. This is still only enabled if you pass -form-memset-from-stores. The flag is not heavily tested and I haven't analyzed the perf regressions when -form-memset-from-stores is passed either, but this causes no make check regressions. llvm-svn: 48909
-
- Mar 27, 2008
-
-
Devang Patel authored
Increment iterator in advance. llvm-svn: 48890
-
- Mar 25, 2008
-
-
Evan Cheng authored
Handle a special case xor undef, undef -> 0. Technically this should be transformed to undef. But this is such a common idiom (misuse) we are going to handle it. llvm-svn: 48791
-
- Mar 24, 2008
-
-
Devang Patel authored
llvm-svn: 48738
-
Evan Cheng authored
llvm-svn: 48720
-
Evan Cheng authored
Transform (zext (or (icmp), (icmp))) to (or (zext (cimp), (zext icmp))) if at least one of the (zext icmp) can be transformed to eliminate an icmp. llvm-svn: 48715
-
- Mar 22, 2008
-
-
Chris Lattner authored
This fires dozens of times across spec and multisource, but I don't know if it actually speeds stuff up. Hopefully the testers will show something nice :) llvm-svn: 48680
-
Chris Lattner authored
llvm-svn: 48679
-