- Jul 28, 2009
-
-
Chris Lattner authored
it is highly specific to the object file that will be generated in the end, this introduces a new TargetLoweringObjectFile interface that is implemented for each of ELF/MachO/COFF/Alpha/PIC16 and XCore. Though still is still a brutal and ugly refactoring, this is a major step towards goodness. This patch also: 1. fixes a bunch of dangling pointer problems in the PIC16 backend. 2. disables the TargetLowering copy ctor which PIC16 was accidentally using. 3. gets us closer to xcore having its own crazy target section flags and pic16 not having to shadow sections with its own objects. 4. fixes wierdness where ELF targets would set CStringSection but not CStringSection_. Factor the code better. 5. fixes some bugs in string lowering on ELF targets. llvm-svn: 77294
-
Chris Lattner authored
llvm-svn: 77293
-
David Goodwin authored
llvm-svn: 77275
-
- Jul 27, 2009
-
-
Daniel Dunbar authored
- My DFS traversal of LLVM is, at least for now, nearly complete! :) llvm-svn: 77258
-
Chris Lattner authored
MCSections soon instead of Section for all targets, and we need something to own them. llvm-svn: 77252
-
Owen Anderson authored
llvm-svn: 77247
-
David Goodwin authored
Remove TPat. No patterns depend on just isThumb(). Must use either T1Pat (isThumb1Only()) or T2Pat (is Thumb2). llvm-svn: 77242
-
Chris Lattner authored
implementations that need it, rearrange ELFTAI. llvm-svn: 77236
-
Chris Lattner authored
llvm-svn: 77233
-
Evan Cheng authored
llvm-svn: 77231
-
Evan Cheng authored
convertToThreeAddress can't handle Thumb2 instructions (which don't have same address mode as ARM instructions). llvm-svn: 77230
-
Evan Cheng authored
llvm-svn: 77227
-
Evan Cheng authored
llvm-svn: 77222
-
Evan Cheng authored
llvm-svn: 77221
-
Evan Cheng authored
This also fixes potential problems in ARMBaseInstrInfo routines not recognizing thumb1 instructions when 32-bit and 16-bit instructions mix. llvm-svn: 77218
-
Mike Stump authored
llvm-svn: 77217
-
Sanjiv Gupta authored
Some libcall names are same, so they were getting printed twice. llvm-svn: 77215
-
Chris Lattner authored
not in mergable llvm-svn: 77210
-
Chris Lattner authored
header even though there is only one COFF target. llvm-svn: 77204
-
Chris Lattner authored
llvm-svn: 77203
-
Chris Lattner authored
llvm-svn: 77202
-
David Goodwin authored
llvm-svn: 77201
-
David Goodwin authored
llvm-svn: 77199
-
Chris Lattner authored
llvm-svn: 77198
-
Chris Lattner authored
llvm-svn: 77197
-
Chris Lattner authored
should know about them. PECoff doesn't share these, and I want all sections to be created by object-file-specific code. llvm-svn: 77196
-
Chris Lattner authored
llvm-svn: 77191
-
Chris Lattner authored
instead. llvm-svn: 77186
-
Chris Lattner authored
instead and drive things based off of that. llvm-svn: 77184
-
Evan Cheng authored
llvm-svn: 77182
-
Evan Cheng authored
llvm-svn: 77181
-
Sanjiv Gupta authored
llvm-svn: 77179
-
Sanjiv Gupta authored
fixed incorrect lowering of ISD::SUB node. SUB has only one result value. It wasn't caught during tests because we never got a sub generated, (i8 was always getting promoted to int, which in turn was broken into subc/sube). Though the optimizer leaves an i8 sub now. llvm-svn: 77178
-
Evan Cheng authored
Use the right instructions to copy between GPR and the more strictive tGPR classes. t2MOV does not match the RC requirements. llvm-svn: 77175
-
Evan Cheng authored
llvm-svn: 77174
-
Evan Cheng authored
llvm-svn: 77173
-
Evan Cheng authored
Rename tMOVhi2lor to tMOVgpr2tgpr. It's not moving from a high register to a low register. It's moving from a GPR register class to a more restrictive tGPR class. Also change tMOVlor2hir, and tMOVhir2hir. llvm-svn: 77172
-
- Jul 26, 2009
-
-
Chris Lattner authored
'unnamed' bss section, but some impls would want a named one. Since they don't have consistent behavior, just make each target do their own thing, instead of doing something "sortof common" then having targets change immutable objects later. llvm-svn: 77165
-
Evan Cheng authored
llvm-svn: 77164
-
Chris Lattner authored
llvm-svn: 77161
-