- Jun 16, 2011
-
-
Bruno Cardoso Lopes authored
llvm-svn: 133118
-
Jakob Stoklund Olesen authored
This simplifies many of the target description files since it is common for register classes to be related or contain sequences of numbered registers. I have verified that this doesn't change the files generated by TableGen for ARM and X86. It alters the allocation order of MBlaze GPR and Mips FGR32 registers, but I believe the change is benign. llvm-svn: 133105
-
- Jun 09, 2011
-
-
Jakob Stoklund Olesen authored
The register allocators automatically filter out reserved registers and place the callee saved registers last in the allocation order, so custom methods are no longer necessary just for that. Some targets still use custom allocation orders: ARM/Thumb: The high registers are removed from GPR in thumb mode. The NEON allocation orders prefer to use non-VFP2 registers first. X86: The GR8 classes omit AH-DH in x86-64 mode to avoid REX trouble. SystemZ: Some of the allocation orders are omitting R12 aliases without explanation. I don't understand this target well enough to fix that. It looks like all the boilerplate could be removed by reserving the right registers. llvm-svn: 132781
-
Eric Christopher authored
llvm-svn: 132777
-
Akira Hatanaka authored
llvm-svn: 132768
-
Eric Christopher authored
No functional change. Part of PR6965 llvm-svn: 132763
-
- Jun 08, 2011
-
-
Akira Hatanaka authored
dynamically allocated stack area was not set. llvm-svn: 132758
-
Akira Hatanaka authored
llvm-svn: 132756
-
- Jun 07, 2011
-
-
Akira Hatanaka authored
llvm-svn: 132726
-
Akira Hatanaka authored
llvm-svn: 132725
-
Akira Hatanaka authored
- Fix indentation. - Move comments. - Fit lines in 80 columns. - Remove dead code. llvm-svn: 132724
-
Akira Hatanaka authored
llvm-svn: 132718
-
Akira Hatanaka authored
llvm-svn: 132717
-
Akira Hatanaka authored
Add test case for C++ exception handling and fix the following mistakes in MipsFrameLowering::emitPrologue: - cfi directives are not inserted at the right location or in the right order. - The source MachineLocation for the cfi directive that changes the cfa register to $fp should be MachineLocation::VirtualFP. - A PROLOG_LABEL that marks the beginning of cfi_offset directives for callee-saved register is emitted even when no callee-saved registers are saved. - When a callee-saved double precision register is saved, two cfi_offset directives, one for each of the paired single precision registers, should be emitted. llvm-svn: 132703
-
- Jun 02, 2011
-
-
Akira Hatanaka authored
llvm-svn: 132448
-
Akira Hatanaka authored
llvm-svn: 132444
-
- May 31, 2011
-
-
Bruno Cardoso Lopes authored
llvm-svn: 132355
-
Bruno Cardoso Lopes authored
nand), atomic.swap and atomic.cmp.swap, all in i8, i16 and i32 versions. The intrinsics are implemented by creating pseudo-instructions, which are then expanded in the method MipsTargetLowering::EmitInstrWithCustomInserter. Patch by Sasa Stankovic. llvm-svn: 132323
-
Bruno Cardoso Lopes authored
Dynamic, Initial Exec and Local Exec TLS models. Patch by Sasa Stankovic llvm-svn: 132322
-
- May 30, 2011
-
-
Rafael Espindola authored
directives. Fixes PR9826. llvm-svn: 132317
-
- May 29, 2011
-
-
Rafael Espindola authored
and should probably be encoded as DW_OP_reg 32 DW_OP_piece 4 DW_OP_reg 33 llvm-svn: 132274
-
- May 28, 2011
-
-
Akira Hatanaka authored
in MipsRegisterInfo::getCalleeSavedRegs so that both registers paired for a double precision register get saved. llvm-svn: 132243
-
Akira Hatanaka authored
Need this to prevent emitting illegal conditional move instructions. llvm-svn: 132240
-
- May 26, 2011
-
-
Akira Hatanaka authored
a function has any function calls. llvm-svn: 132140
-
Rafael Espindola authored
llvm-svn: 132136
-
Akira Hatanaka authored
llvm-svn: 132131
-
Akira Hatanaka authored
llvm-svn: 132127
-
Akira Hatanaka authored
llvm-svn: 132098
-
- May 25, 2011
-
-
Akira Hatanaka authored
been defined in MipsInstrFPU.td. llvm-svn: 132076
-
Akira Hatanaka authored
llvm-svn: 132074
-
Akira Hatanaka authored
llvm-svn: 132070
-
Akira Hatanaka authored
return 0 if there are no function calls made. llvm-svn: 132065
-
Akira Hatanaka authored
llvm-svn: 132063
-
Akira Hatanaka authored
llvm-svn: 132030
-
- May 24, 2011
-
-
Akira Hatanaka authored
offsets that are larger than 0x10000. llvm-svn: 132003
-
Akira Hatanaka authored
deficiencies exist: - Works only if ABI is o32. - Zero-sized structures cannot be passed. - There is a lot of redundancy in generated code. llvm-svn: 131986
-
Akira Hatanaka authored
variable arguments in LowerCall and LowerFormalArguments. This should also fix the bug in which handling of variable arguments is incorrect when the front-end optimizes away unused fixed arguments. llvm-svn: 131942
-
Akira Hatanaka authored
llvm-svn: 131928
-
Akira Hatanaka authored
llvm-svn: 131927
-
- May 23, 2011
-
-
Akira Hatanaka authored
llvm-svn: 131922
-