- Jan 19, 2010
-
-
Chris Lattner authored
.zerofill directive. Streamerize its generation. llvm-svn: 93868
-
Devang Patel authored
llvm-svn: 93864
-
Chris Lattner authored
llvm-svn: 93863
-
Chris Lattner authored
doing global variable classification anymore) and hookized, sink almost all target targets global variable emission code into AsmPrinter and out of each target. Some notes: 1. PIC16 does completely custom and crazy stuff, so it is not changed. 2. XCore has some custom handling for extra directives. I'll look at it next. 3. This switches linux/ppc to use .globl instead of .global. If .globl is actually wrong, let me know and I'll fix it. 4. This makes linux/ppc get a lot of random cases right which were obviously wrong before, it is probably now a bit healthier. 5. Blackfin will probably start getting .comm and other things that it didn't before. If this is undesirable, it should explicitly opt out of these things by clearing the relevant fields of MCAsmInfo. This leads to a nice diffstat: 14 files changed, 127 insertions(+), 830 deletions(-) llvm-svn: 93858
-
Chris Lattner authored
llvm-svn: 93857
-
Chris Lattner authored
just like all other elf targets. Bruno, if this isn't right, please let me know + why :) llvm-svn: 93856
-
Chris Lattner authored
llvm-svn: 93855
-
Chris Lattner authored
I'm not sure that this is correct, but it causes no test failures, and just emitting a .comm without protecting its linkage somehow is surely not right. llvm-svn: 93854
-
Chris Lattner authored
llvm-svn: 93853
-
Chris Lattner authored
llvm-svn: 93852
-
Chris Lattner authored
This makes a similar code dead in all the other targets, I'll clean it up in a bit. This also moves handling of lcomm up before acquisition of a section, since lcomm never needs a section. llvm-svn: 93851
-
Chris Lattner authored
darwin into common code. llvm-svn: 93849
-
Chris Lattner authored
duplicating the logic (differently) in lots of different targets. llvm-svn: 93847
-
Chris Lattner authored
and everything else (weak). llvm-svn: 93846
-
Chris Lattner authored
llvm-svn: 93845
-
Chris Lattner authored
GCC would put weak zero initialized mutable data in the .bss section, we would put it into a crasy '.gnu.linkonce.b.test,"aw",@nobits' section. Fixing this will allow simplifications next up. llvm-svn: 93844
-
Chris Lattner authored
simplify and commonize some of the asmprinter logic for globals. This also avoids printing the MCSection for .zerofill, which broke the llvm-gcc build. llvm-svn: 93843
-
Bill Wendling authored
llvm-svn: 93841
-
Chris Lattner authored
llvm-svn: 93839
-
Chris Lattner authored
1. TargetLoweringObjectFileMachO should decide if something goes in zerofill instead of having every target do it. 2. TargetLoweringObjectFileMachO should assign said symbols to the right MCSection, the asmprinters should just emit to the right section. 3. Since all zerofill stuff goes through mcstreamer anymore, MAI can have a bool "haszerofill" instead of having the textual directive to emit. llvm-svn: 93838
-
Evan Cheng authored
Fix r93758. Use isel patterns instead of c++ selection code to select rbit and make sure we pick different instructions for ARM vs. Thumb2. llvm-svn: 93829
-
Dale Johannesen authored
llvm-svn: 93818
-
Dale Johannesen authored
comments (fast isel, X86). This doesn't seem to break any functionality, but will introduce cases where -g affects the generated code. I'll be fixing that. llvm-svn: 93811
-
- Jan 18, 2010
-
-
Eli Friedman authored
llvm-svn: 93797
-
Bill Wendling authored
- Greatly improve the comments to the getLSDAEncoding method. llvm-svn: 93796
-
Eric Christopher authored
llvm-svn: 93781
-
Jim Grosbach authored
printing via <<. Otherwise we just print the pointer value. llvm-svn: 93777
-
Johnny Chen authored
the various MOV (register) instructions (16-bit Thumb), including tBRIND (the indirect branch). Instead of '1', it should be specified as '?', because GPR only specifies the register class, which includes both hi-and-lo registers. llvm-svn: 93759
-
Jim Grosbach authored
"On ARMv6T2 this turns cttz into rbit, clz instead of the 4 instruction sequence it is now." llvm-svn: 93758
-
Bill Wendling authored
llvm-svn: 93755
-
Bill Wendling authored
idea, but unfortunately necessary. - Default to using 4-bytes for the LSDA pointer encoding to agree with the encoded value in the CIE. llvm-svn: 93753
-
Bob Wilson authored
with the rest of the assembly output, is easier to read, and matches the expected output for gcc's Neon tests. llvm-svn: 93703
-
Chris Lattner authored
llvm-svn: 93702
-
Chris Lattner authored
as it emits code. Switch .globl directives to use OutStreamer instead of doing it textually (in x86) llvm-svn: 93700
-
Chris Lattner authored
llvm-svn: 93699
-
Chris Lattner authored
llvm-svn: 93698
-
- Jan 17, 2010
-
-
Chris Lattner authored
remove it and change all the code that prints MCSymbols to use << instead, which is much simpler and cleaner. llvm-svn: 93695
-
Chris Lattner authored
stop the CBE from using Mangler::appendMangledName, which is a private function, it is mangling types, which don't matter how they are done. llvm-svn: 93692
-
Chris Lattner authored
to Mangler. Now MCSymbol just decides whether to slap quotes around a symbol when printing it. This also fixes some weirdness where two MCSymbols could be created for the same symbol, if one needed to be mangled and got mangled to the other one. llvm-svn: 93690
-
Chris Lattner authored
takes a twine. llvm-svn: 93687
-