llvm-6502/lib
Chris Lattner 9ca96410fc Use EraseInstFromFunction in a few cases to put the uses of the removed
instruction onto the worklist (in case they are now dead).

Add a really trivial local DSE implementation to help out bitfield code.
We now fold this:

struct S {
    unsigned char a : 1, b : 1, c : 1, d : 2, e : 3;
    S();
};

S::S() : a(0), b(0), c(1), d(0), e(6) {}

to this:

void %_ZN1SC1Ev(%struct.S* %this) {
entry:
        %tmp.1 = getelementptr %struct.S* %this, int 0, uint 0
        store ubyte 38, ubyte* %tmp.1
        ret void
}

much earlier (in gccas instead of only in gccld after DSE runs).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26050 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-08 03:25:32 +00:00
..
Analysis Pull the InsertCastOfTo out of the header, implement CSE'ing of arguments. 2006-02-04 09:51:53 +00:00
Archive
AsmParser regenerate 2006-01-25 22:27:16 +00:00
Bytecode Fix auto-upgrade of intrinsics to work properly with both assembly and 2006-01-27 11:49:27 +00:00
CodeGen Compile this: 2006-02-08 02:13:15 +00:00
Debugger
ExecutionEngine The interpreter assumes that the caller of runFunction() must be lli, and 2006-02-07 05:29:44 +00:00
Linker Rename method 2006-01-24 04:14:29 +00:00
Support Let bugpoint work on sparc with v9 instructions enabled. 2006-02-04 05:02:27 +00:00
System Add AddSymbol() method to DynamicLibrary to work around Windows limitation 2006-01-30 04:33:51 +00:00
Target Fixed a local common symbol bug. 2006-02-07 23:32:58 +00:00
Transforms Use EraseInstFromFunction in a few cases to put the uses of the removed 2006-02-08 03:25:32 +00:00
VMCore validate matching constraints and remember when we see them. 2006-02-02 00:23:53 +00:00
Makefile