- Oct 18, 2006
-
-
Chris Lattner authored
llvm-svn: 31024
-
- Oct 13, 2006
-
-
Chris Lattner authored
llvm-svn: 30938
-
- Sep 08, 2006
-
-
Evan Cheng authored
llvm-svn: 30177
-
- May 30, 2006
-
-
Evan Cheng authored
llvm-svn: 28574
-
- May 24, 2006
-
-
Chris Lattner authored
by Anton Korobeynikov! This is a step towards closing PR786. llvm-svn: 28447
-
- May 18, 2006
-
-
Evan Cheng authored
llvm-svn: 28381
-
- Feb 02, 2006
-
-
Chris Lattner authored
Move isLoadFrom/StoreToStackSlot from MRegisterInfo to TargetInstrInfo,a far more logical place. Other methods should also be moved if anyoneis interested. :) llvm-svn: 25913
-
- Feb 01, 2006
-
-
Evan Cheng authored
- Added a new format for instructions where the source register is implied and it is same as the destination register. Used for pseudo instructions that clear the destination register. llvm-svn: 25872
-
- Jul 27, 2005
-
-
Jeff Cohen authored
llvm-svn: 22520
-
- Jul 06, 2005
-
-
Nate Begeman authored
XMM registers. There are many known deficiencies and fixmes, which will be addressed ASAP. The major benefit of this work is that it will allow the LLVM register allocator to allocate FP registers across basic blocks. The x86 backend will still default to x87 style FP. To enable this work, you must pass -enable-sse-scalar-fp and either -sse2 or -sse3 to llc. An example before and after would be for: double foo(double *P) { double Sum = 0; int i; for (i = 0; i < 1000; ++i) Sum += P[i]; return Sum; } The inner loop looks like the following: x87: .LBB_foo_1: # no_exit fldl (%esp) faddl (%eax,%ecx,8) fstpl (%esp) incl %ecx cmpl $1000, %ecx #FP_REG_KILL jne .LBB_foo_1 # no_exit SSE2: addsd (%eax,%ecx,8), %xmm0 incl %ecx cmpl $1000, %ecx #FP_REG_KILL jne .LBB_foo_1 # no_exit llvm-svn: 22340
-
- Apr 22, 2005
-
-
Misha Brukman authored
* Convert tabs to spaces llvm-svn: 21426
-
- Jan 19, 2005
-
-
Chris Lattner authored
This allows us to generate this: foo: mov %EAX, DWORD PTR [%ESP + 4] mov %EDX, DWORD PTR [%ESP + 8] shld %EDX, %EDX, 2 shl %EAX, 2 ret instead of this: foo: mov %EAX, DWORD PTR [%ESP + 4] mov %ECX, DWORD PTR [%ESP + 8] mov %EDX, %EAX shrd %EDX, %ECX, 30 shl %EAX, 2 ret Note the magically transmogrifying immediate. llvm-svn: 19686
-
- Jan 02, 2005
-
-
Chris Lattner authored
branches. llvm-svn: 19247
-
- Aug 11, 2004
-
-
Chris Lattner authored
old asmprinter. llvm-svn: 15660
-
- Aug 01, 2004
-
-
Chris Lattner authored
llvm-svn: 15398
-
- Jul 31, 2004
-
-
Alkis Evlogimenos authored
llvm-svn: 15362
-
- Jun 11, 2004
-
-
Chris Lattner authored
twoarg cases. llvm-svn: 14143
-
- Apr 13, 2004
-
-
Chris Lattner authored
llvm-svn: 12893
-
- Apr 08, 2004
-
-
John Criswell authored
I/O port instructions on x86. The specific code sequence is tailored to the parameters and return value of the intrinsic call. Added the ability for implicit defintions to be printed in the Instruction Printer. Added the ability for RawFrm instruction to print implict uses and defintions with correct comma output. This required adjustment to some methods so that a leading comma would or would not be printed. llvm-svn: 12782
-
- Apr 01, 2004
-
-
Chris Lattner authored
llvm-svn: 12587
-
Chris Lattner authored
that require the asmwriter to be extended (printing implicit uses before the explicit operands) llvm-svn: 12574
-
- Feb 29, 2004
-
-
Chris Lattner authored
llvm-svn: 11984
-
- Feb 28, 2004
-
-
Alkis Evlogimenos authored
the size of the immediate and the memory operand on instructions that use them. This resolves problems with instructions that take both a memory and an immediate operand but their sizes differ (i.e. ADDmi32b). llvm-svn: 11967
-
- Feb 27, 2004
-
-
Alkis Evlogimenos authored
llvm-svn: 11921
-
- Feb 12, 2004
-
-
Chris Lattner authored
generating the llvm.memcpy intrinsic. llvm-svn: 11351
-
- Jan 30, 2004
-
-
Chris Lattner authored
llvm-svn: 11025
-
- Dec 28, 2003
-
-
Alkis Evlogimenos authored
allocation. llvm-svn: 10633
-
- Dec 20, 2003
-
-
Chris Lattner authored
llvm-svn: 10542
-
- Nov 11, 2003
-
-
Brian Gaeke authored
llvm-svn: 9903
-
- Oct 21, 2003
-
-
John Criswell authored
llvm-svn: 9321
-
- Aug 06, 2003
-
-
Chris Lattner authored
llvm-svn: 7636
-
- Aug 03, 2003
-
-
Chris Lattner authored
llvm-svn: 7540
-
- Jun 27, 2003
-
-
Brian Gaeke authored
SingleSource except oopack and Oscar. (Sorry, Oscar.) include/llvm/Target/TargetInstrInfo.h: Remove virtual print method. Add accessors for ImplicitUses/Defs. lib/Target/TargetInstrInfo.cpp: Remove virtual print method. If you really wanted this, just use MI->print(O, TM); instead... lib/Target/X86: FloatingPoint.cpp: ...like this. X86InstrInfo.h: Remove virtual print method. Define the PrintImplUses target-specific flag bit. X86InstrInfo.def: Add the PrintImplUses flag to all the instructions which implicitly use CL, because the assembler needs to see the CL in order to generate the right instruction. Printer.cpp: Ditch fnIndex at Chris's request. Now we use CurrentFnName to name constants in the constant pool for each function instead. This avoids keeping state between runOnMachineFunction() invocations, which is a no-no. Having MangledGlobals be global is a bogon I'd like to get rid of too, but making it a static member of Printer causes link errors (why???). Make NumberForBB into a member of Printer instead of a global, too. Make printOp and printMemReference into methods of Printer. X86InstrInfo::print is now Printer::printMachineInstruction, because TargetInstrInfo::print is history. (Because of this, we have to qualify the names of some TargetInstrInfo methods we call.) Print out the ImplicitUses field of any instruction we print that has the PrintImplUses bit set. llvm-svn: 6924
-
- May 24, 2003
-
-
Misha Brukman authored
llvm-svn: 6323
-
Misha Brukman authored
llvm-svn: 6320
-
- Jan 14, 2003
-
-
Chris Lattner authored
llvm-svn: 5272
-
- Jan 13, 2003
-
-
Chris Lattner authored
* Add flags for different types of FP pseudo instrs llvm-svn: 5230
-
- Dec 28, 2002
-
-
Chris Lattner authored
llvm-svn: 5184
-
- Dec 25, 2002
-
-
Chris Lattner authored
Add Pseudo instr class llvm-svn: 5152
-
- Dec 13, 2002
-
-
Chris Lattner authored
llvm-svn: 4979
-