- May 17, 2012
-
-
Akira Hatanaka authored
llc to recognize MIPS16 as a MIPS ASE extension. -mips16 will mean the mips16 ASE for mips32 by default. As part of fixing of adding this we discovered some small changes that need to be made to MipsInstrInfo::storeRegToStackSLot and MipsInstrInfo::loadRegFromStackSlot. We were using some "==" equality tests where in fact we should have been using Mips::<regclas>.hasSubClassEQ instead, per suggestion of Jakob Stoklund Olesen. Patch by Reed Kotler. llvm-svn: 156958
-
- Apr 20, 2012
-
-
Craig Topper authored
Convert more uses of XXXRegisterClass to &XXXRegClass. No functional change since they are equivalent. llvm-svn: 155188
-
- Feb 28, 2012
-
-
Jia Liu authored
llvm-svn: 151625
-
- Feb 24, 2012
-
-
Akira Hatanaka authored
reserving a physical register ($gp or $28) for that purpose. This will completely eliminate loads that restore the value of $gp after every function call, if the register allocator assigns a callee-saved register, or eliminate unnecessary loads if it assigns a temporary register. example: .cpload $25 // set $gp. ... .cprestore 16 // store $gp to stack slot 16($sp). ... jalr $25 // function call. clobbers $gp. lw $gp, 16($sp) // not emitted if callee-saved reg is chosen. ... lw $2, 4($gp) ... jalr $25 // function call. lw $gp, 16($sp) // not emitted if $gp is not live after this instruction. ... llvm-svn: 151402
-
- Feb 17, 2012
-
-
Jia Liu authored
llvm-svn: 150805
-
- Feb 03, 2012
-
-
Akira Hatanaka authored
needed to emit a 64-bit gp-relative relocation entry. Make changes necessary for emitting jump tables which have entries with directive .gpdword. This patch does not implement the parts needed for direct object emission or JIT. llvm-svn: 149668
-
- Dec 24, 2011
-
-
Akira Hatanaka authored
loadRegFromStackSlot. llvm-svn: 147235
-
- Dec 19, 2011
-
-
Akira Hatanaka authored
llvm-svn: 146896
-
- Dec 12, 2011
-
-
Akira Hatanaka authored
-relocation-model=static. llvm-svn: 146432
-
- Dec 06, 2011
-
-
Bruno Cardoso Lopes authored
llvm-svn: 145912
-
- Nov 07, 2011
-
-
Akira Hatanaka authored
registers. llvm-svn: 144017
-
- Oct 11, 2011
-
-
Akira Hatanaka authored
llvm-svn: 141694
-
Akira Hatanaka authored
that have 64-bit pointers or access the 32 x 64-bit floating pointer register file. Update functions in MipsInstrInfo.cpp too. llvm-svn: 141623
-
Akira Hatanaka authored
llvm-svn: 141613
-
- Oct 08, 2011
-
-
Akira Hatanaka authored
llvm-svn: 141476
-
- Oct 03, 2011
-
-
Akira Hatanaka authored
registers. llvm-svn: 141019
-
- Sep 29, 2011
-
-
Jakob Stoklund Olesen authored
It broke the unit tests. Please reapply with tests fixed. llvm-svn: 140735
-
- Sep 28, 2011
-
-
Akira Hatanaka authored
multiclasses. llvm-svn: 140731
-
- Aug 24, 2011
-
-
Evan Cheng authored
These are strictly utilities for registering targets and components. llvm-svn: 138450
-
- Aug 16, 2011
-
-
Akira Hatanaka authored
Mips1 does not support double precision loads or stores, therefore two single precision loads or stores must be used in place of these instructions. This patch treats double precision loads and stores as if they are legal instructions until MCInstLowering, instead of generating the single precision instructions during instruction selection or Prolog/Epilog code insertion. Without the changes made in this patch, llc produces code that has the same problem described in r137484 or bails out when MipsInstrInfo::storeRegToStackSlot or loadRegFromStackSlot is called before register allocation. llvm-svn: 137711
-
- Jul 14, 2011
-
-
Evan Cheng authored
registeration and creation code into XXXMCDesc libraries. llvm-svn: 135184
-
- Jul 11, 2011
-
-
Evan Cheng authored
and MCSubtargetInfo. - Added methods to update subtarget features (used when targets automatically detect subtarget features or switch modes). - Teach X86Subtarget to update MCSubtargetInfo features bits since the MCSubtargetInfo layer can be shared with other modules. - These fixes .code 16 / .code 32 support since mode switch is updated in MCSubtargetInfo so MC code emitter can do the right thing. llvm-svn: 134884
-
- Jul 08, 2011
-
-
Akira Hatanaka authored
llvm-svn: 134661
-
- Jul 07, 2011
-
-
Akira Hatanaka authored
before the offset. This change will enable simplification of function MipsRegisterInfo::eliminateFrameIndex. llvm-svn: 134625
-
- Jul 01, 2011
-
-
Evan Cheng authored
llvm-svn: 134244
-
Akira Hatanaka authored
llvm-svn: 134224
-
- Jun 28, 2011
-
-
Evan Cheng authored
llvm-svn: 134030
-
Evan Cheng authored
llvm-svn: 134024
-
Evan Cheng authored
sink them into MC layer. - Added MCInstrInfo, which captures the tablegen generated static data. Chang TargetInstrInfo so it's based off MCInstrInfo. llvm-svn: 134021
-
- Apr 15, 2011
-
-
Akira Hatanaka authored
llvm-svn: 129612
-
Akira Hatanaka authored
Fix lines that have incorrect indentation or exceed 80 columns. There is no change in functionality. llvm-svn: 129606
-
- Apr 01, 2011
-
-
Akira Hatanaka authored
llvm-svn: 128718
-
- Mar 31, 2011
-
-
Akira Hatanaka authored
llvm-svn: 128650
-
- Mar 04, 2011
-
-
Bruno Cardoso Lopes authored
llvm-svn: 127003
-
- Jul 17, 2010
-
-
Jakob Stoklund Olesen authored
llvm-svn: 108567
-
- Jul 11, 2010
-
-
Jakob Stoklund Olesen authored
The only folding these load/store architectures can do is converting COPY into a load or store, and the target independent part of foldMemoryOperand already knows how to do that. llvm-svn: 108099
-
Jakob Stoklund Olesen authored
llvm-svn: 108066
-
Jakob Stoklund Olesen authored
llvm-svn: 108063
-
- Jun 18, 2010
-
-
Stuart Hastings authored
addresses a longstanding deficiency noted in many FIXMEs scattered across all the targets. This effectively moves the problem up one level, replacing eleven FIXMEs in the targets with eight FIXMEs in CodeGen, plus one path through FastISel where we actually supply a DebugLoc, fixing Radar 7421831. llvm-svn: 106243
-
- May 06, 2010
-
-
Dan Gohman authored
doesn't have to guess. llvm-svn: 103194
-