Skip to content
  1. Jul 20, 2010
  2. May 11, 2010
  3. Apr 28, 2010
  4. Apr 05, 2010
  5. Apr 04, 2010
  6. Mar 13, 2010
  7. Mar 12, 2010
  8. Feb 12, 2010
  9. Feb 03, 2010
  10. Jan 28, 2010
  11. Jan 27, 2010
  12. Jan 26, 2010
    • Chris Lattner's avatar
      Move getJTISymbol from MachineJumpTableInfo to MachineFunction, · 8a785d7a
      Chris Lattner authored
      which is more convenient, and change getPICJumpTableRelocBaseExpr
      to take a MachineFunction to match.
      
      Next, move the X86 code that create a PICBase symbol to
      X86TargetLowering::getPICBaseSymbol from 
      X86MCInstLower::GetPICBaseSymbol, which was an asmprinter specific 
      library.  This eliminates a 'gross hack', and allows us to
      implement X86ISelLowering::getPICJumpTableRelocBaseExpr which now
      calls it.
      
      This in turn allows us to eliminate the 
      X86AsmPrinter::printPICJumpTableSetLabel method, which was the
      only overload of printPICJumpTableSetLabel.
      
      llvm-svn: 94526
      8a785d7a
    • Chris Lattner's avatar
      implement X86 @GOTOFF jump table entries with the new EK_Custom32 · 4bfbe934
      Chris Lattner authored
      jump table entry kind, instead of overloading 
      AsmPrinter::printPICJumpTableEntry.
      
      This has a pretty horrible and inefficient FIXME around how @GOTOFF
      is currently smashed into the mcsymbol name, but otherwise this is
      much cleaner.
      
      llvm-svn: 94516
      4bfbe934
  13. Jan 25, 2010
  14. Jan 19, 2010
    • Chris Lattner's avatar
      Now that we have everything nicely factored (e.g. asmprinter is not · c7a062d1
      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
      c7a062d1
  15. Sep 24, 2009
  16. Sep 20, 2009
  17. Sep 18, 2009
    • Chris Lattner's avatar
      Make a new X8632_MachoTargetObjectFile TLOF implementation whose · 3a78ce3a
      Chris Lattner authored
      getSymbolForDwarfGlobalReference is smart enough to know that it 
      needs to register the stub it references with MachineModuleInfoMachO,
      so that it gets emitted at the end of the file.
      
      Move stub emission from X86ATTAsmPrinter::doFinalization to the
      new X86ATTAsmPrinter::EmitEndOfAsmFile asmprinter hook.  The important
      thing here is that EmitEndOfAsmFile is called *after* the ehframes are
      emitted, so we get all the stubs.
      
      This allows us to remove a gross hack from the asmprinter where it would
      "just know" that it needed to output stubs for personality functions.
      Now this is all driven from a consistent interface.
      
      The testcase change is just reordering the expected output now that the
      stubs come out after the ehframe instead of before.
      
      This also unblocks other changes that Bill wants to make.
      
      llvm-svn: 82269
      3a78ce3a
  18. Sep 16, 2009
  19. Sep 13, 2009
  20. Sep 12, 2009
  21. Sep 11, 2009
  22. Sep 03, 2009
Loading