- Jan 19, 2010
-
-
Devang Patel authored
llvm-svn: 93864
-
Chris Lattner authored
llvm-svn: 93860
-
Chris Lattner authored
llvm-svn: 93859
-
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
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
-
Devang Patel authored
llvm-svn: 93832
-
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
-
-
Evan Cheng authored
Instcombine does this but apparently there are situations where this pattern will escape the optimizer and / or created by isel. Here is a case that's seen in JavaScriptCore: %t1 = sub i32 0, %a %t2 = add i32 %t1, -1 The dag combiner pattern: ((c1-A)+c2) -> (c1+c2)-A will fold it to -1 - %a. llvm-svn: 93773
-
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
-
Chris Lattner authored
llvm-svn: 93699
-
- 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
having to pass various fields from it in. Simplify. llvm-svn: 93686
-
Benjamin Kramer authored
llvm-svn: 93680
-
Nate Begeman authored
Add a note for the macho streamer and remove a used of the mangler from the soon to be defunct machowriter pass. llvm-svn: 93670
-
Kenneth Uildriks authored
When checking for sret-demotion, it needs to use legal types. When using the return value of an sret-demoted call, it needs to use possibly illegal types that match the declared Type of the callee. llvm-svn: 93667
-
- Jan 16, 2010
-
-
Chris Lattner authored
llvm-svn: 93664
-
Chris Lattner authored
llvm-svn: 93656
-
Chris Lattner authored
llvm-svn: 93654
-
Rafael Espindola authored
Mangler::getMangledName is used from lto Mangler::setUseQuotes is used in the AsmPrinter Mangler::setSymbolsCanStartWithDigit is used in the AsmPrinter llvm-svn: 93652
-
Chris Lattner authored
Mangler::getMangledName is now dead, remove it and all the other stuff in Mangler that is now transitively dead. woo. llvm-svn: 93648
-
Chris Lattner authored
llvm-svn: 93647
-
Chris Lattner authored
and add an explicit ForcePrivate argument. Switch FunctionEHFrameInfo to be MCSymbol based instead of string based. llvm-svn: 93646
-
Chris Lattner authored
dwarf emission which is going to be more invasive. llvm-svn: 93645
-
Devang Patel authored
No need to use WeakVH here. llvm-svn: 93631
-
Devang Patel authored
llvm-svn: 93630
-
Chris Lattner authored
llvm-svn: 93627
-
Bill Wendling authored
The CIE says that the LSDA point in the FDE section is an "sdata4". That's fine, but we need it to actually be 4-bytes in the FDE for some platforms. Allow individual platforms to decide for themselves. llvm-svn: 93616
-
Chris Lattner authored
llvm-svn: 93614
-
Chris Lattner authored
llvm-svn: 93612
-
Chris Lattner authored
llvm-svn: 93609
-
Bob Wilson authored
not during the later post-alloc tail duplication. llvm-svn: 93600
-
Bob Wilson authored
the -pre-regalloc-taildup command-line option, and add a new -disable-early-taildup option. llvm-svn: 93597
-
Chris Lattner authored
replace it. Upgrade Alpha, Blackfin, and part of CellSPU to not use mangler anymore. CellSPU needs more invasive surgery. llvm-svn: 93589
-
Chris Lattner authored
llvm-svn: 93587
-
Chris Lattner authored
llvm-svn: 93577
-
Chris Lattner authored
helper method, use it to simplify some code. llvm-svn: 93575
-
- Jan 15, 2010
-
-
Ted Kremenek authored
llvm-svn: 93571
-
Devang Patel authored
llvm-svn: 93562
-