- Jan 26, 2010
-
-
Chris Lattner authored
Default HasSetDirective to true, since most targets have it. The targets that claim to not have it probably do, or it is spelled differently. These include Blackfin, Mips, Alpha, and PIC16. All of these except pic16 are normal ELF targets, so they almost certainly have it. llvm-svn: 94585
-
Chris Lattner authored
subsumed by TargetLowering::getJumpTableEncoding(). Change uses of it to be more specific. llvm-svn: 94529
-
Chris Lattner authored
the AsmPrinter::GetMBBSymbol. llvm-svn: 94515
-
Chris Lattner authored
AsmPrinter::SetupMachineFunction sets it. Note that systemz and msp430 didn't. Yay for reduced inconsistency! :) llvm-svn: 94510
-
- Jan 25, 2010
-
-
Chris Lattner authored
llvm-svn: 94464
-
Chris Lattner authored
make it clear what it is, instead of how it is used. llvm-svn: 94448
-
Chris Lattner authored
llvm-svn: 94411
-
- Jan 24, 2010
-
-
Chris Lattner authored
llvm-svn: 94378
-
- Jan 22, 2010
-
-
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
-
- Jan 20, 2010
-
-
Chris Lattner authored
llvm-svn: 94008
-
Chris Lattner authored
stomache MCAsmInfo having this, and I found a better solution to this layering issue. llvm-svn: 93985
-
- Jan 19, 2010
-
-
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
-
Bruno Cardoso Lopes authored
in use by Mips. llvm-svn: 93897
-
Bruno Cardoso Lopes authored
the instruction to load those args removed. This fix PR6071 llvm-svn: 93880
-
Bruno Cardoso Lopes authored
llvm-svn: 93876
-
Bruno Cardoso Lopes authored
llvm-svn: 93875
-
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
just like all other elf targets. Bruno, if this isn't right, please let me know + why :) llvm-svn: 93856
-
- 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
-
- Jan 16, 2010
-
-
Chris Lattner authored
and CurrentFnName. llvm-svn: 93594
-
- Jan 05, 2010
-
-
Dan Gohman authored
clear what information these functions are actually using. This is also a micro-optimization, as passing a SDNode * around is simpler than passing a { SDNode *, int } by value or reference. llvm-svn: 92564
-
- Dec 21, 2009
-
-
Eric Christopher authored
by allowing backends to override routines that will default the JIT and Static code generation to an appropriate code model for the architecture. Should fix PR 5773. llvm-svn: 91824
-
- Dec 19, 2009
-
-
Douglas Gregor authored
llvm-svn: 91764
-
- Dec 05, 2009
-
-
Dan Gohman authored
MachineBasicBlock::canFallThrough(), which is target-independent and more thorough. llvm-svn: 90634
-
- Nov 25, 2009
-
-
Bruno Cardoso Lopes authored
llvm-svn: 89863
-
Bruno Cardoso Lopes authored
using two swc/lwc instead of sdc/ldc. llvm-svn: 89826
-
Bruno Cardoso Lopes authored
unnecessary save/restore. llvm-svn: 89823
-
Bruno Cardoso Lopes authored
llvm-svn: 89821
-
- Nov 24, 2009
-
-
Dan Gohman authored
Note that "hasDotLocAndDotFile"-style debug info was already broken; people wanting this functionality should implement it in the AsmPrinter/DwarfWriter code. llvm-svn: 89711
-
- Nov 21, 2009
-
-
Devang Patel authored
llvm-svn: 89536
-
- Nov 19, 2009
-
-
Bruno Cardoso Lopes authored
- Support mips1 like load/store of doubles: Instead of: sdc $f0, X($3) Generate: swc $f0, X($3) swc $f1, X+4($3) llvm-svn: 89322
-
Bruno Cardoso Lopes authored
llvm-svn: 89316
-
- Nov 16, 2009
-
-
Bruno Cardoso Lopes authored
llvm-svn: 88887
-
Bruno Cardoso Lopes authored
- Add a smarter constant pool loading, instead of: lui $2, %hi($CPI1_0) addiu $2, $2, %lo($CPI1_0) lwc1 $f0, 0($2) Generate: lui $2, %hi($CPI1_0) lwc1 $f0, %lo($CPI1_0)($2) llvm-svn: 88886
-
- Nov 13, 2009
-
-
David Greene authored
Move DebugInfo checks into EmitComments and remove them from target-specific AsmPrinters. Not all comments need DebugInfo. Re-enable the line numbers comment test. llvm-svn: 88697
-
Bruno Cardoso Lopes authored
because the testcase is triggering one more bug. llvm-svn: 88674
-
- Nov 12, 2009
-
-
David Greene authored
Make the MachineFunction argument of getFrameRegister const. This also fixes a build error. llvm-svn: 87027
-
David Greene authored
Add a bool flag to StackObjects telling whether they reference spill slots. The AsmPrinter will use this information to determine whether to print a spill/reload comment. Remove default argument values. It's too easy to pass a wrong argument value when multiple arguments have default values. Make everything explicit to trap bugs early. Update all targets to adhere to the new interfaces.. llvm-svn: 87022
-
Bruno Cardoso Lopes authored
llvm-svn: 86895
-
- Nov 10, 2009
-
-
Bruno Cardoso Lopes authored
llvm-svn: 86651
-