- Aug 08, 2005
-
-
Chris Lattner authored
llvm-svn: 22696
-
- Aug 07, 2005
-
-
Chris Lattner authored
llvm-svn: 22691
-
- Aug 05, 2005
-
-
Chris Lattner authored
avoid revisiting nodes more than once. This eliminates a source of potentially exponential behavior. For a small function in 191.fma3d (hexah_stress_divergence_), this speeds up isel from taking > 20mins to taking 0.07s. llvm-svn: 22680
-
Chris Lattner authored
llvm-svn: 22679
-
Chris Lattner authored
yesterday. This fixes whetstone and a bunch of programs in the External tests. llvm-svn: 22678
-
- Aug 04, 2005
-
-
Nate Begeman authored
llvm-svn: 22661
-
Misha Brukman authored
* Add comments to #endif pragmas for readability llvm-svn: 22647
-
- Aug 03, 2005
-
-
Chris Lattner authored
the sequence used for integer ops llvm-svn: 22629
-
- Aug 02, 2005
-
-
Chris Lattner authored
Patch contributed by Jim Laskey! llvm-svn: 22594
-
- Aug 01, 2005
-
-
Chris Lattner authored
llvm-svn: 22570
-
- Jul 30, 2005
-
-
Jeff Cohen authored
llvm-svn: 22565
-
Chris Lattner authored
llvm-svn: 22563
-
Chris Lattner authored
both the src and dest values are legal llvm-svn: 22555
-
- Jul 29, 2005
-
-
Chris Lattner authored
llvm-svn: 22548
-
Chris Lattner authored
a larger integer destination. llvm-svn: 22547
-
Chris Lattner authored
subcases inside, break things out earlier. llvm-svn: 22546
-
- Jul 28, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22542
-
Chris Lattner authored
llvm-svn: 22529
-
Chris Lattner authored
llvm-svn: 22528
-
- Jul 27, 2005
-
-
Jeff Cohen authored
llvm-svn: 22523
-
- Jul 19, 2005
-
-
Nate Begeman authored
llvm-svn: 22469
-
- Jul 18, 2005
-
-
Chris Lattner authored
expand the code to work for all integer datatypes. This should unbreak alpha. llvm-svn: 22464
-
- Jul 16, 2005
-
-
Chris Lattner authored
This allows is to not emit empty sections when .data or .bss is not used. llvm-svn: 22457
-
Chris Lattner authored
llvm-svn: 22455
-
Chris Lattner authored
vector that represents the .o file at once, build up a vector for each section of the .o file. This is needed because the .o file writer needs to be able to switch between sections as it emits them (e.g. switch between the .text section and the .rel section when emitting code). This patch has no functionality change. llvm-svn: 22453
-
Nate Begeman authored
the target natively supports. This eliminates some special-case code from the x86 backend and generates better code as well. For an i8 to f64 conversion, before & after: _x87 before: subl $2, %esp movb 6(%esp), %al movsbw %al, %ax movw %ax, (%esp) filds (%esp) addl $2, %esp ret _x87 after: subl $2, %esp movsbw 6(%esp), %ax movw %ax, (%esp) filds (%esp) addl $2, %esp ret _sse before: subl $12, %esp movb 16(%esp), %al movsbl %al, %eax cvtsi2sd %eax, %xmm0 addl $12, %esp ret _sse after: subl $12, %esp movsbl 16(%esp), %eax cvtsi2sd %eax, %xmm0 addl $12, %esp ret llvm-svn: 22452
-
Chris Lattner authored
SelectionDAGLegalize::ExpandLegalUINT_TO_FP method. Add a new method, PromoteLegalUINT_TO_FP, which allows targets to request that UINT_TO_FP operations be promoted to a larger input type. This is useful for targets that have some UINT_TO_FP or SINT_TO_FP operations but not all of them (like X86). The same should be done with SINT_TO_FP, but this patch does not do that yet. llvm-svn: 22447
-
Chris Lattner authored
llvm-svn: 22446
-
- Jul 14, 2005
-
-
Chris Lattner authored
gv and Graphviz. llvm-svn: 22434
-
Chris Lattner authored
llvm-svn: 22432
-
Chris Lattner authored
llvm-svn: 22429
-
- Jul 13, 2005
-
-
Chris Lattner authored
It is not safe to call LegalizeOp on something that has already been legalized. Instead, just force another iteration of legalization. This could affect all platforms but X86, as this codepath is dynamically dead on X86 (ISD::MEMSET and friends are legal). llvm-svn: 22419
-
Chris Lattner authored
llvm-svn: 22417
-
- Jul 12, 2005
-
-
Chris Lattner authored
llvm-svn: 22400
-
Jeff Cohen authored
llvm-svn: 22393
-
- Jul 11, 2005
-
-
Chris Lattner authored
llvm-svn: 22382
-
Chris Lattner authored
allows objdump to know which function we are emitting to: 00000000 <foo>: <---- 0: b8 01 00 00 00 mov $0x1,%eax 5: 03 44 24 04 add 0x4(%esp,1),%eax 9: c3 ret ... and allows .o files to be useful for linking :) llvm-svn: 22378
-
Chris Lattner authored
Add a *VERY INITIAL* machine code emitter class. This is enough to take this C function: int foo(int X) { return X +1; } and make objdump produce the following: $ objdump -d t-llvm.o t-llvm.o: file format elf32-i386 Disassembly of section .text: 00000000 <.text>: 0: b8 01 00 00 00 mov $0x1,%eax 5: 03 44 24 04 add 0x4(%esp,1),%eax 9: c3 ret Anything using branches or refering to the constant pool or requiring relocations will not work yet. llvm-svn: 22375
-
Chris Lattner authored
characters from them. llvm-svn: 22371
-
- Jul 10, 2005
-
-
Chris Lattner authored
This is the last MVTSDNode. This allows us to eliminate a bunch of special case code for handling MVTSDNodes. llvm-svn: 22367
-