- 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
-
Bill Wendling authored
llvm-svn: 134557
-
- Jul 06, 2011
-
-
Evan Cheng authored
llvm-svn: 134525
-
- Jul 02, 2011
-
-
Evan Cheng authored
llvm-svn: 134298
-
- Jul 01, 2011
-
-
Evan Cheng authored
itineraries. - Refactor TargetSubtarget to be based on MCSubtargetInfo. - Change tablegen generated subtarget info to initialize MCSubtargetInfo and hide more details from targets. llvm-svn: 134257
-
Evan Cheng authored
llvm-svn: 134240
-
Francois Pichet authored
llvm-svn: 134236
-
Rafael Espindola authored
llvm-svn: 134234
-
Evan Cheng authored
llvm-svn: 134219
-
Bill Wendling authored
llvm-svn: 134212
-
Bill Wendling authored
llvm-svn: 134209
-
Bill Wendling authored
llvm-svn: 134200
-
Bill Wendling authored
llvm-svn: 134196
-
- Jun 30, 2011
-
-
Bill Wendling authored
llvm-svn: 134194
-
Bill Wendling authored
llvm-svn: 134191
-
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
-
Bill Wendling authored
* Rough in the compact encoding part. llvm-svn: 134119
-
Bill Wendling authored
of the encoding. llvm-svn: 134117
-
Bill Wendling authored
symbols instead. llvm-svn: 134115
-
- Jun 29, 2011
-
-
Jim Grosbach authored
For example, ".byte 256" would previously assert() when emitting an object file. Now it generates a diagnostic that the literal value is out of range. rdar://9686950 llvm-svn: 134069
-
NAKAMURA Takumi authored
llvm-svn: 134055
-
Evan Cheng authored
llvm-svn: 134049
-
- Jun 25, 2011
-
-
Jim Grosbach authored
Move the target-specific RecordRelocation logic out of the generic MC MachObjectWriter and into the target-specific object writers. This allows nuking quite a bit of target knowledge from the supposedly target-independent bits in lib/MC. llvm-svn: 133844
-
- Jun 24, 2011
-
-
Jim Grosbach authored
llvm-svn: 133815
-