- Jul 11, 2011
-
-
Jay Foad authored
llvm-svn: 134893
-
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 10, 2011
-
-
Jakub Staszak authored
llvm-svn: 134858
-
- Jul 09, 2011
-
-
Evan Cheng authored
CPU, and feature string. Parsing some asm directives can change subtarget state (e.g. .code 16) and it must be reflected in other modules (e.g. MCCodeEmitter). That is, the MCSubtargetInfo instance must be shared. llvm-svn: 134795
-
Evan Cheng authored
llvm-svn: 134764
-
Evan Cheng authored
llvm-svn: 134760
-
Jim Grosbach authored
llvm-svn: 134758
-
Jim Grosbach authored
llvm-svn: 134755
-
- Jul 08, 2011
-
-
Jim Grosbach authored
The normal tBX instruction is predicable, so there's no reason the pseudos for using it as a return shouldn't be. Gives us some nice code-gen improvements as can be seen by the test changes. In particular, several tests now have to disable if-conversion because it works too well and defeats the test. llvm-svn: 134746
-
Cameron Zwarich authored
is to use this for architectures that have a native FMA instruction. llvm-svn: 134742
-
Jim Grosbach authored
llvm-svn: 134739
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 134738
-
Jim Grosbach authored
No functional change. llvm-svn: 134737
-
Jim Grosbach authored
llvm-svn: 134734
-
Jim Grosbach authored
llvm-svn: 134732
-
Jim Grosbach authored
llvm-svn: 134729
-
Jim Grosbach authored
Fix a FIXME. llvm-svn: 134727
-
Evan Cheng authored
llvm-svn: 134721
-
Jim Grosbach authored
llvm-svn: 134719
-
Jim Grosbach authored
No functional change. llvm-svn: 134714
-
Jim Grosbach authored
TableGen'erated MC lowering pseudo-expansion. llvm-svn: 134712
-
Chandler Carruth authored
llvm-svn: 134707
-
Jim Grosbach authored
Hook up the TableGen lowering for simple pseudo instructions for ARM and use it for a subset of the many pseudos the backend has as proof of concept. More conversions to come. llvm-svn: 134705
-
Evan Cheng authored
- Each target asm parser now creates its own MCSubtatgetInfo (if needed). - Changed AssemblerPredicate to take subtarget features which tablegen uses to generate asm matcher subtarget feature queries. e.g. "ModeThumb,FeatureThumb2" is translated to "(Bits & ModeThumb) != 0 && (Bits & FeatureThumb2) != 0". llvm-svn: 134678
-
- Jul 07, 2011
-
-
Evan Cheng authored
llvm-svn: 134627
-
Evan Cheng authored
llvm-svn: 134626
-
Oscar Fuentes authored
llvm-svn: 134616
-
Douglas Gregor authored
llvm-svn: 134614
-
Cameron Zwarich authored
multiply-accumulate instructions with separate rounding steps. llvm-svn: 134609
-
Evan Cheng authored
llvm-svn: 134608
-
Evan Cheng authored
llvm-svn: 134606
-
Evan Cheng authored
Change some ARM subtarget features to be single bit yes/no in order to sink them down to MC layer. Also fix tests. llvm-svn: 134590
-
Evan Cheng authored
Factor ARM triple parsing out of ARMSubtarget. Another step towards making ARM subtarget info available to MC. llvm-svn: 134569
-
Evan Cheng authored
llvm-svn: 134547
-
- Jul 06, 2011
-
-
Jim Grosbach authored
This allows us to remove the (bogus and unneeded) encoding information from the pseudo-instruction class definitions. All of the pseudos that haven't been converted yet and still need encoding information instance from the normal instruction classes and explicitly set isCodeGenOnly, and so are distinct from this change. llvm-svn: 134540
-
Jim Grosbach authored
Pseudo-instructions don't have encoding information, as they're lowered to real instructions by the time we're doing binary encoding. llvm-svn: 134533
-
Evan Cheng authored
llvm-svn: 134525
-
- Jul 05, 2011
-
-
Jim Grosbach authored
If the function allocates reserved stack space for callee argument frames, estimateStackSize() needs to account for that, as it doesn't show up as ordinary frame objects. Otherwise, a callee with a large argument list will throw off the calculations for whether to allocate an emergency spill slot and we get assert() failures in the register scavenger. rdar://9715469 llvm-svn: 134415
-
- Jul 02, 2011
-
-
Evan Cheng authored
llvm-svn: 134281
-