- Nov 28, 2008
-
-
Duncan Sands authored
gcc 4.4 (due to use of sprintf). llvm-svn: 60209
-
Duncan Sands authored
being both a namespace and a variable name. llvm-svn: 60208
-
Chris Lattner authored
formulation that doesn't require set lookups or scanning a set. llvm-svn: 60203
-
Chris Lattner authored
nothing to do with dead instruction elimination. No tests in dejagnu depend on this, so I don't know what it was needed for. llvm-svn: 60202
-
Chris Lattner authored
elimination to use more modern infrastructure. Also do a bunch of small cleanups. llvm-svn: 60201
-
Chris Lattner authored
RecursivelyDeleteTriviallyDeadInstructions. llvm-svn: 60196
-
Chris Lattner authored
making it use RecursivelyDeleteTriviallyDeadInstructions to do the heavy lifting. llvm-svn: 60195
-
Chris Lattner authored
PHIs dead if they are single-value. llvm-svn: 60194
-
Chris Lattner authored
return a list of deleted instructions. llvm-svn: 60193
-
Chris Lattner authored
llvm-svn: 60192
-
- Nov 27, 2008
-
-
Chris Lattner authored
wrappers around the interesting code and use an obscure iterator abstraction that dates back many many years. Move EraseDeadInstructions to Transforms/Utils and name it RecursivelyDeleteTriviallyDeadInstructions. llvm-svn: 60191
-
Chris Lattner authored
llvm-svn: 60190
-
Chris Lattner authored
llvm-svn: 60189
-
Nick Lewycky authored
llvm-svn: 60188
-
Nick Lewycky authored
llvm-svn: 60187
-
Nick Lewycky authored
llvm-svn: 60186
-
Nick Lewycky authored
by 1, as well as multiply by -1. llvm-svn: 60182
-
Chris Lattner authored
it ends up being the entry block. llvm-svn: 60180
-
Chris Lattner authored
move the other block back up into the entry position! llvm-svn: 60179
-
Nick Lewycky authored
Despite changing the order of evaluation, this doesn't actually change the meaning of the statement. llvm-svn: 60177
-
Nuno Lopes authored
llvm-svn: 60175
-
Nuno Lopes authored
llvm-svn: 60174
-
Chris Lattner authored
FindAvailableLoadedValue llvm-svn: 60169
-
Chris Lattner authored
llvm-svn: 60168
-
Chris Lattner authored
if it has it. llvm-svn: 60167
-
Chris Lattner authored
llvm-svn: 60166
-
Bill Wendling authored
inlined" message. llvm-svn: 60165
-
Chris Lattner authored
llvm-svn: 60164
-
Chris Lattner authored
llvm-svn: 60163
-
Chris Lattner authored
llvm-svn: 60162
-
Chris Lattner authored
just simple threading. llvm-svn: 60157
-
Bill Wendling authored
llvm-svn: 60156
-
Sanjiv Gupta authored
llvm-svn: 60149
-
Chris Lattner authored
1. Make it fold blocks separated by an unconditional branch. This enables jump threading to see a broader scope. 2. Make jump threading able to eliminate locally redundant loads when they feed the branch condition of a block. This frequently occurs due to reg2mem running. 3. Make jump threading able to eliminate *partially redundant* loads when they feed the branch condition of a block. This is common in code with lots of loads and stores like C++ code and 255.vortex. This implements thread-loads.ll and rdar://6402033. Per the fixme's, several pieces of this should be moved into Transforms/Utils. llvm-svn: 60148
-
Evan Cheng authored
llvm-svn: 60145
-
Evan Cheng authored
llvm-svn: 60141
-
Evan Cheng authored
On x86 favors folding short immediate into some arithmetic operations (e.g. add, and, xor, etc.) because materializing an immediate in a register is expensive in turns of code size. e.g. movl 4(%esp), %eax addl $4, %eax is 2 bytes shorter than movl $4, %eax addl 4(%esp), %eax llvm-svn: 60139
-
Dale Johannesen authored
llvm-svn: 60137
-
- Nov 26, 2008
-
-
Bill Wendling authored
the conditional for the BRCOND statement. For instance, it will generate: addl %eax, %ecx jo LOF instead of addl %eax, %ecx ; About 10 instructions to compare the signs of LHS, RHS, and sum. jl LOF llvm-svn: 60123
-
Chris Lattner authored
performance in most cases on the Grawp tester, but does speed some things up (like shootout/hash by 15%). This also doesn't impact compile time in a noticable way on the Grawp tester. It also, of course, gets the testcase it was designed for right :) llvm-svn: 60120
-