Skip to content
  1. Jan 20, 2010
  2. Jan 19, 2010
    • Chris Lattner's avatar
      give MCAsmInfo a 'has little endian' bit. This is unfortunate, but · 003b5c84
      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
      003b5c84
    • 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
  3. Jan 17, 2010
  4. Jan 16, 2010
  5. Jan 05, 2010
  6. Dec 28, 2009
  7. Dec 22, 2009
  8. Dec 05, 2009
  9. Nov 24, 2009
  10. Nov 21, 2009
  11. Nov 13, 2009
    • David Greene's avatar
      · 659c1a9d
      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
      659c1a9d
  12. Nov 12, 2009
    • David Greene's avatar
      · be851acf
      David Greene authored
      Make the MachineFunction argument of getFrameRegister const.
      
      This also fixes a build error.
      
      llvm-svn: 87027
      be851acf
    • David Greene's avatar
      · 1fbe0544
      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
      1fbe0544
  13. Nov 10, 2009
  14. Nov 07, 2009
  15. Nov 05, 2009
  16. Oct 26, 2009
  17. Oct 25, 2009
  18. Oct 07, 2009
    • Jim Grosbach's avatar
      Add register-reuse to frame-index register scavenging. When a target uses · fa14dd43
      Jim Grosbach authored
      a virtual register to eliminate a frame index, it can return that register
      and the constant stored there to PEI to track. When scavenging to allocate
      for those registers, PEI then tracks the last-used register and value, and
      if it is still available and matches the value for the next index, reuses
      the existing value rather and removes the re-materialization instructions.
      Fancier tracking and adjustment of scavenger allocations to keep more
      values live for longer is possible, but not yet implemented and would likely
      be better done via a different, less special-purpose, approach to the
      problem.
      
      eliminateFrameIndex() is modified so the target implementations can return
      the registers they wish to be tracked for reuse.
      
      ARM Thumb1 implements and utilizes the new mechanism. All other targets are
      simply modified to adjust for the changed eliminateFrameIndex() prototype.
      
      llvm-svn: 83467
      fa14dd43
  19. Oct 06, 2009
  20. Oct 01, 2009
  21. Sep 30, 2009
  22. Sep 25, 2009
  23. Sep 13, 2009
  24. Sep 10, 2009
    • Chris Lattner's avatar
      remove DebugLoc from MCInst and eliminate "Comment printing" from · 321bc99a
      Chris Lattner authored
      the MCInst path of the asmprinter.  Instead, pull comment printing
      out of the autogenerated asmprinter into each target that uses the
      autogenerated asmprinter.  This causes code duplication into each
      target, but in a way that will be easier to clean up later when more
      asmprinter stuff is commonized into the base AsmPrinter class.
      
      This also fixes an xcore strangeness where it inserted two tabs
      before every instruction.
      
      llvm-svn: 81396
      321bc99a
  25. Sep 09, 2009
    • Chris Lattner's avatar
      hoist the call to processDebugLoc out of the generated · 716a8c92
      Chris Lattner authored
      asm printer into the "printInstruction" routine.  This
      fixes a problem where the experimental asmprinter would
      drop debug labels in some cases, and fixes issues on ppc/xcore
      where pseudo instructions like "mr" didn't get debug locs properly.
      
      It is annoying that this moves the call from one place into each
      target, but a future set of more invasive refactorings will fix
      that problem.
      
      llvm-svn: 81377
      716a8c92
  26. Sep 06, 2009
  27. Sep 02, 2009
  28. Aug 31, 2009
Loading