- Nov 07, 2009
-
-
Jim Grosbach authored
llvm-svn: 86408
-
Evan Cheng authored
llvm-svn: 86330
-
Evan Cheng authored
except it doesn't care if the definitions' virtual registers differ. This is used by machine LICM and other MI passes to perform CSE. - Teach Thumb2InstrInfo::isIdentical() to check two t2LDRpci_pic are identical. Since pc relative constantpool entries are always different, this requires it it check if the values can actually the same. llvm-svn: 86328
-
Jim Grosbach authored
llvm-svn: 86310
-
Evan Cheng authored
load of a GV from constantpool and then add pc. It allows the code sequence to be rematerializable so it would be hoisted by machine licm. - Add a late pass to break these pseudo instructions into a number of real instructions. Also move the code in Thumb2 IT pass that breaks up t2MOVi32imm to this pass. This is done before post regalloc scheduling to allow the scheduler to proper schedule these instructions. It also allow them to be if-converted and shrunk by later passes. llvm-svn: 86304
-
- Jul 28, 2009
-
-
Evan Cheng authored
- This change also makes it possible to switch between ARM / Thumb on a per-function basis. - Fixed thumb2 routine which expand reg + arbitrary immediate. It was using using ARM so_imm logic. - Use movw and movt to do reg + imm when profitable. - Other code clean ups and minor optimizations. llvm-svn: 77300
-
- Jul 27, 2009
-
-
Evan Cheng authored
llvm-svn: 77181
-
- Jul 24, 2009
-
-
David Goodwin authored
Correctly handle the Thumb-2 imm8 addrmode. Specialize frame index elimination more exactly for Thumb-2 to get better code gen. llvm-svn: 76919
-
- Jul 23, 2009
-
-
David Goodwin authored
Fix frame index elimination to correctly handle thumb-2 addressing modes that don't allow negative offsets. During frame elimination convert *i12 opcode to a *i8 when necessary due to a negative offset. llvm-svn: 76883
-
- Jul 17, 2009
-
-
Anton Korobeynikov authored
Minor code duplication cleanup. llvm-svn: 76124
-
- Jul 09, 2009
-
-
David Goodwin authored
llvm-svn: 75067
-
- Jul 08, 2009
-
-
David Goodwin authored
Checkpoint Thumb2 Instr info work. Generalized base code so that it can be shared between ARM and Thumb2. Not yet activated because register information must be generalized first. llvm-svn: 75010
-
- Jul 03, 2009
-
-
David Goodwin authored
Checkpoint refactoring of ThumbInstrInfo and ThumbRegisterInfo into Thumb1InstrInfo, Thumb2InstrInfo, Thumb1RegisterInfo and Thumb2RegisterInfo. Move methods from ARMInstrInfo to ARMBaseInstrInfo to prepare for sharing with Thumb2. llvm-svn: 74731
-
- Jun 27, 2009
-
-
Anton Korobeynikov authored
llvm-svn: 74384
-
- Jun 26, 2009
-
-
Anton Korobeynikov authored
Step 1: ARMInstructionInfo => {ARM,Thumb}InstructionInfo llvm-svn: 74329
-
- Jan 20, 2009
-
-
Evan Cheng authored
llvm-svn: 62600
-
- Dec 03, 2008
-
-
Dan Gohman authored
parts, and add target-independent code to add/preserve MachineMemOperands. llvm-svn: 60488
-
- Nov 18, 2008
-
-
Dan Gohman authored
llvm-svn: 59542
-
- Oct 16, 2008
-
-
Dan Gohman authored
llvm-svn: 57622
-
- Aug 26, 2008
-
-
Owen Anderson authored
was inserted or not. This allows bitcast in fast isel to properly handle the case where an appropriate reg-to-reg copy is not available. llvm-svn: 55375
-
- Aug 15, 2008
-
-
Owen Anderson authored
Convert uses of std::vector in TargetInstrInfo to SmallVector. This change had to be propoagated down into all the targets and up into all clients of this API. llvm-svn: 54802
-
- May 14, 2008
-
-
Dan Gohman authored
This eliminates the need for several awkward casts, including the last dynamic_cast under lib/Target. llvm-svn: 51091
-
- Mar 25, 2008
-
-
Dan Gohman authored
llvm-svn: 48801
-
- Feb 10, 2008
-
-
Dan Gohman authored
llvm-svn: 46930
-
- Feb 08, 2008
-
-
Evan Cheng authored
It's not always safe to fold movsd into xorpd, etc. Check the alignment of the load address first to make sure it's 16 byte aligned. llvm-svn: 46893
-
- Jan 07, 2008
-
-
Owen Anderson authored
Some day I'll get it all moved over... llvm-svn: 45672
-
- Jan 01, 2008
-
-
Owen Anderson authored
llvm-svn: 45484
-
Chris Lattner authored
a header file from libcodegen. This violates a layering order: codegen depends on target, not the other way around. The fix to this is to split TII into two classes, TII and TargetInstrInfoImpl, which defines stuff that depends on libcodegen. It is defined in libcodegen, where the base is not. llvm-svn: 45475
-
- Dec 31, 2007
-
-
Owen Anderson authored
Machine-level API cleanup instigated by Chris. llvm-svn: 45470
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
- May 18, 2007
-
-
Evan Cheng authored
llvm-svn: 37193
-
- Oct 24, 2006
-
-
Chris Lattner authored
due to branchfolding llvm-svn: 31157
-
- May 24, 2006
-
-
Chris Lattner authored
by Anton Korobeynikov! This is a step towards closing PR786. llvm-svn: 28447
-
- Feb 05, 2006
-
-
Chris Lattner authored
llvm-svn: 25985
-
- Feb 04, 2006
-
-
Chris Lattner authored
1. Treat FMOVD as a copy instruction, to help with coallescing in V9 mode 2. When in V9 mode, insert FMOVD instead of FpMOVD instructions, as we don't ever rewrite FpMOVD instructions into FMOVS instructions, thus we just end up with commented out copies! This should fix a bunch of failures in V9 mode on sparc. llvm-svn: 25961
-
- Feb 03, 2006
-
-
Chris Lattner authored
llvm-svn: 25932
-
- Apr 22, 2005
-
-
Misha Brukman authored
llvm-svn: 21425
-
- Jul 25, 2004
-
-
Chris Lattner authored
llvm-svn: 15192
-
- Jul 16, 2004
-
-
Brian Gaeke authored
llvm-svn: 14883
-
- Feb 29, 2004
-
-
Chris Lattner authored
llvm-svn: 11984
-