Skip to content
  1. 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
  2. Aug 08, 2009
  3. Aug 05, 2009
  4. Aug 04, 2009
  5. Aug 03, 2009
  6. Aug 02, 2009
  7. 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
  8. Jul 31, 2009
  9. Jul 29, 2009
  10. 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
  11. Jul 27, 2009
  12. Jul 26, 2009
  13. Jul 24, 2009
  14. Jul 22, 2009
    • David Greene's avatar
      · 6e2eda1c
      David Greene authored
      Put comment printing under asm-verbose.
      
      llvm-svn: 76780
      6e2eda1c
    • Chris Lattner's avatar
      remove the SelectSectionForMachineConst hook, replacing it with · b300a4f9
      Chris Lattner authored
      a new getSectionForMergableConstant hook.  This removes one dependence
      of TAI on Type, and provides the hook with enough info to make the 
      right decision based on whether the global has relocations etc.
      
      llvm-svn: 76705
      b300a4f9
  15. Jul 21, 2009
Loading