- Jun 30, 2011
-
-
Evan Cheng authored
be the first encoded as the first feature. It then uses the CPU name to look up features / scheduling itineray even though clients know full well the CPU name being used to query these properties. The fix is to just have the clients explictly pass the CPU name! llvm-svn: 134127
-
- Jun 29, 2011
-
-
Eric Christopher authored
llvm-svn: 134087
-
Eric Christopher authored
Part of rdar://9643582 llvm-svn: 134084
-
Evan Cheng authored
llvm-svn: 134049
-
- Jun 28, 2011
-
-
Evan Cheng authored
llvm-svn: 134030
-
Evan Cheng authored
llvm-svn: 134027
-
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
-
- Jun 27, 2011
-
-
Evan Cheng authored
into XXXGenRegisterInfo.inc. llvm-svn: 133922
-
- Jun 24, 2011
-
-
Akira Hatanaka authored
enables SelectionDAG::getLoad at MipsISelLowering.cpp:1914 to return a pre-existing node instead of redundantly create a new node every time it is called. llvm-svn: 133811
-
Akira Hatanaka authored
static variables or functions. llvm-svn: 133803
-
Evan Cheng authored
target machine from those that are only needed by codegen. The goal is to sink the essential target description into MC layer so we can start building MC based tools without needing to link in the entire codegen. First step is to refactor TargetRegisterInfo. This patch added a base class MCRegisterInfo which TargetRegisterInfo is derived from. Changed TableGen to separate register description from the rest of the stuff. llvm-svn: 133782
-
- Jun 21, 2011
-
-
Akira Hatanaka authored
handle functions with return type Complex long long. llvm-svn: 133497
-
Akira Hatanaka authored
llvm-svn: 133496
-
Akira Hatanaka authored
llvm-svn: 133494
-
- 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
-