- Oct 08, 2004
-
-
Misha Brukman authored
llvm-svn: 16850
-
Misha Brukman authored
llvm-svn: 16849
-
Misha Brukman authored
llvm-svn: 16848
-
Misha Brukman authored
llvm-svn: 16847
-
Misha Brukman authored
llvm-svn: 16845
-
Reid Spencer authored
llvm-svn: 16844
-
Reid Spencer authored
llvm-svn: 16843
-
Chris Lattner authored
optimizations to trigger much more often. This allows the elimination of several dozen more global variables in Programs/External. Note that we only do this for non-constant globals: constant globals will already be optimized out if the accesses to them permit it. This implements Transforms/GlobalOpt/globalsra.llx llvm-svn: 16842
-
Chris Lattner authored
llvm-svn: 16841
-
Chris Lattner authored
instcombine xform, which is why we didn't notice it before. llvm-svn: 16840
-
Chris Lattner authored
it cannot be folded in. llvm-svn: 16839
-
Misha Brukman authored
llvm-svn: 16838
-
Reid Spencer authored
version of the configure script. This is an early commit of the automake support so that automake support can be tested on multiple platforms. Many additional Makefile.am need to be added to LLVM before this is of any use. Please wait until automake support is announced on llvmdev list before using the --with-automake option. llvm-svn: 16837
-
Chris Lattner authored
This comes up when doing adds to bitfield elements. llvm-svn: 16836
-
Chris Lattner authored
llvm-svn: 16835
-
Chris Lattner authored
This triggers in cases of bitfield additions, opening opportunities for future improvements. llvm-svn: 16834
-
Chris Lattner authored
llvm-svn: 16833
-
Nate Begeman authored
of one or more 1 bits (may wrap from least significant bit to most significant bit) as the rlwinm rather than andi., andis., or some longer instructons sequence. int andn4(int z) { return z & -4; } int clearhi(int z) { return z & 0x0000FFFF; } int clearlo(int z) { return z & 0xFFFF0000; } int clearmid(int z) { return z & 0x00FFFF00; } int clearwrap(int z) { return z & 0xFF0000FF; } _andn4: rlwinm r3, r3, 0, 0, 29 blr _clearhi: rlwinm r3, r3, 0, 16, 31 blr _clearlo: rlwinm r3, r3, 0, 0, 15 blr _clearmid: rlwinm r3, r3, 0, 8, 23 blr _clearwrap: rlwinm r3, r3, 0, 24, 7 blr llvm-svn: 16832
-
Misha Brukman authored
llvm-svn: 16831
-
Misha Brukman authored
llvm-svn: 16830
-
Misha Brukman authored
llvm-svn: 16829
-
Misha Brukman authored
* Add missing <li> tags llvm-svn: 16828
-
Nate Begeman authored
1. Fix an illegal argument to getClassB when deciding whether or not to sign extend a byte load. 2. Initial addition of isLoad and isStore flags to the instruction .td file for eventual use in a scheduler. 3. Rewrite of how constants are handled in emitSimpleBinaryOperation so that we can emit the PowerPC shifted immediate instructions far more often. This allows us to emit the following code: int foo(int x) { return x | 0x00F0000; } _foo: .LBB_foo_0: ; entry ; IMPLICIT_DEF oris r3, r3, 15 blr llvm-svn: 16826
-
Nate Begeman authored
loading a 32bit constant into a register whose low halfword is all zeroes. We now omit the ori after the lis for the following C code: int bar(int y) { return y * 0x00F0000; } _bar: .LBB_bar_0: ; entry ; IMPLICIT_DEF lis r2, 15 mullw r3, r3, r2 blr llvm-svn: 16825
-
Nate Begeman authored
llvm-svn: 16824
-
- Oct 07, 2004
-
-
Chris Lattner authored
llvm-svn: 16814
-
Chris Lattner authored
a map. This caused problems if a later object happened to be allocated at the free'd object's address. llvm-svn: 16813
-
Chris Lattner authored
llvm-svn: 16812
-
Chris Lattner authored
exponential behavior (bork!). This patch processes stuff with an explicit SCC finder, allowing the algorithm to be more clear, efficient, and also (as a bonus) correct! This gets us back to taking 0.6s to disassemble my horrible .bc file that previously took something > 30 mins. llvm-svn: 16811
-
Chris Lattner authored
llvm-svn: 16810
-
Chris Lattner authored
llvm-svn: 16809
-
Chris Lattner authored
llvm-svn: 16808
-
Chris Lattner authored
speedup, but has the advantage of not breaking a bunch of programs! llvm-svn: 16806
-
Reid Spencer authored
llvm-svn: 16805
-
Chris Lattner authored
llvm-svn: 16804
-
Chris Lattner authored
llvm-svn: 16803
-
Chris Lattner authored
* Instead of handling dead functions specially, just nuke them. * Be more aggressive about cleaning up after constification, in particular, handle getelementptr instructions and constantexprs. * Be a little bit more structured about how we process globals. *** Delete globals that are only stored to, and never read. These are clearly not useful, so they should go. This implements deadglobal.llx This last one triggers quite a few times. In particular, 2208 in the external tests, 1865 of which are in 252.eon. This shrinks eon from 1995094 to 1732341 bytes of bytecode. llvm-svn: 16802
-
Chris Lattner authored
llvm-svn: 16801
-
Chris Lattner authored
llvm-svn: 16800
-
Chris Lattner authored
llvm-svn: 16799
-