Skip to content
  1. Aug 12, 2009
  2. Aug 11, 2009
  3. Aug 10, 2009
    • David Greene's avatar
      · f354b6ef
      David Greene authored
      Add support for printing loop structure information in asm comments.
      This definitely slows down asm output so put it under an -asm-exuberant
      flag.
      
      This information is useful when doing static analysis of performance
      issues.
      
      llvm-svn: 78567
      f354b6ef
  4. Aug 09, 2009
    • Chris Lattner's avatar
      1. Make MCSection an abstract class. · 1cb9396f
      Chris Lattner authored
      2. Move section switch printing to MCSection virtual method which takes a
         TAI.  This eliminates textual formatting stuff from TLOF.
      3. Eliminate SwitchToSectionDirective, getSectionFlagsAsString, and 
         TLOFELF::AtIsCommentChar.
      
      llvm-svn: 78510
      1cb9396f
  5. Aug 08, 2009
  6. Aug 05, 2009
  7. Aug 04, 2009
  8. Aug 03, 2009
  9. Aug 02, 2009
  10. Aug 01, 2009
    • Chris Lattner's avatar
      Change SectionKind to be a property that is true of a *section*, it · c9c277ba
      Chris Lattner authored
      should have no state that is specific to particular globals in the
      section.  In this case, it means the removal of the "isWeak" and
      "ExplicitSection" bits.  MCSection uses the new form of SectionKind.
      
      To handle isWeak, I introduced a new SectionInfo class, which is
      SectionKind + isWeak, and it is used by the part of the code generator
      that does classification of a specific global.
      
      The ExplicitSection disappears.  It is moved onto MCSection as a new
      "IsDirective" bit.  Since the Name of a section is either a section
      or directive, it makes sense to keep this bit in MCSection.  Ultimately
      the creator of MCSection should canonicalize (e.g.) .text to whatever
      the actual section is.
      
      llvm-svn: 77803
      c9c277ba
    • Dan Gohman's avatar
      Use setPreservesAll and setPreservesCFG in CodeGen passes. · 0402315d
      Dan Gohman authored
      llvm-svn: 77754
      0402315d
  11. Jul 31, 2009
  12. Jul 29, 2009
  13. Jul 28, 2009
    • Chris Lattner's avatar
      Rip all of the global variable lowering logic out of TargetAsmInfo. Since · 5e693ed0
      Chris Lattner authored
      it is highly specific to the object file that will be generated in the end,
      this introduces a new TargetLoweringObjectFile interface that is implemented
      for each of ELF/MachO/COFF/Alpha/PIC16 and XCore.
      
      Though still is still a brutal and ugly refactoring, this is a major step
      towards goodness.
      
      This patch also:
      1. fixes a bunch of dangling pointer problems in the PIC16 backend.
      2. disables the TargetLowering copy ctor which PIC16 was accidentally using.
      3. gets us closer to xcore having its own crazy target section flags and
         pic16 not having to shadow sections with its own objects.
      4. fixes wierdness where ELF targets would set CStringSection but not
         CStringSection_.  Factor the code better.
      5. fixes some bugs in string lowering on ELF targets.
      
      llvm-svn: 77294
      5e693ed0
  14. Jul 27, 2009
  15. Jul 26, 2009
  16. Jul 24, 2009
Loading