- Jul 25, 2011
-
-
Evan Cheng authored
llvm-svn: 135974
-
Evan Cheng authored
llvm-svn: 135963
-
Evan Cheng authored
llvm-svn: 135930
-
Jim Grosbach authored
The .local, .hidden, .internal, and .protected are not legal for all supported file formats (in particular, they're invalid for MachO). Move the parsing for them into the ELF assembly parser since that's the format they're for. Similarly, .weak is used by COFF and ELF, but not MachO, so move the parsing to the COFF and ELF asm parsers. Previously, using any of these directives on Darwin would result in an assertion failure in the parser; now we get a diagnostic as we should. rdar://9827089 llvm-svn: 135921
-
Jim Grosbach authored
llvm-svn: 135917
-
- Jul 23, 2011
-
-
Evan Cheng authored
llvm-svn: 135833
-
Evan Cheng authored
llvm-svn: 135825
-
- Jul 22, 2011
-
-
Evan Cheng authored
InitializeX86MCInstrInfo, etc. are combined into InitializeX86TargetMC. llvm-svn: 135812
-
Bill Wendling authored
emitted, emit them next as CIE/FDEs. llvm-svn: 135807
-
- Jul 21, 2011
-
-
Evan Cheng authored
X86 is the only target that uses coff format. This should fixes test failures running on Windows, Cygwin, or MingW hosts. llvm-svn: 135639
-
- Jul 20, 2011
-
-
Evan Cheng authored
There is still a bit more refactoring left to do in Targets. But we are now very close to fixing all the layering issues in MC. llvm-svn: 135611
-
Benjamin Kramer authored
This should fix the spurious buildbot errors. llvm-svn: 135594
-
Evan Cheng authored
- Introduce JITDefault code model. This tells targets to set different default code model for JIT. This eliminates the ugly hack in TargetMachine where code model is changed after construction. llvm-svn: 135580
-
Evan Cheng authored
llvm-svn: 135575
-
Francois Pichet authored
llvm-svn: 135573
-
Evan Cheng authored
TargetLoweringObjectFileImpl down to MCObjectFileInfo. TargetAsmInfo is done to one last method. It's *almost* gone! llvm-svn: 135569
-
- Jul 19, 2011
-
-
Evan Cheng authored
(including compilation, assembly). Move relocation model Reloc::Model from TargetMachine to MCCodeGenInfo so it's accessible even without TargetMachine. llvm-svn: 135468
-
Bill Wendling authored
llvm-svn: 135452
-
Bill Wendling authored
llvm-svn: 135451
-
Bill Wendling authored
llvm-svn: 135449
-
Sean Callanan authored
wasn't being initialized by the enhanced disassembler, leading to assertion failures. llvm-svn: 135447
-
Evan Cheng authored
better location welcome). llvm-svn: 135438
-
- Jul 18, 2011
-
-
Evan Cheng authored
to MCRegisterInfo. Also initialize the mapping at construction time. This patch eliminate TargetRegisterInfo from TargetAsmInfo. It's another step towards fixing the layering violation. llvm-svn: 135424
-
- Jul 15, 2011
-
-
Evan Cheng authored
solution but it is a small step towards removing the horror that is TargetAsmInfo. llvm-svn: 135237
-
Bill Wendling authored
llvm-svn: 135236
-
Bill Wendling authored
llvm-svn: 135227
-
Evan Cheng authored
Rename createAsmInfo to createMCAsmInfo and move registration code to MCTargetDesc to prepare for next round of changes. llvm-svn: 135219
-
Bill Wendling authored
* The personality function should be encoded as an absolute pointer to the function. llvm-svn: 135215
-
- Jul 14, 2011
-
-
Evan Cheng authored
TargetAsmInfo, which in turn pulls in TargetRegisterInfo, etc. :-( There are other cases of violations, but this is probably the worst. This patch is but one small step towards fixing this. 500 more steps to go. :-( llvm-svn: 135131
-
- Jul 13, 2011
-
-
Jim Grosbach authored
Update the debug output interface for MCParsedAsmOperand to have a print() method which takes an output stream argument, an << operator which invokes the print method using the given stream, and a dump() method which prints the operand to the dbgs() stream. This makes the interface more consistent with the rest of LLVM, and more convenient to use at the debugger command line. llvm-svn: 135043
-
Bill Wendling authored
not the FDE llvm-svn: 135020
-
- Jul 11, 2011
-
-
Shantonu Sen authored
The enum names as well as order (i.e. value) had skewed, which means that consumers of the tablegen-ed table would see different values than intended. Make both files have a superset of enums, and add classification as needed for numMCOperands. Reviewed by Owen Anderson llvm-svn: 134905
-
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 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: 134763
-
- Jul 08, 2011
-
-
Evan Cheng authored
llvm-svn: 134721
-
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
-
-
Akira Hatanaka authored
numbers should be printed instead of symbolic register names in MCAsmStreamer::EmitRegisterName. This is necessary because some versions of GNU assembler won't accept code in which symbolic register names are used in cfi directives. There is no change in behavior unless the flag is explicitly set to true by a backend. llvm-svn: 134635
-
Evan Cheng authored
llvm-svn: 134606
-
Bill Wendling authored
llvm-svn: 134577
-