llvm-6502/lib/Target/X86
Chris Lattner 9bbd992eb1 Try both ways to fold an add together. This allows us to generate this code
imul %EAX, %EAX, 400
        add %ECX, %EAX
        add %ESI, DWORD PTR [%ECX + 4*%EDX]
        inc %EDX
        cmp %EDX, 100

instead of this:

        imul %EAX, %EAX, 400
        add %ECX, %EAX
        mov %EAX, %EDX
        shl %EAX, 2
        add %ECX, %EAX
        add %ESI, DWORD PTR [%ECX]
        inc %EDX
        cmp %EDX, 100


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19513 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-12 18:08:53 +00:00
..
.cvsignore ignore generated files 2004-11-21 00:01:54 +00:00
Makefile Adjust to changes in asmwriter filenames 2004-12-16 17:33:24 +00:00
X86.h Add a new prototype 2005-01-07 07:48:33 +00:00
X86.td
X86AsmPrinter.cpp Print a load of a null pointer (in intel mode) like this: 2005-01-12 04:07:11 +00:00
X86CodeEmitter.cpp There is no reason to emit function stubs for direct calls. 2004-11-21 03:46:06 +00:00
X86FloatingPoint.cpp
X86InstrBuilder.h Add a new method. 2005-01-02 02:38:18 +00:00
X86InstrInfo.cpp Disable 2->3 address promotion of add and inc instructions to LEA's. In 2005-01-02 04:18:17 +00:00
X86InstrInfo.h Implement the convertToThreeAddress method, add support for inverting JP/JNP 2005-01-02 02:37:07 +00:00
X86InstrInfo.td Add conditional moves for the parity flag. 2005-01-10 22:09:33 +00:00
X86ISelPattern.cpp Try both ways to fold an add together. This allows us to generate this code 2005-01-12 18:08:53 +00:00
X86ISelSimple.cpp Fix a subtle bug involving constant expr casts from int to fp 2005-01-09 01:49:29 +00:00
X86JITInfo.cpp Do not push two return addresses on the stack when we call external functions who have their addresses taken. This fixes test-call.ll 2004-11-22 22:25:30 +00:00
X86JITInfo.h
X86PeepholeOpt.cpp Do not lose the offset from teh global when peephole optimizing instructions. 2005-01-12 05:17:28 +00:00
X86RegisterInfo.cpp Add conditional moves for the parity flag. 2005-01-10 22:09:33 +00:00
X86RegisterInfo.h
X86RegisterInfo.td Minor optimization to allocate R8 registers in a better order. 2005-01-05 16:09:16 +00:00
X86Relocations.h
X86TargetMachine.cpp Allow the selection-dag based selector to be diabled with -disable-pattern-isel. 2005-01-07 07:50:50 +00:00
X86TargetMachine.h