- Jan 23, 2010
-
-
Chris Lattner authored
a .section. Switch to it with SwitchSection. However, I think that this directive should be safe on any ELF target. If so, we should hoist it up out of the X86 and SystemZ targets. llvm-svn: 94298
-
Chris Lattner authored
into a new MCDirectives.h file. llvm-svn: 94294
-
Eric Christopher authored
stack may be misaligned. Update test accordingly. Patch by Evan Cheng! llvm-svn: 94291
-
Chris Lattner authored
llvm-svn: 94285
-
Ted Kremenek authored
llvm-svn: 94278
-
Sean Callanan authored
target-specific AsmLexer, and added the appropriate registration calls. llvm-svn: 94275
-
Sean Callanan authored
be static. Also made it possible for clients to get it and no other functions from ...GenAsmMatcher.inc by defining REGISTERS_ONLY before including GenAsmMatcher.inc. This sets the stage for target-specific lexers that can identify registers and return AsmToken::Register as appropriate. llvm-svn: 94266
-
Evan Cheng authored
llvm-svn: 94254
-
- Jan 22, 2010
-
-
Daniel Dunbar authored
llvm-svn: 94205
-
Chris Lattner authored
missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164
-
Evan Cheng authored
llvm-svn: 94147
-
Chris Lattner authored
llvm-svn: 94129
-
- Jan 21, 2010
-
-
Dan Gohman authored
This new version is much more aggressive about doing "full" reduction in cases where it reduces register pressure, and also more aggressive about rewriting induction variables to count down (or up) to zero when doing so reduces register pressure. It currently uses fairly simplistic algorithms for finding reuse opportunities, but it introduces a new framework allows it to combine multiple strategies at once to form hybrid solutions, instead of doing all full-reduction or all base+index. llvm-svn: 94061
-
Evan Cheng authored
Fix a minor issue in x86 load / store folding table. movups does an unaligned load so it doesn't require 16-byte alignment. llvm-svn: 94058
-
- Jan 20, 2010
-
-
Dale Johannesen authored
llvm-svn: 94032
-
David Greene authored
When XDEBUG is enabled, check for SelectionDAG cycles at some key points. This will help us find future problems like the one described in PR6019. llvm-svn: 94019
-
Chris Lattner authored
stomache MCAsmInfo having this, and I found a better solution to this layering issue. llvm-svn: 93985
-
Dale Johannesen authored
more cases where debug declarations affect debug line info. llvm-svn: 93953
-
- Jan 19, 2010
-
-
Dale Johannesen authored
line number info. llvm-svn: 93937
-
Chris Lattner authored
I really want clients of the streamer to be able to say "emit this 64-bit integer" and have it get broken down right by the streamer. I may change this in the future, we'll see how it works out. llvm-svn: 93934
-
Sean Callanan authored
the two token accessor functions are declared consistently. Modified the clients of MCAsmParser to reflect this change. llvm-svn: 93916
-
Sean Callanan authored
MCAsmParser, and changed the target-specific AsmParsers to use it. llvm-svn: 93900
-
Chris Lattner authored
identifier. There is no way to work around it. llvm-svn: 93896
-
Chris Lattner authored
which we don't support anymore. llvm-svn: 93886
-
Jim Grosbach authored
function can support dynamic stack realignment. That's a much easier question to answer at instruction selection stage than whether the function actually will have dynamic alignment prologue. This allows the removal of the stack alignment heuristic pass, and improves code quality for cases where the heuristic would result in dynamic alignment code being generated when it was not strictly necessary. llvm-svn: 93885
-
Devang Patel authored
llvm-svn: 93864
-
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: 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
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
-