Skip to content
  1. Oct 29, 2009
  2. Oct 28, 2009
  3. Oct 27, 2009
  4. Oct 25, 2009
  5. 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
  6. Oct 06, 2009
  7. Oct 05, 2009
  8. Oct 01, 2009
    • Devang Patel's avatar
      Use MachineInstr as an processDebugLoc() argument. · e0709cfc
      Devang Patel authored
      This will allow processDebugLoc() to handle scopes for DWARF debug info. 
      
      llvm-svn: 83183
      e0709cfc
    • Bob Wilson's avatar
      Add a new virtual EmitStartOfAsmFile method to the AsmPrinter and use this · b633d7a6
      Bob Wilson authored
      to emit target-specific things at the beginning of the asm output.  This
      fixes a problem for PPC, where the text sections are not being kept together
      as expected.  The base class doInitialization code calls DW->BeginModule()
      which emits a bunch of DWARF section directives.  The PPC doInitialization
      code then emits all the TEXT section directives, with the intention that they
      will be kept together. But as I understand it, the Darwin assembler treats
      the default TEXT section as a special case and moves it to the beginning of
      the file, which means that all those DWARF sections are in the middle of
      the text.  With this change, the EmitStartOfAsmFile hook is called before
      the DWARF section directives are emitted, so that all the PPC text section
      directives come out right at the beginning of the file.
      
      llvm-svn: 83176
      b633d7a6
  9. Sep 25, 2009
  10. Sep 19, 2009
  11. Sep 18, 2009
  12. Sep 13, 2009
  13. 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
  14. Sep 02, 2009
  15. Sep 01, 2009
    • Bruno Cardoso Lopes's avatar
      Reapply 80278 · 0f20a5b3
      Bruno Cardoso Lopes authored
      Add MO flags to simplify the printing of relocations.
      Remove the support for printing large code model relocs (which
      aren't supported anyway).
      
      llvm-svn: 80691
      0f20a5b3
  16. Aug 31, 2009
  17. Aug 27, 2009
  18. Aug 23, 2009
  19. Aug 22, 2009
  20. Aug 19, 2009
  21. Aug 13, 2009
  22. Aug 12, 2009
  23. Aug 11, 2009
Loading